mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Re-organize user_setup files
This commit is contained in:
parent
a918817b20
commit
310f641f38
4
.gitignore
vendored
4
.gitignore
vendored
@ -15,6 +15,7 @@ build_output/firmware/*.bin
|
|||||||
## Test result files
|
## Test result files
|
||||||
*.html
|
*.html
|
||||||
*.xml
|
*.xml
|
||||||
|
*.bin
|
||||||
|
|
||||||
## Visual Studio Code specific ######
|
## Visual Studio Code specific ######
|
||||||
.vscode
|
.vscode
|
||||||
@ -22,6 +23,3 @@ build_output/firmware/*.bin
|
|||||||
.vscode/c_cpp_properties.json
|
.vscode/c_cpp_properties.json
|
||||||
.vscode/launch.json
|
.vscode/launch.json
|
||||||
*.bak
|
*.bak
|
||||||
|
|
||||||
build_output/firmware/d1mini-lolintft24_v0.2.1111.bin
|
|
||||||
build_output/firmware/d1mini32-lolintft24_v0.2.1111.bin
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
;**************************************************************
|
;**************************************************************
|
||||||
[platformio]
|
[platformio]
|
||||||
extra_configs =
|
extra_configs =
|
||||||
lcd_config.ini
|
user_setups/lcd_config.ini
|
||||||
; -- Put active [env] files in this dir to be included in the build menu
|
; -- Put active [env] files in this dir to be included in the build menu
|
||||||
user_setups/active/*.ini
|
user_setups/active/*.ini
|
||||||
; -- Add customizations to this file only:
|
; -- Add customizations to this file only:
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
;***************************************************;
|
|
||||||
; Lilygo®Ttgo ESP32 with Lolin TFT 2.4" ;
|
|
||||||
; - T-Internet-Poe ESP32-WROOM ;
|
|
||||||
; - LAN8720A with POE ;
|
|
||||||
; - ili9341 TFT ;
|
|
||||||
; - xpt2606 touch controller ;
|
|
||||||
;***************************************************;
|
|
||||||
|
|
||||||
[env:ttgo_esp32-lolintft24]
|
|
||||||
platform = espressif32@^2.0.0
|
|
||||||
board = esp32dev
|
|
||||||
upload_protocol = espota ; Use ArduinoOTA after flashing over serial
|
|
||||||
upload_port = 10.4.70.37 ; 10.4.0.198 ; IP of the ESP
|
|
||||||
upload_flags =
|
|
||||||
--port=3232
|
|
||||||
|
|
||||||
;upload_port = COM9 ; To change the port, use platform_override.ini
|
|
||||||
monitor_port = COM9 ; To change the port, use platform_override.ini
|
|
||||||
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv ; default.csv
|
|
||||||
build_flags =
|
|
||||||
${flags.esp32_flags}
|
|
||||||
; -- TFT_eSPI build options ------------------------
|
|
||||||
${lcd.lolin24}
|
|
||||||
-D TFT_MISO=2
|
|
||||||
-D TFT_MOSI=15
|
|
||||||
-D TFT_SCLK=14
|
|
||||||
-D TFT_DC=4
|
|
||||||
-D TFT_CS=33
|
|
||||||
-D TFT_RST=12 ; RST
|
|
||||||
-D TFT_BCKL=16 ; None, configurable via web UI (e.g. 21)
|
|
||||||
-D TOUCH_CS=32 ; (can also be 22 or 16)
|
|
||||||
; -- Options ----------------------------------------
|
|
||||||
-D HASP_USE_ETHERNET=1
|
|
||||||
-D HASP_USE_WIFI=0
|
|
||||||
|
|
||||||
lib_ignore =
|
|
||||||
GxTFT
|
|
||||||
XPT2046_Touchscreen
|
|
@ -11,7 +11,7 @@ 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
|
||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
|
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
@ -9,7 +9,7 @@ platform = espressif32@^2.0.0
|
|||||||
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_app1280k_spiffs1472k.csv
|
board_build.partitions = user_setups/esp32_partition_app1280k_spiffs1472k.csv
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
@ -13,7 +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_app1280k_spiffs1472k.csv
|
board_build.partitions = user_setups/esp32_partition_app1280k_spiffs1472k.csv
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ platform = espressif32@^2.0.0
|
|||||||
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_app1280k_spiffs1472k.csv
|
board_build.partitions = user_setups/esp32_partition_app1280k_spiffs1472k.csv
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
|
@ -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 = esp32_partition_app1280k_spiffs1472k.csv
|
board_build.partitions = user_setups/esp32_partition_app1280k_spiffs1472k.csv
|
||||||
;ESP32 CAM PINS
|
;ESP32 CAM PINS
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
|
@ -12,7 +12,7 @@ platform = espressif32@^2.0.0
|
|||||||
board = lolin_d32_pro
|
board = lolin_d32_pro
|
||||||
;upload_port = COM6 ; To change the port, use platform_override.ini
|
;upload_port = COM6 ; To change the port, use platform_override.ini
|
||||||
;monitor_port = COM6 ; To change the port, use platform_override.ini
|
;monitor_port = COM6 ; To change the port, use platform_override.ini
|
||||||
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
|
board_build.partitions = user_setups/esp32_partition_app1280k_spiffs1472k.csv
|
||||||
build_flags =
|
build_flags =
|
||||||
${flags.esp32_flags}
|
${flags.esp32_flags}
|
||||||
; -- TFT_eSPI build options ------------------------
|
; -- TFT_eSPI build options ------------------------
|
||||||
|
@ -10,7 +10,7 @@ platform = espressif32@^2.0.0
|
|||||||
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_app1280k_spiffs1472k.csv
|
board_build.partitions = user_setups/esp32_partition_app1280k_spiffs1472k.csv
|
||||||
debug_tool = esp-prog
|
debug_tool = esp-prog
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user