Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIx OCD flash, Esptool v4.1, Board updates #24

Merged
merged 17 commits into from
Jul 31, 2022
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Espressif Systems is a privately held fabless semiconductor company. They provid

```ini
[env:stable]
platform = replace with url
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.4.1/platform-espressif32-2.0.4.1.zip
board = ...
...
```
Expand Down
11 changes: 2 additions & 9 deletions boards/adafruit_feather_esp32s2_tft.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"build": {
"arduino": {
"ldscript": "esp32s2_out.ld"
"ldscript": "esp32s2_out.ld",
"partitions": "partitions-4MB-tinyuf2.csv"
},
"core": "esp32",
"extra_flags": [
Expand Down Expand Up @@ -41,14 +42,6 @@
],
"name": "Adafruit Feather ESP32-S2 TFT",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_feather_esp32s2_tft/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
Expand Down
29 changes: 11 additions & 18 deletions boards/adafruit_feather_esp32s3.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"build": {
"arduino":{
"ldscript": "esp32s3_out.ld"
"ldscript": "esp32s3_out.ld",
"partitions": "partitions.csv"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S3_NOPSRAM",
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S3",
"-DARDUINO_USB_CDC_ON_BOOT=1",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1"
Expand All @@ -16,19 +17,19 @@
"hwids": [
[
"0x239A",
"0x8113"
"0x811B"
],
[
"0x239A",
"0x0113"
"0x011B"
],
[
"0x239A",
"0x8114"
"0x811C"
]
],
"mcu": "esp32s3",
"variant": "adafruit_feather_esp32s3_nopsram"
"variant": "adafruit_feather_esp32s3"
},
"connectivity": [
"wifi"
Expand All @@ -40,24 +41,16 @@
"arduino",
"espidf"
],
"name": "Adafruit Feather ESP32-S3 No PSRAM",
"name": "Adafruit Feather ESP32-S3 2MB PSRAM",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x410000",
"variants/adafruit_feather_esp32s3_nopsram/tinyuf2.bin"
]
]
},
"flash_size": "8MB",
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 8388608,
"maximum_size": 4194304,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.adafruit.com/product/5323",
"url": "https://www.adafruit.com/product/5477",
"vendor": "Adafruit"
}
63 changes: 63 additions & 0 deletions boards/adafruit_feather_esp32s3_nopsram.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"build": {
"arduino":{
"ldscript": "esp32s3_out.ld"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S3_NOPSRAM",
"-DARDUINO_USB_CDC_ON_BOOT=1",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x239A",
"0x811B"
],
[
"0x239A",
"0x011B"
],
[
"0x239A",
"0x811C"
]
],
"mcu": "esp32s3",
"variant": "adafruit_feather_esp32s3_nopsram"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Adafruit Feather ESP32-S3 No PSRAM",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_feather_esp32s3_nopsram/tinyuf2.bin"
]
]
},
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 8388608,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.adafruit.com/product/5323",
"vendor": "Adafruit"
}
64 changes: 64 additions & 0 deletions boards/adafruit_feather_esp32s3_tft.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"build": {
"arduino": {
"ldscript": "esp32s3_out.ld",
"partitions": "partitions.csv"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S3_TFT",
"-DARDUINO_USB_CDC_ON_BOOT=1",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x239A",
"0x811D"
],
[
"0x239A",
"0x011D"
],
[
"0x239A",
"0x811E"
]
],
"mcu": "esp32s3",
"variant": "adafruit_feather_esp32s3_tft"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Adafruit Feather ESP32-S3 TFT",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_feather_esp32s3_tft/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.adafruit.com/product/5483",
"vendor": "Adafruit"
}
11 changes: 2 additions & 9 deletions boards/adafruit_funhouse_esp32s2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
"ldscript": "esp32s2_out.ld",
"partitions": "partitions-4MB-tinyuf2.csv"
},
"core": "esp32",
"extra_flags": [
Expand Down Expand Up @@ -41,14 +42,6 @@
],
"name": "Adafruit FunHouse",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_funhouse_esp32s2/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
Expand Down
11 changes: 2 additions & 9 deletions boards/adafruit_magtag29_esp32s2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
"ldscript": "esp32s2_out.ld",
"partitions": "partitions-4MB-tinyuf2.csv"
},
"core": "esp32",
"extra_flags": [
Expand Down Expand Up @@ -41,14 +42,6 @@
],
"name": "Adafruit MagTag 2.9",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_magtag29_esp32s2/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
Expand Down
11 changes: 2 additions & 9 deletions boards/adafruit_metro_esp32s2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
"ldscript": "esp32s2_out.ld",
"partitions": "partitions-4MB-tinyuf2.csv"
},
"core": "esp32",
"extra_flags": [
Expand Down Expand Up @@ -41,14 +42,6 @@
],
"name": "Adafruit Metro ESP32-S2",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_metro_esp32s2/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
Expand Down
11 changes: 2 additions & 9 deletions boards/adafruit_qtpy_esp32s2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"build": {
"arduino": {
"ldscript": "esp32s2_out.ld"
"ldscript": "esp32s2_out.ld",
"partitions": "partitions-4MB-tinyuf2.csv"
},
"core": "esp32",
"extra_flags": [
Expand Down Expand Up @@ -41,14 +42,6 @@
],
"name": "Adafruit QT Py ESP32-S2",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x2d0000",
"variants/adafruit_qtpy_esp32s2/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
Expand Down
63 changes: 63 additions & 0 deletions boards/adafruit_qtpy_esp32s3_nopsram.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"build": {
"arduino": {
"ldscript": "esp32s3_out.ld"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM",
"-DARDUINO_USB_CDC_ON_BOOT=1",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x239A",
"0x8119"
],
[
"0x239A",
"0x0119"
],
[
"0x239A",
"0x811A"
]
],
"mcu": "esp32s3",
"variant": "adafruit_qtpy_esp32s3_nopsram"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Adafruit QT Py ESP32-S3 No PSRAM",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x410000",
"variants/adafruit_qtpy_esp32s3_nopsram/tinyuf2.bin"
]
]
},
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.adafruit.com/product/5426",
"vendor": "Adafruit"
}
Loading