Merge pull request #11209 from Jason2866/patch-3

Changes for ESP32-S2
This commit is contained in:
Theo Arends 2021-03-03 14:51:39 +01:00 committed by GitHub
commit b87a934e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -4,21 +4,23 @@
"ldscript": "esp32s2_out.ld" "ldscript": "esp32s2_out.ld"
}, },
"core": "esp32", "core": "esp32",
"mcu": "esp32s2",
"extra_flags": "-Desp32S2_dev_module",
"f_cpu": "240000000L", "f_cpu": "240000000L",
"f_flash": "80000000L", "f_flash": "80000000L",
"flash_mode": "qio", "flash_mode": "dio",
"mcu": "esp32s2", "mcu": "esp32s2",
"variant": "esp32s2" "variant": "esp32s2"
}, },
"connectivity": [ "connectivity": [
"wifi" "wifi"
], ],
"debug": {
"openocd_target": "esp32s2.cfg"
},
"frameworks": [ "frameworks": [
"espidf",
"arduino" "arduino"
], ],
"name": "ESP32S2 Dev Module", "name": "Espressif ESP32-S2-Saola-1",
"upload": { "upload": {
"flash_size": "4MB", "flash_size": "4MB",
"maximum_ram_size": 327680, "maximum_ram_size": 327680,
@ -26,6 +28,6 @@
"require_upload_port": true, "require_upload_port": true,
"speed": 460800 "speed": 460800
}, },
"url": "https://espressif.com", "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html",
"vendor": "espressif" "vendor": "Espressif"
} }

View File

@ -171,6 +171,7 @@ build_flags = ${common32.build_flags}
[env:tasmota32s2] [env:tasmota32s2]
extends = env:tasmota32 extends = env:tasmota32
board = esp32s2 board = esp32s2
board_build.flash_mode = qio
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/s2-1.0.5-rc6/esp32-s2-1.0.5-rc6.zip platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/s2-1.0.5-rc6/esp32-s2-1.0.5-rc6.zip
platformio/tool-mklittlefs @ ~1.203.200522 platformio/tool-mklittlefs @ ~1.203.200522
platformio/tool-esptoolpy @ ~1.30000.0 platformio/tool-esptoolpy @ ~1.30000.0