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}
|
2024-05-15 08:40:33 +01:00
|
|
|
-mtarget-align
|
2021-11-10 11:24:39 +00:00
|
|
|
-Wswitch-unreachable
|
|
|
|
-Wstringop-overflow
|
|
|
|
-Wincompatible-pointer-types
|
|
|
|
-Wnonnull-compare
|
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}
|
2022-12-17 15:24:44 +00:00
|
|
|
; comment next line to disable IPv6 support
|
|
|
|
-DUSE_IPV6
|
2024-05-15 08:40:33 +01:00
|
|
|
-mno-target-align
|
2021-11-10 11:24:39 +00:00
|
|
|
-Wno-switch-unreachable
|
|
|
|
-Wno-stringop-overflow
|
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
|
2022-01-27 15:53:39 +00:00
|
|
|
-Wl,--wrap=_Z11analogWritehi ; `analogWrite(unsigned char, int)` use the Tasmota version of analogWrite for deeper integration and phase control
|
2024-05-29 15:59:33 +01:00
|
|
|
-Wl,--wrap=ledcReadFreq ; `uint32_t ledcReadFreq(uint8_t chan)`
|
|
|
|
-Wl,--wrap=delay ; void delay(uint32_t ms)
|
2023-10-14 19:30:48 +01:00
|
|
|
lib_ignore =
|
|
|
|
HTTPUpdateServer
|
|
|
|
USB
|
|
|
|
NetBIOS
|
|
|
|
Preferences
|
|
|
|
ArduinoOTA
|
2022-01-01 16:34:35 +00:00
|
|
|
extra_scripts = pre:pio-tools/add_c_flags.py
|
2024-05-24 19:57:43 +01:00
|
|
|
pre:pio-tools/solidify-from-url.py
|
2023-02-27 16:15:19 +00:00
|
|
|
pre:pio-tools/gen-berry-structures.py
|
2022-01-02 14:14:54 +00:00
|
|
|
post:pio-tools/post_esp32.py
|
2022-01-01 16:34:35 +00:00
|
|
|
${esp_defaults.extra_scripts}
|
2024-04-15 10:39:48 +01:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2020-11-02 07:16:50 +00:00
|
|
|
|
2023-08-15 10:16:05 +01:00
|
|
|
[safeboot_flags]
|
2023-10-16 15:43:40 +01:00
|
|
|
lib_ignore = ${esp32_defaults.lib_ignore}
|
2024-10-31 21:33:40 +00:00
|
|
|
ESPmDNS
|
2024-01-23 16:44:56 +00:00
|
|
|
LinkedList
|
2023-10-16 15:43:40 +01:00
|
|
|
ESP Mail Client
|
2023-08-15 10:16:05 +01:00
|
|
|
IRremoteESP8266
|
|
|
|
NeoPixelBus
|
|
|
|
OneWire
|
2023-10-16 15:43:40 +01:00
|
|
|
EEPROM
|
|
|
|
EEPROM 24C128_256_521
|
2023-08-15 10:16:05 +01:00
|
|
|
MFRC522
|
2024-07-07 18:50:33 +01:00
|
|
|
JPEGDEC
|
2023-08-15 10:16:05 +01:00
|
|
|
universal display Library
|
|
|
|
ESP8266Audio
|
|
|
|
ESP8266SAM
|
|
|
|
FFat
|
2023-10-16 15:43:40 +01:00
|
|
|
SD
|
|
|
|
SD_MMC
|
|
|
|
UdpListener
|
2023-08-15 10:16:05 +01:00
|
|
|
Berry
|
|
|
|
Berry mapping to C
|
|
|
|
Berry Tasmota mapping
|
|
|
|
Berry int64 implementation for 32 bits architecture
|
|
|
|
Berry Matter protocol implementation
|
2024-01-23 16:51:13 +00:00
|
|
|
Berry animation library for WS2812 leds
|
2023-08-15 10:16:05 +01:00
|
|
|
Micro-RTSP
|
|
|
|
re1.5
|
|
|
|
DHT sensor library
|
|
|
|
ccronexpr
|
|
|
|
|
2020-11-02 07:16:50 +00:00
|
|
|
[core32]
|
2024-12-07 13:30:04 +00:00
|
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.12.30/platform-espressif32.zip
|
2024-04-12 13:08:32 +01:00
|
|
|
platform_packages =
|
2022-06-02 19:44:00 +01:00
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
2022-07-07 10:39:42 +01:00
|
|
|
build_flags = ${esp32_defaults.build_flags}
|