mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Prep support ESP32S2
This commit is contained in:
parent
4095835fad
commit
2fb34f866d
31
boards/esp32s2.json
Normal file
31
boards/esp32s2.json
Normal file
@ -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
|
||||
src_dir = tasmota
|
||||
lib_dir = lib/default
|
||||
boards_dir = boards
|
||||
build_cache_dir = .cache
|
||||
extra_configs = platformio_tasmota32.ini
|
||||
platformio_tasmota_env.ini
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
[platformio]
|
||||
; 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
|
||||
|
||||
; *** Build/upload environment
|
||||
default_envs =
|
||||
; *** Uncomment the line(s) below to select version(s)
|
||||
; tasmota
|
||||
tasmota
|
||||
; tasmota-debug
|
||||
; tasmota-ircustom
|
||||
; tasmota-minimal
|
||||
@ -36,7 +36,7 @@ default_envs =
|
||||
; tasmota32-ir
|
||||
; tasmota32-ircustom
|
||||
; tasmota32solo1
|
||||
tasmota32s2
|
||||
; tasmota32s2
|
||||
; tasmota32-odroidgo
|
||||
; tasmota32-core2
|
||||
|
||||
@ -176,6 +176,7 @@ build_flags = ${common32.build_flags}
|
||||
; *** EXPERIMENTAL Tasmota version for ESP32-S2
|
||||
[env:tasmota32s2]
|
||||
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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user