mirror of https://github.com/arendst/Tasmota.git
Merge pull request #10801 from Jason2866/patch-3
Platformio support for ESP32S2
This commit is contained in:
commit
e70412b9b7
|
@ -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
|
||||
|
|
|
@ -36,6 +36,7 @@ default_envs =
|
|||
; tasmota32-ir
|
||||
; tasmota32-ircustom
|
||||
; tasmota32solo1
|
||||
; tasmota32s2
|
||||
; tasmota32-odroidgo
|
||||
; tasmota32-core2
|
||||
|
||||
|
@ -172,6 +173,15 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
|
|||
build_unflags = ${esp32_defaults.build_unflags}
|
||||
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
|
||||
platformio/tool-mklittlefs @ ~1.203.200522
|
||||
platformio/tool-esptoolpy @ ~1.30000.0
|
||||
build_unflags = ${esp32_defaults.build_unflags}
|
||||
build_flags = ${common32.build_flags}
|
||||
|
||||
; *** Debug version used for PlatformIO Home Project Inspection
|
||||
[env:tasmota-debug]
|
||||
|
|
Loading…
Reference in New Issue