mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 12:46:34 +00:00
Merge pull request #9247 from Jason2866/patch-5
ESP32 Platformio changes...
This commit is contained in:
commit
59ef4a6e01
@ -13,7 +13,9 @@ src_dir = tasmota
|
|||||||
build_dir = .pioenvs
|
build_dir = .pioenvs
|
||||||
workspace_dir = .pioenvs
|
workspace_dir = .pioenvs
|
||||||
build_cache_dir = .cache
|
build_cache_dir = .cache
|
||||||
extra_configs = platformio_tasmota_env.ini
|
extra_configs = platformio_tasmota32.ini
|
||||||
|
platformio_tasmota_env.ini
|
||||||
|
platformio_tasmota_env32.ini
|
||||||
platformio_override.ini
|
platformio_override.ini
|
||||||
|
|
||||||
; *** Build/upload environment
|
; *** Build/upload environment
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
; http://docs.platformio.org/en/stable/projectconf.html
|
; http://docs.platformio.org/en/stable/projectconf.html
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
extra_configs = platformio_tasmota_env32.ini
|
extra_configs = platformio_tasmota_cenv.ini
|
||||||
platformio_tasmota_cenv.ini
|
|
||||||
|
|
||||||
; *** Build/upload environment
|
; *** Build/upload environment
|
||||||
default_envs =
|
default_envs =
|
||||||
@ -167,44 +166,3 @@ build_type = debug
|
|||||||
build_unflags = ${esp_defaults.build_unflags}
|
build_unflags = ${esp_defaults.build_unflags}
|
||||||
build_flags = ${esp82xx_defaults.build_flags}
|
build_flags = ${esp82xx_defaults.build_flags}
|
||||||
-Wstack-usage=300
|
-Wstack-usage=300
|
||||||
|
|
||||||
|
|
||||||
; *** Experimental ESP32 Tasmota version ***
|
|
||||||
; *** expect the unexpected. Many features not working!!! ***
|
|
||||||
|
|
||||||
[common32]
|
|
||||||
platform = espressif32@1.12.4
|
|
||||||
platform_packages = tool-esptoolpy@1.20800.0
|
|
||||||
board = esp32dev
|
|
||||||
board_build.ldscript = esp32_out.ld
|
|
||||||
board_build.partitions = esp32_partition_app1984k_spiffs64k.csv
|
|
||||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
|
||||||
board_build.f_flash = ${common.board_build.f_flash}
|
|
||||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
|
||||||
build_unflags = ${esp_defaults.build_unflags}
|
|
||||||
-Wpointer-arith
|
|
||||||
monitor_speed = ${common.monitor_speed}
|
|
||||||
upload_port = ${common.upload_port}
|
|
||||||
upload_resetmethod = ${common.upload_resetmethod}
|
|
||||||
upload_speed = 921600
|
|
||||||
extra_scripts = ${common.extra_scripts}
|
|
||||||
|
|
||||||
build_flags = ${esp_defaults.build_flags}
|
|
||||||
|
|
||||||
-D CORE_DEBUG_LEVEL=0
|
|
||||||
-D BUFFER_LENGTH=128
|
|
||||||
-D MQTT_MAX_PACKET_SIZE=1200
|
|
||||||
-D uint32=uint32_t
|
|
||||||
-D uint16=uint16_t
|
|
||||||
-D uint8=uint8_t
|
|
||||||
-D sint8_t=int8_t
|
|
||||||
-D sint32_t=int32_t
|
|
||||||
-D sint16_t=int16_t
|
|
||||||
-D memcpy_P=memcpy
|
|
||||||
-D memcmp_P=memcmp
|
|
||||||
|
|
||||||
lib_extra_dirs =
|
|
||||||
libesp32
|
|
||||||
|
|
||||||
lib_ignore =
|
|
||||||
cc1101
|
|
||||||
|
39
platformio_tasmota32.ini
Normal file
39
platformio_tasmota32.ini
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
; *** BETA ESP32 Tasmota version ***
|
||||||
|
; *** expect the unexpected. Some features not working!!! ***
|
||||||
|
|
||||||
|
[common32]
|
||||||
|
platform = espressif32@1.12.4
|
||||||
|
platform_packages = tool-esptoolpy@1.20800.0
|
||||||
|
board = esp32dev
|
||||||
|
board_build.ldscript = esp32_out.ld
|
||||||
|
board_build.partitions = esp32_partition_app1984k_spiffs64k.csv
|
||||||
|
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||||
|
board_build.f_flash = ${common.board_build.f_flash}
|
||||||
|
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||||
|
build_unflags = ${esp_defaults.build_unflags}
|
||||||
|
-Wpointer-arith
|
||||||
|
monitor_speed = ${common.monitor_speed}
|
||||||
|
upload_port = ${common.upload_port}
|
||||||
|
upload_resetmethod = ${common.upload_resetmethod}
|
||||||
|
upload_speed = 921600
|
||||||
|
extra_scripts = ${common.extra_scripts}
|
||||||
|
|
||||||
|
build_flags = ${esp_defaults.build_flags}
|
||||||
|
|
||||||
|
-D CORE_DEBUG_LEVEL=0
|
||||||
|
-D BUFFER_LENGTH=128
|
||||||
|
-D MQTT_MAX_PACKET_SIZE=1200
|
||||||
|
-D uint32=uint32_t
|
||||||
|
-D uint16=uint16_t
|
||||||
|
-D uint8=uint8_t
|
||||||
|
-D sint8_t=int8_t
|
||||||
|
-D sint32_t=int32_t
|
||||||
|
-D sint16_t=int16_t
|
||||||
|
-D memcpy_P=memcpy
|
||||||
|
-D memcmp_P=memcmp
|
||||||
|
|
||||||
|
lib_extra_dirs =
|
||||||
|
libesp32
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
cc1101
|
Loading…
x
Reference in New Issue
Block a user