mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Update user config
This commit is contained in:
parent
6d0904c96c
commit
bef6707218
@ -5,6 +5,22 @@
|
||||
; - xpt2046 touch controller ;
|
||||
;***************************************************;
|
||||
|
||||
; !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"
|
||||
; The pinout is different and you can NOT interchange screens from these 2 interfaces!
|
||||
|
||||
; Versions:
|
||||
; - STM32F407VET6 Black (v2.1) has 512 KB flash
|
||||
; Purchase Link: https://www.aliexpress.com/item/32618222721.html
|
||||
; https://www.aliexpress.com/item/33013274704.html
|
||||
; https://www.aliexpress.com/item/32868515918.html
|
||||
; https://www.aliexpress.com/item/1000006481553.html (! V2.0 !)
|
||||
; Documentation: https://github.com/mcauser/BLACK_F407VE
|
||||
|
||||
; - STM32F407ZGT6 Black (V3.0) has 1 MB flash (with empty PSRAM slot on the back)
|
||||
; Purchase Link:
|
||||
; Documentation: https://github.com/mcauser/BLACK_F407ZG
|
||||
|
||||
[env:STM32F407VET6_black_fsmc]
|
||||
platform = ststm32
|
||||
board = black_f407ve
|
||||
@ -12,7 +28,7 @@ board = black_f407ve
|
||||
; upload_protocol = dfu
|
||||
upload_protocol = dfu
|
||||
debug_tool = stlink
|
||||
monitor_port = COM19 ; To change the port, use platform_override.ini
|
||||
;monitor_port = COM19 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
|
@ -5,14 +5,23 @@
|
||||
; - xpt2046 touch controller ;
|
||||
;***************************************************;
|
||||
|
||||
; Purchase Link: https://www.aliexpress.com/item/32985219862.html
|
||||
; https://www.aliexpress.com/item/4000094075769.html
|
||||
; https://www.aliexpress.com/item/4000602517153.html
|
||||
; Documentation: https://github.com/mcauser/MCUDEV_DEVEBOX_F407VGT6
|
||||
|
||||
; Versions:
|
||||
; - STM32F407VET6 has 512 KB flash
|
||||
; - STM32F407VGT6 has 1 MB flash
|
||||
|
||||
[env:DevEBox_STM32F4xx]
|
||||
platform = ststm32
|
||||
board = black_f407zg
|
||||
board = black_f407vg
|
||||
board_build.mcu = stm32f407vgt6
|
||||
; upload_protocol = dfu
|
||||
upload_protocol = stlink
|
||||
debug_tool = stlink
|
||||
monitor_port = COM19 ; To change the port, use platform_override.ini
|
||||
;monitor_port = COM19 ; To change the port, use platform_override.ini
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${flags.stm32_flags}
|
||||
@ -38,7 +47,7 @@ build_flags =
|
||||
-D HASP_USE_TELNET=0
|
||||
-D HASP_USE_SPIFFS=0
|
||||
-D HASP_USE_EEPROM=1
|
||||
-D HASP_USE_GPIO=0
|
||||
-D HASP_USE_GPIO=1
|
||||
-D HASP_USE_TASMOTA_SLAVE=1
|
||||
-D HASP_OUTPUT_PIN=PA1 ; User LED D2 on DevEBox board
|
||||
-D HASP_INPUT_PIN=PA0 ; User Button K1 on DevEBox board
|
||||
|
Loading…
x
Reference in New Issue
Block a user