mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Update User Configs
This commit is contained in:
parent
ffc3ef05de
commit
14c23d79ed
@ -6,7 +6,7 @@
|
||||
;***************************************************;
|
||||
|
||||
; !Warning! Make sure to purchase a compatible screen, preferably from the same vendor
|
||||
; There are FSMC 2 interfaces: One is marked "TFT" and the other one is marked "New-TFT"
|
||||
; There are multiple FSMC interfaces: e.g. One is marked "TFT" and the other one is marked "New-TFT"
|
||||
; The pinout is different and you can NOT interchange screens from these 2 interfaces!
|
||||
|
||||
; Versions:
|
||||
@ -24,13 +24,11 @@
|
||||
[env:STM32F407VET6_black_fsmc]
|
||||
platform = ststm32
|
||||
board = black_f407ve
|
||||
;board_build.mcu = stm32f407vet6
|
||||
; upload_protocol = dfu
|
||||
upload_protocol = dfu
|
||||
debug_tool = stlink
|
||||
;monitor_port = COM19 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
-I include/stm32f4
|
||||
-I include/GxTFT/src
|
||||
|
@ -12,7 +12,6 @@ board_build.mcu = stm32f407vgt6
|
||||
upload_protocol = dfu
|
||||
monitor_port = COM7 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
-I include/stm32f4
|
||||
; -- TFT_eSPI build options ------------------------
|
||||
|
@ -12,7 +12,6 @@ board_build.mcu = stm32f407vet6
|
||||
upload_protocol = dfu
|
||||
monitor_port = COM7 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
-I include/stm32f4
|
||||
; -- TFT_eSPI build options ------------------------
|
||||
|
@ -12,7 +12,6 @@ board_build.mcu = stm32f407vgt6
|
||||
upload_protocol = dfu
|
||||
monitor_port = COM7 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
-I include/stm32f4
|
||||
-I include/espspi
|
||||
|
@ -17,13 +17,12 @@
|
||||
[env:DevEBox_STM32F4xx]
|
||||
platform = ststm32
|
||||
board = black_f407vg
|
||||
board_build.mcu = stm32f407vgt6
|
||||
board_upload.maximum_size = 1048576 ; Flash size is wrong in variant
|
||||
; upload_protocol = dfu
|
||||
upload_protocol = stlink
|
||||
debug_tool = stlink
|
||||
;monitor_port = COM19 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
-I include/stm32f4
|
||||
; -- TFT_eSPI build options ------------------------
|
||||
@ -48,7 +47,7 @@ build_flags =
|
||||
-D HASP_USE_SPIFFS=0
|
||||
-D HASP_USE_EEPROM=1
|
||||
-D HASP_USE_GPIO=1
|
||||
-D HASP_USE_TASMOTA_SLAVE=1
|
||||
-D HASP_USE_TASMOTA_SLAVE=0
|
||||
-D HASP_OUTPUT_PIN=PA1 ; User LED D2 on DevEBox board
|
||||
-D HASP_INPUT_PIN=PA0 ; User Button K1 on DevEBox board
|
||||
-D STM32_SERIAL1 ; Set this option to use Serial1 as default sersial port, leave out if using Serial2
|
||||
|
Loading…
x
Reference in New Issue
Block a user