mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Reorganize environments
This commit is contained in:
parent
941c8c90d7
commit
3d95275c83
@ -6,14 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:d1-mini-esp32_ili9341]
|
[env:d1-mini-esp32_ili9341]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
platform_packages = framework-arduinoespressif32
|
|
||||||
framework = arduino
|
|
||||||
board = wemos_d1_mini32
|
board = wemos_d1_mini32
|
||||||
;upload_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
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -5,12 +5,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:d132-unoshield]
|
[env:d132-unoshield]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
upload_port = COM4 ; To change the port, use platform_override.ini
|
|
||||||
monitor_port = COM4 ; To change the port, use platform_override.ini
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -5,19 +5,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:esp32dev-ili9488]
|
[env:esp32dev-ili9488]
|
||||||
platform = espressif32 @ ^2.0.0
|
extends = esp32
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
upload_port = COM2 ; To change the port, use platform_override.ini
|
|
||||||
monitor_port = COM2 ; To change the port, use platform_override.ini
|
|
||||||
; upload_protocol = espota ; Use ArduinoOTA after flashing over serial
|
|
||||||
; upload_port = 10.4.0.171 ; IP of the ESP
|
|
||||||
; upload_flags =
|
|
||||||
; --port=3232
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
debug_tool = esp-prog
|
|
||||||
debug_init_break = tbreak setup
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,16 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:esp32dev-mrb3511]
|
[env:esp32dev-mrb3511]
|
||||||
platform = espressif32 @ ^2.0.0
|
extends = esp32
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
upload_port = COM1 ; To change the port, use platform_override.ini
|
|
||||||
monitor_port = COM1 ; To change the port, use platform_override.ini
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
check_tool = cppcheck
|
|
||||||
check_flags = --enable=all
|
|
||||||
debug_tool = esp-prog
|
|
||||||
debug_init_break = tbreak setup
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,20 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:esp32cam-st7796]
|
[env:esp32cam-st7796]
|
||||||
platform = espressif32 @ ^2.0.0
|
extends = esp32
|
||||||
board = esp32cam
|
board = esp32cam
|
||||||
; upload_port = COM18 ; To change the port, use platform_override.ini
|
|
||||||
; monitor_port = COM18 ; To change the port, use platform_override.ini
|
|
||||||
; upload_protocol = espota ; Use ArduinoOTA after flashing over serial
|
|
||||||
; upload_port = x.x.x.x; IP of the ESP
|
|
||||||
; upload_flags =
|
|
||||||
; --port=3232
|
|
||||||
|
|
||||||
debug_tool = esp-prog
|
|
||||||
debug_init_break = tbreak setup
|
|
||||||
;board_build.partitions = min_spiffs.csv
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
;ESP32 CAM PINS
|
;ESP32 CAM PINS
|
||||||
build_flags =
|
build_flags =
|
||||||
|
@ -6,14 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:lanbon_l8]
|
[env:lanbon_l8]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
platform_packages = framework-arduinoespressif32
|
|
||||||
framework = arduino
|
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
;upload_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
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
[env:lolind32pro-lolintft24]
|
[env:lolind32pro-lolintft24]
|
||||||
extends = esp32
|
extends = esp32
|
||||||
|
board = lolin_d32_pro
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,14 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:m5stack-core2]
|
[env:m5stack-core2]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
platform_packages = framework-arduinoespressif32
|
|
||||||
framework = arduino
|
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
;upload_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
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,14 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:nodemcu32s-raspi]
|
[env:nodemcu32s-raspi]
|
||||||
platform = espressif32 @ ^2.0.0
|
extends = esp32
|
||||||
board = nodemcu-32s
|
board = nodemcu-32s
|
||||||
;upload_port = COM9 ; To change the port, use platform_override.ini
|
|
||||||
;monitor_port = COM9 ; To change the port, use platform_override.ini
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
debug_tool = esp-prog
|
|
||||||
debug_init_break = tbreak setup
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,17 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:ttgo-esp32-lilygo-pi]
|
[env:ttgo-esp32-lilygo-pi]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
board = esp32dev
|
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
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -7,17 +7,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:ttgo_esp32_poe-lolintft24]
|
[env:ttgo_esp32_poe-lolintft24]
|
||||||
platform = espressif32 @ ^2.0.0
|
extends = esp32
|
||||||
board = esp32dev
|
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
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,14 +6,8 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:wt32-sc01]
|
[env:wt32-sc01]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
platform_packages = framework-arduinoespressif32
|
|
||||||
framework = arduino
|
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
;upload_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
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
|
@ -6,15 +6,9 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:d1-mini-esp8266_ili9341]
|
[env:d1-mini-esp8266_ili9341]
|
||||||
platform = espressif8266@^2.6.2
|
extends = esp8266
|
||||||
board = d1_mini
|
board = d1_mini
|
||||||
;upload_port = COM7 ; To change the port, use platform_override.ini
|
|
||||||
;monitor_port = COM7 ; To change the port, use platform_override.ini
|
|
||||||
monitor_filters = esp8266_exception_decoder
|
|
||||||
board_build.f_flash = 40000000L
|
|
||||||
board_build.flash_mode = dout
|
|
||||||
board_build.ldscript = eagle.flash.4m2m.ld ; 2Mb Spiffs
|
|
||||||
board_build.f_cpu = 160000000L ; set frequency to 160MHz
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
${esp8266.build_flags}
|
${esp8266.build_flags}
|
||||||
|
@ -5,14 +5,9 @@
|
|||||||
;***************************************************;
|
;***************************************************;
|
||||||
|
|
||||||
[env:esp12e-st7735]
|
[env:esp12e-st7735]
|
||||||
platform = espressif8266@^2.6.2
|
extends = esp8266
|
||||||
board = esp12e
|
board = esp12e
|
||||||
upload_port = COM8 ; To change the port, use platform_override.ini
|
|
||||||
monitor_port = COM8 ; To change the port, use platform_override.ini
|
|
||||||
board_build.f_flash = 40000000L
|
|
||||||
board_build.flash_mode = dout
|
|
||||||
board_build.ldscript = eagle.flash.4m2m.ld ; 2Mb Spiffs
|
|
||||||
board_build.f_cpu = 160000000L ; set frequency to 160MHz
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
${esp8266.build_flags}
|
${esp8266.build_flags}
|
||||||
|
@ -11,7 +11,7 @@ build_flags =
|
|||||||
;-D LV_DRV_NO_CONF
|
;-D LV_DRV_NO_CONF
|
||||||
-D LV_MEM_SIZE=262144U ; 256kB lvgl memory
|
-D LV_MEM_SIZE=262144U ; 256kB lvgl memory
|
||||||
-D USE_MONITOR
|
-D USE_MONITOR
|
||||||
-D MONITOR_ZOOM=1 ; 2
|
-D MONITOR_ZOOM=1 ; can be fractional like 1.5 or 2
|
||||||
-D USE_MOUSE
|
-D USE_MOUSE
|
||||||
-D USE_MOUSEWHEEL
|
-D USE_MOUSEWHEEL
|
||||||
-D USE_KEYBOARD
|
-D USE_KEYBOARD
|
||||||
@ -71,7 +71,7 @@ build_flags =
|
|||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
lv_drivers@~7.9.0
|
;lv_drivers@~7.9.0
|
||||||
;lv_drivers=https://github.com/littlevgl/lv_drivers/archive/7d71907c1d6b02797d066f50984b866e080ebeed.zip
|
;lv_drivers=https://github.com/littlevgl/lv_drivers/archive/7d71907c1d6b02797d066f50984b866e080ebeed.zip
|
||||||
https://github.com/eclipse/paho.mqtt.c.git
|
https://github.com/eclipse/paho.mqtt.c.git
|
||||||
bblanchon/ArduinoJson@^6.17.2 ; Json(l) parser
|
bblanchon/ArduinoJson@^6.17.2 ; Json(l) parser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user