From bef67072186354ef20531b6523c68e30eea4c11e Mon Sep 17 00:00:00 2001 From: fvanroie Date: Fri, 12 Jun 2020 13:33:35 +0200 Subject: [PATCH] Update user config --- .../stm32f4xx/STM32F407VET6_black_fsmc.ini | 18 +++++++++++++++++- .../stm32f4xx/stm32f407-devebox_ili9341.ini | 15 ++++++++++++--- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/user_setups/stm32f4xx/STM32F407VET6_black_fsmc.ini b/user_setups/stm32f4xx/STM32F407VET6_black_fsmc.ini index 1aef1610..afc0221a 100644 --- a/user_setups/stm32f4xx/STM32F407VET6_black_fsmc.ini +++ b/user_setups/stm32f4xx/STM32F407VET6_black_fsmc.ini @@ -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} diff --git a/user_setups/stm32f4xx/stm32f407-devebox_ili9341.ini b/user_setups/stm32f4xx/stm32f407-devebox_ili9341.ini index 7b59af82..79280379 100644 --- a/user_setups/stm32f4xx/stm32f407-devebox_ili9341.ini +++ b/user_setups/stm32f4xx/stm32f407-devebox_ili9341.ini @@ -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