mirror of https://github.com/arendst/Tasmota.git
51 lines
3.0 KiB
INI
51 lines
3.0 KiB
INI
; *** ESP32 Tasmota version ***
|
|
|
|
[esp32_defaults]
|
|
build_unflags = ${esp_defaults.build_unflags}
|
|
-Wswitch-unreachable
|
|
-Wstringop-overflow
|
|
-Wincompatible-pointer-types
|
|
-Wnonnull-compare
|
|
-fexceptions
|
|
-Wpointer-arith
|
|
build_flags = ${esp_defaults.build_flags}
|
|
-Wno-switch-unreachable
|
|
-Wno-stringop-overflow
|
|
-fno-exceptions
|
|
-DBUFFER_LENGTH=128
|
|
-DHTTP_UPLOAD_BUFLEN=2048
|
|
-DMQTT_MAX_PACKET_SIZE=1200
|
|
-Duint32=uint32_t
|
|
-Duint16=uint16_t
|
|
-Duint8=uint8_t
|
|
-Dsint8_t=int8_t
|
|
-Dsint32_t=int32_t
|
|
-Dsint16_t=int16_t
|
|
-Dmemcpy_P=memcpy
|
|
-Dmemcmp_P=memcmp
|
|
;for TLS we can afford compiling for 4K RSA keys
|
|
-DUSE_4K_RSA
|
|
-I$PROJECT_DIR/include
|
|
-include "sdkconfig.h"
|
|
-include "esp32x_fixes.h"
|
|
; wrappers for the crash-recorder
|
|
-Wl,--wrap=panicHandler -Wl,--wrap=xt_unhandled_exception
|
|
extra_scripts = ${common.extra_scripts}
|
|
pre:pio-tools/add_c_flags.py
|
|
|
|
[core32]
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/2.0.1/framework-arduinoespressif32-release_IDF4.4.tar.gz
|
|
platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
|
|
|
|
[core32solo1]
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/2.0.1/framework-arduinoespressif32-solo1-release_IDF4.4.tar.gz
|
|
platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
build_flags = ${esp32_defaults.build_flags} |