2020-11-02 07:16:50 +00:00
|
|
|
; *** BETA ESP32 Tasmota version ***
|
|
|
|
; *** expect the unexpected. Some features not working!!! ***
|
|
|
|
|
|
|
|
[platformio]
|
|
|
|
|
|
|
|
; *** Tasmota build variant selection
|
2020-11-02 12:06:39 +00:00
|
|
|
default_envs = ${build_envs.default_envs}
|
2020-11-02 07:16:50 +00:00
|
|
|
; *** Uncomment by deleting ";" in the line(s) below to select version(s)
|
|
|
|
; tasmota32
|
2021-02-12 15:26:51 +00:00
|
|
|
; tasmota32-bluetooth
|
2020-11-02 07:16:50 +00:00
|
|
|
; tasmota32-webcam
|
2020-12-29 16:42:53 +00:00
|
|
|
; tasmota32-odroidgo
|
2021-01-20 10:40:21 +00:00
|
|
|
; tasmota32-core2
|
2020-11-02 07:16:50 +00:00
|
|
|
; tasmota32-display
|
|
|
|
; tasmota32-ir
|
|
|
|
; tasmota32-ircustom
|
2020-12-28 10:53:02 +00:00
|
|
|
; tasmota32-AF
|
2020-11-02 07:16:50 +00:00
|
|
|
; tasmota32-BG
|
|
|
|
; tasmota32-BR
|
|
|
|
; tasmota32-CN
|
|
|
|
; tasmota32-CZ
|
|
|
|
; tasmota32-DE
|
|
|
|
; tasmota32-ES
|
|
|
|
; tasmota32-FR
|
2021-02-05 19:21:55 +00:00
|
|
|
; tasmota32-FY
|
2020-11-02 07:16:50 +00:00
|
|
|
; tasmota32-GR
|
|
|
|
; tasmota32-HE
|
|
|
|
; tasmota32-HU
|
|
|
|
; tasmota32-IT
|
|
|
|
; tasmota32-KO
|
|
|
|
; tasmota32-NL
|
|
|
|
; tasmota32-PL
|
|
|
|
; tasmota32-PT
|
|
|
|
; tasmota32-RO
|
|
|
|
; tasmota32-RU
|
|
|
|
; tasmota32-SE
|
|
|
|
; tasmota32-SK
|
|
|
|
; tasmota32-TR
|
|
|
|
; tasmota32-TW
|
|
|
|
; tasmota32-UK
|
|
|
|
; tasmota32-VN
|
|
|
|
|
|
|
|
[common32]
|
2020-11-02 12:06:39 +00:00
|
|
|
platform = ${core32.platform}
|
|
|
|
platform_packages = ${core32.platform_packages}
|
|
|
|
build_unflags = ${core32.build_unflags}
|
|
|
|
build_flags = ${core32.build_flags}
|
|
|
|
board = esp32dev
|
2021-01-12 14:36:27 +00:00
|
|
|
board_build.filesystem = ${common.board_build.filesystem}
|
2021-01-15 14:16:41 +00:00
|
|
|
custom_unpack_dir = ${common.custom_unpack_dir}
|
2020-11-02 12:06:39 +00:00
|
|
|
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}
|
2021-02-13 15:50:28 +00:00
|
|
|
monitor_speed = 115200
|
2020-11-02 12:06:39 +00:00
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
|
|
|
upload_speed = 921600
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
2021-02-14 15:04:03 +00:00
|
|
|
lib_ldf_mode = ${common.lib_ldf_mode}
|
|
|
|
lib_compat_mode = ${common.lib_compat_mode}
|
2020-11-02 12:06:39 +00:00
|
|
|
shared_libdeps_dir = lib
|
|
|
|
lib_extra_dirs =
|
|
|
|
lib/libesp32
|
2021-03-11 13:48:59 +00:00
|
|
|
; uncomment the following line if you need Bluetooth, Homekit or TTGO Watch libraries in your Tasmota32 build
|
|
|
|
; lib/libesp32_div
|
2021-04-04 12:21:21 +01:00
|
|
|
; uncomment the following line if you want to use Epaper driver epidy in your Tasmota32 build
|
2021-04-04 12:46:42 +01:00
|
|
|
; lib/libesp32_epdiy
|
2020-11-02 12:06:39 +00:00
|
|
|
lib/lib_basic
|
|
|
|
lib/lib_i2c
|
|
|
|
lib/lib_display
|
|
|
|
lib/lib_ssl
|
|
|
|
lib/lib_audio
|
|
|
|
lib/lib_rf
|
|
|
|
lib/lib_div
|
2020-11-02 07:16:50 +00:00
|
|
|
|
|
|
|
[esp32_defaults]
|
2020-11-02 12:06:39 +00:00
|
|
|
build_unflags = ${esp_defaults.build_unflags}
|
|
|
|
-Wpointer-arith
|
|
|
|
build_flags = ${esp_defaults.build_flags}
|
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
|
2020-11-02 07:16:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
[core32]
|
2021-03-29 21:03:36 +01:00
|
|
|
platform = espressif32 @ 3.2.0
|
2021-03-01 11:42:42 +00:00
|
|
|
platform_packages = 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}
|