Tasmota/platformio_tasmota32.ini

105 lines
5.1 KiB
INI
Raw Normal View History

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-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
2022-01-14 22:27:15 +00:00
-fno-lto
2020-11-02 12:06:39 +00:00
-Wpointer-arith
build_flags = ${esp_defaults.build_flags}
; comment next line to disable IPv6 support
-DUSE_IPV6
2021-11-10 11:24:39 +00:00
-Wno-switch-unreachable
-Wno-stringop-overflow
2021-06-16 17:39:06 +01:00
-fno-exceptions
-flto=auto
2020-11-05 07:45:35 +00:00
-DBUFFER_LENGTH=128
-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
-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"
; wrappers for the crash-recorder
-Wl,--wrap=panicHandler -Wl,--wrap=xt_unhandled_exception
-Wl,--wrap=_Z11analogWritehi ; `analogWrite(unsigned char, int)` use the Tasmota version of analogWrite for deeper integration and phase control
2022-08-02 18:39:27 +01:00
-Wl,--wrap=ledcReadFreq ; `uint32_t ledcReadFreq(uint8_t chan)`
2023-10-14 19:30:48 +01:00
lib_ignore =
HTTPUpdateServer
USB
esp-nimble-cpp
NetBIOS
Preferences
BluetoothSerial
ArduinoOTA
ESP32-HomeKit
extra_scripts = pre:pio-tools/add_c_flags.py
pre:pio-tools/gen-berry-structures.py
post:pio-tools/post_esp32.py
${esp_defaults.extra_scripts}
2020-11-02 07:16:50 +00:00
[safeboot_flags]
lib_ignore = ${esp32_defaults.lib_ignore}
ESP Mail Client
IRremoteESP8266
NeoPixelBus
OneWire
EEPROM
EEPROM 24C128_256_521
MFRC522
universal display Library
ESP8266Audio
ESP8266SAM
FFat
SD
SD_MMC
UdpListener
Berry
Berry mapping to C
Berry Tasmota mapping
Berry int64 implementation for 32 bits architecture
Berry Matter protocol implementation
Micro-RTSP
re1.5
DHT sensor library
ccronexpr
[core32_30_flags]
build_unflags = ${core32_30.build_unflags}
build_flags = ${core32_30.build_flags}
extra_scripts = pre:pio-tools/add_c_flags_ard3.py
${esp32_defaults.extra_scripts}
lib_extra_dirs = lib/lib_ssl, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_audio, lib/lib_display, lib/lib_rf, lib/libesp32, lib/libesp32_div, lib/libesp32_lvgl
lib_ignore =
HTTPUpdateServer
USB
NetBIOS
Preferences
ArduinoOTA
NimBLE-Arduino
2020-11-02 07:16:50 +00:00
[core32]
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.01.01/platform-espressif32.zip
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}
[core32_30]
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.01.11/platform-espressif32.zip
platform_packages =
build_unflags = ${core32.build_unflags}
build_flags = ${core32.build_flags}