2021-10-20 11:11:36 +01:00
|
|
|
; *** ESP32 Tasmota version ***
|
2020-11-02 07:16:50 +00:00
|
|
|
|
|
|
|
[esp32_defaults]
|
2020-11-02 12:06:39 +00:00
|
|
|
build_unflags = ${esp_defaults.build_unflags}
|
2021-06-16 17:39:06 +01:00
|
|
|
-fexceptions
|
2020-11-02 12:06:39 +00:00
|
|
|
-Wpointer-arith
|
|
|
|
build_flags = ${esp_defaults.build_flags}
|
2021-06-16 17:39:06 +01:00
|
|
|
-fno-exceptions
|
2020-11-05 07:45:35 +00:00
|
|
|
-DBUFFER_LENGTH=128
|
2020-11-25 12:02:46 +00:00
|
|
|
-DHTTP_UPLOAD_BUFLEN=2048
|
2020-11-05 07:45:35 +00:00
|
|
|
-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
|
2020-11-25 12:02:46 +00:00
|
|
|
-Dmemcmp_P=memcmp
|
2021-01-16 15:49:37 +00:00
|
|
|
;for TLS we can afford compiling for 4K RSA keys
|
|
|
|
-DUSE_4K_RSA
|
2021-06-10 09:30:41 +01:00
|
|
|
-I$PROJECT_DIR/include
|
|
|
|
-include "sdkconfig.h"
|
2021-06-11 15:44:57 +01:00
|
|
|
-include "esp32x_fixes.h"
|
2021-09-12 11:24:09 +01:00
|
|
|
; wrappers for the crash-recorder
|
|
|
|
-Wl,--wrap=panicHandler -Wl,--wrap=xt_unhandled_exception
|
2020-11-02 07:16:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
[core32]
|
2021-08-05 13:30:24 +01:00
|
|
|
platform = espressif32 @ 3.3.1
|
2021-10-20 11:10:41 +01:00
|
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/1.0.7.5/tasmota-arduinoespressif32-release_v3.3.5.tar.gz
|
2021-06-13 17:03:04 +01:00
|
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
2020-11-02 12:06:39 +00:00
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
|
|
build_flags = ${esp32_defaults.build_flags}
|