2020-11-02 07:16:50 +00:00
|
|
|
; *** BETA ESP32 Tasmota version ***
|
|
|
|
; *** expect the unexpected. Some features not working!!! ***
|
|
|
|
|
|
|
|
[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
|
2021-04-16 10:25:49 +01:00
|
|
|
board_build.partitions = esp32_partition_app1856k_spiffs320k.csv
|
2020-11-02 12:06:39 +00:00
|
|
|
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}
|