From e2f780ed288a6220adb81418c2b1dbf08c4990df Mon Sep 17 00:00:00 2001 From: darkside9009 <51664716+darkside9009@users.noreply.github.com> Date: Wed, 13 Dec 2023 13:55:09 +0100 Subject: [PATCH] Update platformio.ini CASmo-DTU Hardware support https://casmo.info/product-details/?product=2 --- platformio.ini | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 6fcbb8828..89b5f3611 100644 --- a/platformio.ini +++ b/platformio.ini @@ -96,6 +96,18 @@ build_flags = ${env.build_flags} -DHOYMILES_PIN_CE=4 -DHOYMILES_PIN_CS=5 +[env:CASmo-DTU] +; https://casmo.info/product-details/?product=2 +board = esp32dev +build_flags = ${env.build_flags} + -DHOYMILES_PIN_MISO=19 + -DHOYMILES_PIN_MOSI=23 + -DHOYMILES_PIN_SCLK=18 + -DHOYMILES_PIN_IRQ=16 + -DHOYMILES_PIN_CE=4 + -DHOYMILES_PIN_CS=5 + -DLED0=25 + -DLED1=26 [env:olimex_esp32_poe] ; https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware @@ -239,4 +251,4 @@ build_flags = ${env.build_flags} -DCMT_GPIO3=8 -DCMT_SDIO=5 -DARDUINO_USB_MODE=1 - -DARDUINO_USB_CDC_ON_BOOT=1 \ No newline at end of file + -DARDUINO_USB_CDC_ON_BOOT=1