mirror of https://github.com/arendst/Tasmota.git
Prep support ESP32S2
This commit is contained in:
parent
4095835fad
commit
2fb34f866d
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"build": {
|
||||||
|
"arduino":{
|
||||||
|
"ldscript": "esp32s2_out.ld"
|
||||||
|
},
|
||||||
|
"core": "esp32",
|
||||||
|
"mcu": "esp32s2",
|
||||||
|
"extra_flags": "-Desp32S2_dev_module",
|
||||||
|
"f_cpu": "240000000L",
|
||||||
|
"f_flash": "80000000L",
|
||||||
|
"flash_mode": "qio",
|
||||||
|
"mcu": "esp32s2",
|
||||||
|
"variant": "esp32s2"
|
||||||
|
},
|
||||||
|
"connectivity": [
|
||||||
|
"wifi"
|
||||||
|
],
|
||||||
|
"frameworks": [
|
||||||
|
"arduino"
|
||||||
|
],
|
||||||
|
"name": "ESP32S2 Dev Module",
|
||||||
|
"upload": {
|
||||||
|
"flash_size": "4MB",
|
||||||
|
"maximum_ram_size": 327680,
|
||||||
|
"maximum_size": 4194304,
|
||||||
|
"require_upload_port": true,
|
||||||
|
"speed": 460800
|
||||||
|
},
|
||||||
|
"url": "https://espressif.com",
|
||||||
|
"vendor": "espressif"
|
||||||
|
}
|
|
@ -56,6 +56,7 @@ default_envs =
|
||||||
description = Provide ESP8266 / ESP32 based devices with Web, MQTT and OTA firmware
|
description = Provide ESP8266 / ESP32 based devices with Web, MQTT and OTA firmware
|
||||||
src_dir = tasmota
|
src_dir = tasmota
|
||||||
lib_dir = lib/default
|
lib_dir = lib/default
|
||||||
|
boards_dir = boards
|
||||||
build_cache_dir = .cache
|
build_cache_dir = .cache
|
||||||
extra_configs = platformio_tasmota32.ini
|
extra_configs = platformio_tasmota32.ini
|
||||||
platformio_tasmota_env.ini
|
platformio_tasmota_env.ini
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run
|
; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run
|
||||||
core_dir = .platformio
|
;core_dir = .platformio
|
||||||
extra_configs = platformio_tasmota_cenv.ini
|
extra_configs = platformio_tasmota_cenv.ini
|
||||||
|
|
||||||
; *** Build/upload environment
|
; *** Build/upload environment
|
||||||
default_envs =
|
default_envs =
|
||||||
; *** Uncomment the line(s) below to select version(s)
|
; *** Uncomment the line(s) below to select version(s)
|
||||||
; tasmota
|
tasmota
|
||||||
; tasmota-debug
|
; tasmota-debug
|
||||||
; tasmota-ircustom
|
; tasmota-ircustom
|
||||||
; tasmota-minimal
|
; tasmota-minimal
|
||||||
|
@ -36,7 +36,7 @@ default_envs =
|
||||||
; tasmota32-ir
|
; tasmota32-ir
|
||||||
; tasmota32-ircustom
|
; tasmota32-ircustom
|
||||||
; tasmota32solo1
|
; tasmota32solo1
|
||||||
tasmota32s2
|
; tasmota32s2
|
||||||
; tasmota32-odroidgo
|
; tasmota32-odroidgo
|
||||||
; tasmota32-core2
|
; tasmota32-core2
|
||||||
|
|
||||||
|
@ -176,6 +176,7 @@ build_flags = ${common32.build_flags}
|
||||||
; *** EXPERIMENTAL Tasmota version for ESP32-S2
|
; *** EXPERIMENTAL Tasmota version for ESP32-S2
|
||||||
[env:tasmota32s2]
|
[env:tasmota32s2]
|
||||||
extends = env:tasmota32
|
extends = env:tasmota32
|
||||||
|
board = esp32s2
|
||||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/1.0.5-rc1/esp32-s2-1.0.5-rc1.zip
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/1.0.5-rc1/esp32-s2-1.0.5-rc1.zip
|
||||||
toolchain-xtensa32 @ https://github.com/Jason2866/platform-espressif32/releases/download/8.4.0/xtensa-esp32-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz
|
toolchain-xtensa32 @ https://github.com/Jason2866/platform-espressif32/releases/download/8.4.0/xtensa-esp32-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz
|
||||||
platformio/tool-mklittlefs @ ~1.203.200522
|
platformio/tool-mklittlefs @ ~1.203.200522
|
||||||
|
|
Loading…
Reference in New Issue