feat: Update custom_ci_action and build flags in platformio.ini

This commit is contained in:
depilzma 2024-06-21 12:53:58 +02:00 committed by marco-pilz_ifm
parent 893bcced4d
commit c456ec61bd
2 changed files with 96 additions and 48 deletions

View File

@ -16,7 +16,7 @@ extra_configs =
[env]
; Make sure to NOT add any spaces in the custom_ci_action property
; (also the position in the file is important)
custom_ci_action = fusion_duo_dtu
custom_ci_action = fusion_duo_dtu,hm_duo_dtu,hm_dtu_1_3,hm_dtu_0_96
framework = arduino
platform = espressif32@6.8.1
@ -273,3 +273,51 @@ build_flags = ${env.build_flags}
-DCMT_GPIO2=35
-DCMT_GPIO3=34
-DCMT_SDIO=14
; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case --
; -- Display 1.3" --
; -- support HM Inverter --
[env:hm_duo_dtu]
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
-DDISPLAY_TYPE=3
-DDISPLAY_DATA=21
-DDISPLAY_CLK=22
;
; -- PCB "DTU-Board V1.0.1" big case --
; -- Display 1.3" --
; -- support HM Inverter --
[env:hm_dtu_1_3]
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
-DDISPLAY_TYPE=3
-DDISPLAY_DATA=21
-DDISPLAY_CLK=22
;
; -- PCB "DTU-Board V1.0.1" big case --
; -- Display 0.96" --
; -- support HM Inverter --
[env:hm_dtu_0_96]
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
-DDISPLAY_TYPE=2
-DDISPLAY_DATA=21
-DDISPLAY_CLK=22

View File

@ -44,53 +44,53 @@
; -DCMT_GPIO3=34
; -DCMT_SDIO=14
;
; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case --
; -- Display 1.3" --
; -- support HM Inverter --
[env:hm_duo_dtu]
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
-DDISPLAY_TYPE=3
-DDISPLAY_DATA=21
-DDISPLAY_CLK=22
;
; -- PCB "DTU-Board V1.0.1" big case --
; -- Display 1.3" --
; -- support HM Inverter --
[env:hm_dtu_1_3]
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
-DDISPLAY_TYPE=3
-DDISPLAY_DATA=21
-DDISPLAY_CLK=22
;
; -- PCB "DTU-Board V1.0.1" big case --
; -- Display 0.96" --
; -- support HM Inverter --
[env:hm_dtu_0_96]
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
-DDISPLAY_TYPE=2
-DDISPLAY_DATA=21
-DDISPLAY_CLK=22
; ; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case --
; ; -- Display 1.3" --
; ; -- support HM Inverter --
; [env:hm_duo_dtu]
; 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
; -DDISPLAY_TYPE=3
; -DDISPLAY_DATA=21
; -DDISPLAY_CLK=22
; ;
; ; -- PCB "DTU-Board V1.0.1" big case --
; ; -- Display 1.3" --
; ; -- support HM Inverter --
; [env:hm_dtu_1_3]
; 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
; -DDISPLAY_TYPE=3
; -DDISPLAY_DATA=21
; -DDISPLAY_CLK=22
; ;
; ; -- PCB "DTU-Board V1.0.1" big case --
; ; -- Display 0.96" --
; ; -- support HM Inverter --
; [env:hm_dtu_0_96]
; 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
; -DDISPLAY_TYPE=2
; -DDISPLAY_DATA=21
; -DDISPLAY_CLK=22
;monitor_port = /dev/ttyACM0