mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Update user_setups
This commit is contained in:
parent
7774c8d6cc
commit
34cec107c1
@ -10,7 +10,8 @@ platform = espressif32@^1.12.0
|
|||||||
board = wemos_d1_mini32
|
board = wemos_d1_mini32
|
||||||
upload_port = COM5 ; To change the port, use platform_override.ini
|
upload_port = COM5 ; To change the port, use platform_override.ini
|
||||||
monitor_port = COM5 ; To change the port, use platform_override.ini
|
monitor_port = COM5 ; To change the port, use platform_override.ini
|
||||||
board_build.partitions = default.csv
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
; -- TFT_eSPI build options ------------------------
|
; -- TFT_eSPI build options ------------------------
|
||||||
@ -21,3 +22,7 @@ build_flags =
|
|||||||
-D TFT_RST=-1 ; RST
|
-D TFT_RST=-1 ; RST
|
||||||
-D TFT_BCKL=-1 ; None, configurable via web UI (e.g. 21)
|
-D TFT_BCKL=-1 ; None, configurable via web UI (e.g. 21)
|
||||||
-D TOUCH_CS=17 ; (can also be 22 or 16)
|
-D TOUCH_CS=17 ; (can also be 22 or 16)
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -9,6 +9,7 @@ platform = espressif32
|
|||||||
board = esp32dev
|
board = esp32dev
|
||||||
upload_port = COM4 ; To change the port, use platform_override.ini
|
upload_port = COM4 ; To change the port, use platform_override.ini
|
||||||
monitor_port = COM4 ; To change the port, use platform_override.ini
|
monitor_port = COM4 ; To change the port, use platform_override.ini
|
||||||
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
@ -13,6 +13,7 @@ monitor_port = COM2 ; To change the port, use platform_override.ini
|
|||||||
; upload_port = 10.4.0.171 ; IP of the ESP
|
; upload_port = 10.4.0.171 ; IP of the ESP
|
||||||
; upload_flags =
|
; upload_flags =
|
||||||
; --port=3232
|
; --port=3232
|
||||||
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
@ -45,4 +46,6 @@ build_flags =
|
|||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
|
|
||||||
src_filter = +<*> +<../drivers/stm32f429_disco>
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -10,6 +10,7 @@ platform = espressif32
|
|||||||
board = esp32dev
|
board = esp32dev
|
||||||
upload_port = COM1 ; To change the port, use platform_override.ini
|
upload_port = COM1 ; To change the port, use platform_override.ini
|
||||||
monitor_port = COM1 ; To change the port, use platform_override.ini
|
monitor_port = COM1 ; To change the port, use platform_override.ini
|
||||||
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
@ -43,4 +44,6 @@ lib_deps =
|
|||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
https://github.com/netwizeBE/arduino-goodix.git ; GT911 touch screen driver
|
https://github.com/netwizeBE/arduino-goodix.git ; GT911 touch screen driver
|
||||||
|
|
||||||
src_filter = +<*> +<../drivers/stm32f429_disco>
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -18,7 +18,7 @@ board = esp32cam
|
|||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
;board_build.partitions = min_spiffs.csv
|
;board_build.partitions = min_spiffs.csv
|
||||||
board_build.partitions = default.csv
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
||||||
;ESP32 CAM PINS
|
;ESP32 CAM PINS
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
@ -26,6 +26,7 @@ build_flags =
|
|||||||
${lcd.raspberrypi}
|
${lcd.raspberrypi}
|
||||||
-D USE_HSPI_PORT
|
-D USE_HSPI_PORT
|
||||||
${pins.hspi32}
|
${pins.hspi32}
|
||||||
|
-DBOARD_HAS_PSRAM
|
||||||
-D TFT_CS=15
|
-D TFT_CS=15
|
||||||
-D TFT_DC=2
|
-D TFT_DC=2
|
||||||
-D TFT_RST=-1 ; 3.3v
|
-D TFT_RST=-1 ; 3.3v
|
||||||
@ -39,3 +40,6 @@ build_flags =
|
|||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -10,6 +10,7 @@ platform = espressif32
|
|||||||
board = nodemcu-32s
|
board = nodemcu-32s
|
||||||
upload_port = COM3 ; To change the port, use platform_override.ini
|
upload_port = COM3 ; To change the port, use platform_override.ini
|
||||||
monitor_port = COM3 ; To change the port, use platform_override.ini
|
monitor_port = COM3 ; To change the port, use platform_override.ini
|
||||||
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
@ -29,3 +30,7 @@ build_flags =
|
|||||||
; -- Library options -------------------------------
|
; -- Library options -------------------------------
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -26,3 +26,7 @@ build_flags =
|
|||||||
-D TFT_BCKL=-1 ;None, configurable via web UI (e.g. 2 for D4)
|
-D TFT_BCKL=-1 ;None, configurable via web UI (e.g. 2 for D4)
|
||||||
-D TOUCH_CS=0 ;D3 (can also be D1 or D2)
|
-D TOUCH_CS=0 ;D3 (can also be D1 or D2)
|
||||||
-D TFT_RST=-1 ;RST
|
-D TFT_RST=-1 ;RST
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -36,3 +36,7 @@ build_flags =
|
|||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
;Ethernet@<2.0.0
|
;Ethernet@<2.0.0
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
@ -10,7 +10,7 @@ platform = ststm32
|
|||||||
board = black_f407ve
|
board = black_f407ve
|
||||||
;board_build.mcu = stm32f407vet6
|
;board_build.mcu = stm32f407vet6
|
||||||
; upload_protocol = dfu
|
; upload_protocol = dfu
|
||||||
upload_protocol = stlink
|
upload_protocol = dfu
|
||||||
debug_tool = 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 =
|
build_flags =
|
||||||
@ -23,19 +23,29 @@ build_flags =
|
|||||||
-D ILI9341_DRIVER=1
|
-D ILI9341_DRIVER=1
|
||||||
-D TFT_WIDTH=240
|
-D TFT_WIDTH=240
|
||||||
-D TFT_HEIGHT=320
|
-D TFT_HEIGHT=320
|
||||||
-D USER_SETUP_LOADED=1
|
-D USE_FSMC ; Use the onboard FSMC TFT header
|
||||||
-D TOUCH_CS=PA6 ;NC
|
;-D USER_SETUP_LOADED=1
|
||||||
-D TFT_RST=-1 ;D4
|
;-D TOUCH_CS=PA6 ;NC
|
||||||
-D STM32
|
;-D TFT_RST=-1 ;D4
|
||||||
-D TFT_SPI3
|
;-D STM32
|
||||||
-D USE_DMA_TO_TFT
|
;-D TFT_SPI3
|
||||||
-D HASP_USE_TASMOTA_SLAVE=1
|
;-D USE_DMA_TO_TFT
|
||||||
|
-D HASP_USE_TASMOTA_SLAVE=0
|
||||||
-D HASP_OUTPUT_PIN=PA1 ; User LED D2 on DevEBox board
|
-D HASP_OUTPUT_PIN=PA1 ; User LED D2 on DevEBox board
|
||||||
-D HASP_INPUT_PIN=PA0 ; User Button K1 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
|
-D STM32_SERIAL1 ; Set this option to use Serial1 as default sersial port, leave out if using Serial2
|
||||||
-D HASP_USE_ETHERNET=1
|
-D HASP_USE_WIFI=0
|
||||||
-D USE_BUILTIN_ETHERNET=1
|
-D HASP_USE_MQTT=0
|
||||||
-D HAL_ETH_MODULE_ENABLED=1
|
-D HASP_USE_HTTP=0
|
||||||
|
-D HASP_USE_MDNS=0
|
||||||
|
-D HASP_USE_SYSLOG=0
|
||||||
|
-D HASP_USE_TELNET=0
|
||||||
|
-D HASP_USE_SPIFFS=0
|
||||||
|
-D HASP_USE_EEPROM=1
|
||||||
|
-D HASP_USE_GPIO=0
|
||||||
|
-D HASP_USE_ETHERNET=0
|
||||||
|
-D USE_BUILTIN_ETHERNET=0
|
||||||
|
-D HAL_ETH_MODULE_ENABLED=0
|
||||||
; -D LAN8742A_PHY_ADDRESS=0x01U ; moved to include\stm32f4\hal_conf_custom.h
|
; -D LAN8742A_PHY_ADDRESS=0x01U ; moved to include\stm32f4\hal_conf_custom.h
|
||||||
; -D DP83848_PHY_ADDRESS=0x01U
|
; -D DP83848_PHY_ADDRESS=0x01U
|
||||||
|
|
||||||
@ -51,4 +61,7 @@ lib_deps =
|
|||||||
;https://github.com/ZinggJM/GxTFT.git
|
;https://github.com/ZinggJM/GxTFT.git
|
||||||
XPT2046_Touchscreen
|
XPT2046_Touchscreen
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
|
@ -48,6 +48,11 @@ lib_deps =
|
|||||||
https://github.com/netwizeBE/Ethernet3.git
|
https://github.com/netwizeBE/Ethernet3.git
|
||||||
https://github.com/khoih-prog/EthernetWebServer_STM32
|
https://github.com/khoih-prog/EthernetWebServer_STM32
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
||||||
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
|
|
||||||
;***************************************************
|
;***************************************************
|
||||||
|
@ -49,4 +49,9 @@ lib_deps =
|
|||||||
https://github.com/stm32duino/STM32Ethernet.git
|
https://github.com/stm32duino/STM32Ethernet.git
|
||||||
https://github.com/khoih-prog/EthernetWebServer_STM32
|
https://github.com/khoih-prog/EthernetWebServer_STM32
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
GxTFT
|
||||||
|
XPT2046_Touchscreen
|
||||||
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user