feat: Update custom_ci_action and build flags in platformio.ini
This commit is contained in:
parent
2e836f409a
commit
91a9e89f27
@ -44,53 +44,53 @@
|
|||||||
; -DCMT_GPIO3=34
|
; -DCMT_GPIO3=34
|
||||||
; -DCMT_SDIO=14
|
; -DCMT_SDIO=14
|
||||||
;
|
;
|
||||||
; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case --
|
; ; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case --
|
||||||
; -- Display 1.3" --
|
; ; -- Display 1.3" --
|
||||||
; -- support HM Inverter --
|
; ; -- support HM Inverter --
|
||||||
[env:hm_duo_dtu]
|
; [env:hm_duo_dtu]
|
||||||
board = esp32dev
|
; board = esp32dev
|
||||||
build_flags = ${env.build_flags}
|
; build_flags = ${env.build_flags}
|
||||||
-DHOYMILES_PIN_MISO=19
|
; -DHOYMILES_PIN_MISO=19
|
||||||
-DHOYMILES_PIN_MOSI=23
|
; -DHOYMILES_PIN_MOSI=23
|
||||||
-DHOYMILES_PIN_SCLK=18
|
; -DHOYMILES_PIN_SCLK=18
|
||||||
-DHOYMILES_PIN_IRQ=16
|
; -DHOYMILES_PIN_IRQ=16
|
||||||
-DHOYMILES_PIN_CE=4
|
; -DHOYMILES_PIN_CE=4
|
||||||
-DHOYMILES_PIN_CS=5
|
; -DHOYMILES_PIN_CS=5
|
||||||
-DDISPLAY_TYPE=3
|
; -DDISPLAY_TYPE=3
|
||||||
-DDISPLAY_DATA=21
|
; -DDISPLAY_DATA=21
|
||||||
-DDISPLAY_CLK=22
|
; -DDISPLAY_CLK=22
|
||||||
;
|
; ;
|
||||||
; -- PCB "DTU-Board V1.0.1" big case --
|
; ; -- PCB "DTU-Board V1.0.1" big case --
|
||||||
; -- Display 1.3" --
|
; ; -- Display 1.3" --
|
||||||
; -- support HM Inverter --
|
; ; -- support HM Inverter --
|
||||||
[env:hm_dtu_1_3]
|
; [env:hm_dtu_1_3]
|
||||||
board = esp32dev
|
; board = esp32dev
|
||||||
build_flags = ${env.build_flags}
|
; build_flags = ${env.build_flags}
|
||||||
-DHOYMILES_PIN_MISO=19
|
; -DHOYMILES_PIN_MISO=19
|
||||||
-DHOYMILES_PIN_MOSI=23
|
; -DHOYMILES_PIN_MOSI=23
|
||||||
-DHOYMILES_PIN_SCLK=18
|
; -DHOYMILES_PIN_SCLK=18
|
||||||
-DHOYMILES_PIN_IRQ=16
|
; -DHOYMILES_PIN_IRQ=16
|
||||||
-DHOYMILES_PIN_CE=4
|
; -DHOYMILES_PIN_CE=4
|
||||||
-DHOYMILES_PIN_CS=5
|
; -DHOYMILES_PIN_CS=5
|
||||||
-DDISPLAY_TYPE=3
|
; -DDISPLAY_TYPE=3
|
||||||
-DDISPLAY_DATA=21
|
; -DDISPLAY_DATA=21
|
||||||
-DDISPLAY_CLK=22
|
; -DDISPLAY_CLK=22
|
||||||
;
|
; ;
|
||||||
; -- PCB "DTU-Board V1.0.1" big case --
|
; ; -- PCB "DTU-Board V1.0.1" big case --
|
||||||
; -- Display 0.96" --
|
; ; -- Display 0.96" --
|
||||||
; -- support HM Inverter --
|
; ; -- support HM Inverter --
|
||||||
[env:hm_dtu_0_96]
|
; [env:hm_dtu_0_96]
|
||||||
board = esp32dev
|
; board = esp32dev
|
||||||
build_flags = ${env.build_flags}
|
; build_flags = ${env.build_flags}
|
||||||
-DHOYMILES_PIN_MISO=19
|
; -DHOYMILES_PIN_MISO=19
|
||||||
-DHOYMILES_PIN_MOSI=23
|
; -DHOYMILES_PIN_MOSI=23
|
||||||
-DHOYMILES_PIN_SCLK=18
|
; -DHOYMILES_PIN_SCLK=18
|
||||||
-DHOYMILES_PIN_IRQ=16
|
; -DHOYMILES_PIN_IRQ=16
|
||||||
-DHOYMILES_PIN_CE=4
|
; -DHOYMILES_PIN_CE=4
|
||||||
-DHOYMILES_PIN_CS=5
|
; -DHOYMILES_PIN_CS=5
|
||||||
-DDISPLAY_TYPE=2
|
; -DDISPLAY_TYPE=2
|
||||||
-DDISPLAY_DATA=21
|
; -DDISPLAY_DATA=21
|
||||||
-DDISPLAY_CLK=22
|
; -DDISPLAY_CLK=22
|
||||||
|
|
||||||
|
|
||||||
;monitor_port = /dev/ttyACM0
|
;monitor_port = /dev/ttyACM0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user