Skip to content

Commit 37da3e1

Browse files
authored
Integrate upstream updates (#21)
* Update featheresp32-s2.json * Update main.py * Update platform.json * Update platform.py * Integrate upstream develop changes * Update platform.json * Update platform.py * Integrate upstream 2 * Update esp32-s2-franzininho.json * Update _embed_files.py * Update main.py * Update platform.json * Update platform.py * updates 21.04.2022 (#15) * Tasmota/dev apple * Update platform.json * Update platform.py * Update README.md * Update OCD Apple Silicon to build from 20220424 * esptool.py v3.3 now in registry * Add CMSIS-DAP as available debug probe * Use GetBuildType for detecting debug mode * rm Python2 add C3 exception decoder * remove fix firmware address 0x10000 * Apple arm toolchains for IDF * Arduino framework based on IDF4.4.1 * Use Tasmota release versions * Compile IDF bootloader with optimizations by default By default the size of bootloader is limited to 0x2000 bytes, in debug mode the footprint can be easily grow beyond this limit * Update examples.yml * esptool.py v3.3.1 * Update platform.py * add `_get_board_boot_mode` * esptool.py v4.0.1 * Improve support for assembly programming * Add compatibility with PIO Core 6.0 * Update platform.py * Update examples.yml * Explicitly exit from build process when there is default IDF component * revert Use empty ASM and CXX flags if config empty * Update main.py * Update platform.py * "platformio": "^6" * Update _bare.py * Update platform.py * Delete compat.py * Platformio core 6.0.2 since Tasmota uses ino folder feature, which is introduced with 6.0.2 * Add misso * Esptool v4.1 * really Esptool v4.1 * Boards update * add framework espidf to all boards * Update espidf.py * Update platform.py * Update platform.py
1 parent d387624 commit 37da3e1

33 files changed

+1114
-97
lines changed

boards/adafruit_feather_esp32_v2.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44
"ldscript": "esp32_out.ld"
55
},
66
"core": "esp32",
7-
"extra_flags": "-DADAFRUIT_FEATHER_ESP32_V2 -DBOARD_HAS_PSRAM",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_FEATHER_ESP32_V2",
9+
"-DBOARD_HAS_PSRAM",
10+
"-mfix-esp32-psram-cache-issue",
11+
"-mfix-esp32-psram-cache-strategy=memw"
12+
],
813
"f_cpu": "240000000L",
9-
"f_flash": "80000000L",
10-
"flash_mode": "qio",
14+
"f_flash": "40000000L",
15+
"flash_mode": "dio",
1116
"mcu": "esp32",
1217
"variant": "adafruit_feather_esp32_v2"
1318
},
@@ -30,7 +35,7 @@
3035
"maximum_ram_size": 327680,
3136
"maximum_size": 8388608,
3237
"require_upload_port": true,
33-
"speed": 921600
38+
"speed": 460800
3439
},
3540
"url": "https://www.adafruit.com/product/5400",
3641
"vendor": "Adafruit"
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "esp32s2_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S2_TFT",
9+
"-DBOARD_HAS_PSRAM",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1"
11+
],
12+
"f_cpu": "240000000L",
13+
"f_flash": "80000000L",
14+
"flash_mode": "qio",
15+
"hwids": [
16+
[
17+
"0x239A",
18+
"0x810F"
19+
],
20+
[
21+
"0x239A",
22+
"0x010F"
23+
],
24+
[
25+
"0x239A",
26+
"0x8110"
27+
]
28+
],
29+
"mcu": "esp32s2",
30+
"variant": "adafruit_feather_esp32s2_tft"
31+
},
32+
"connectivity": [
33+
"wifi"
34+
],
35+
"debug": {
36+
"openocd_target": "esp32s2.cfg"
37+
},
38+
"frameworks": [
39+
"arduino",
40+
"espidf"
41+
],
42+
"name": "Adafruit Feather ESP32-S2 TFT",
43+
"upload": {
44+
"arduino": {
45+
"flash_extra_images": [
46+
[
47+
"0x2d0000",
48+
"variants/adafruit_feather_esp32s2_tft/tinyuf2.bin"
49+
]
50+
]
51+
},
52+
"flash_size": "4MB",
53+
"maximum_ram_size": 327680,
54+
"maximum_size": 4194304,
55+
"use_1200bps_touch": true,
56+
"wait_for_upload_port": true,
57+
"require_upload_port": true,
58+
"speed": 460800
59+
},
60+
"url": "https://www.adafruit.com/product/5300",
61+
"vendor": "Adafruit"
62+
}

boards/adafruit_feather_esp32s3.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32s3_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_FEATHER_ESP32S3_NOPSRAM",
9+
"-DARDUINO_USB_CDC_ON_BOOT=1",
10+
"-DARDUINO_RUNNING_CORE=1",
11+
"-DARDUINO_EVENT_RUNNING_CORE=1"
12+
],
13+
"f_cpu": "240000000L",
14+
"f_flash": "80000000L",
15+
"flash_mode": "qio",
16+
"hwids": [
17+
[
18+
"0x239A",
19+
"0x8113"
20+
],
21+
[
22+
"0x239A",
23+
"0x0113"
24+
],
25+
[
26+
"0x239A",
27+
"0x8114"
28+
]
29+
],
30+
"mcu": "esp32s3",
31+
"variant": "adafruit_feather_esp32s3_nopsram"
32+
},
33+
"connectivity": [
34+
"wifi"
35+
],
36+
"debug": {
37+
"openocd_target": "esp32s3.cfg"
38+
},
39+
"frameworks": [
40+
"arduino",
41+
"espidf"
42+
],
43+
"name": "Adafruit Feather ESP32-S3 No PSRAM",
44+
"upload": {
45+
"arduino": {
46+
"flash_extra_images": [
47+
[
48+
"0x410000",
49+
"variants/adafruit_feather_esp32s3_nopsram/tinyuf2.bin"
50+
]
51+
]
52+
},
53+
"flash_size": "4MB",
54+
"maximum_ram_size": 327680,
55+
"maximum_size": 4194304,
56+
"use_1200bps_touch": true,
57+
"wait_for_upload_port": true,
58+
"require_upload_port": true,
59+
"speed": 460800
60+
},
61+
"url": "https://www.adafruit.com/product/5323",
62+
"vendor": "Adafruit"
63+
}

boards/adafruit_magtag29_esp32s2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"hwids": [
1616
[
1717
"0x239A",
18-
"0x80DF"
18+
"0x80E5"
1919
],
2020
[
2121
"0x239A",
22-
"0x00DF"
22+
"0x00E5"
2323
],
2424
[
2525
"0x239A",
26-
"0x80E0"
26+
"0x80E6"
2727
]
2828
],
2929
"mcu": "esp32s2",

boards/adafruit_qtpy_esp32.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_QTPY_ESP32_PICO",
9+
"-DBOARD_HAS_PSRAM",
10+
"-mfix-esp32-psram-cache-issue",
11+
"-mfix-esp32-psram-cache-strategy=memw"
12+
],
13+
"f_cpu": "240000000L",
14+
"f_flash": "40000000L",
15+
"flash_mode": "dio",
16+
"mcu": "esp32",
17+
"variant": "adafruit_qtpy_esp32"
18+
},
19+
"connectivity": [
20+
"wifi",
21+
"bluetooth",
22+
"ethernet",
23+
"can"
24+
],
25+
"debug": {
26+
"openocd_board": "esp-wroom-32.cfg"
27+
},
28+
"frameworks": [
29+
"arduino",
30+
"espidf"
31+
],
32+
"name": "Adafruit QT Py ESP32",
33+
"upload": {
34+
"flash_size": "8MB",
35+
"maximum_ram_size": 327680,
36+
"maximum_size": 8388608,
37+
"require_upload_port": true,
38+
"speed": 460800
39+
},
40+
"url": "https://www.adafruit.com/product/5395",
41+
"vendor": "Adafruit"
42+
}

boards/adafruit_qtpy_esp32c3.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32c3_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_QTPY_ESP32C3",
9+
"-DARDUINO_USB_MODE=1",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1"
11+
],
12+
"f_cpu": "160000000L",
13+
"f_flash": "80000000L",
14+
"flash_mode": "dout",
15+
"hwids": [
16+
[
17+
"0X303A",
18+
"0x1001"
19+
]
20+
],
21+
"mcu": "esp32c3",
22+
"variant": "adafruit_qtpy_esp32c3"
23+
},
24+
"connectivity": [
25+
"wifi"
26+
],
27+
"debug": {
28+
"openocd_target": "esp32c3.cfg"
29+
},
30+
"frameworks": [
31+
"arduino",
32+
"espidf"
33+
],
34+
"name": "Adafruit QT Py ESP32-C3",
35+
"upload": {
36+
"flash_size": "4MB",
37+
"maximum_ram_size": 327680,
38+
"maximum_size": 4194304,
39+
"require_upload_port": true,
40+
"speed": 460800
41+
},
42+
"url": "https://www.adafruit.com/product/5405",
43+
"vendor": "Adafruit"
44+
}

boards/adafruit_qtpy_esp32s2.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "esp32s2_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_QTPY_ESP32S2",
9+
"-DBOARD_HAS_PSRAM",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1"
11+
],
12+
"f_cpu": "240000000L",
13+
"f_flash": "80000000L",
14+
"flash_mode": "qio",
15+
"hwids": [
16+
[
17+
"0x239A",
18+
"0x8111"
19+
],
20+
[
21+
"0x239A",
22+
"0x0111"
23+
],
24+
[
25+
"0x239A",
26+
"0x8112"
27+
]
28+
],
29+
"mcu": "esp32s2",
30+
"variant": "adafruit_qtpy_esp32s2"
31+
},
32+
"connectivity": [
33+
"wifi"
34+
],
35+
"debug": {
36+
"openocd_target": "esp32s2.cfg"
37+
},
38+
"frameworks": [
39+
"arduino",
40+
"espidf"
41+
],
42+
"name": "Adafruit QT Py ESP32-S2",
43+
"upload": {
44+
"arduino": {
45+
"flash_extra_images": [
46+
[
47+
"0x2d0000",
48+
"variants/adafruit_qtpy_esp32s2/tinyuf2.bin"
49+
]
50+
]
51+
},
52+
"flash_size": "4MB",
53+
"maximum_ram_size": 327680,
54+
"maximum_size": 4194304,
55+
"use_1200bps_touch": true,
56+
"wait_for_upload_port": true,
57+
"require_upload_port": true,
58+
"speed": 460800
59+
},
60+
"url": "https://www.adafruit.com/product/5325",
61+
"vendor": "Adafruit"
62+
}

boards/adafruit_qtpy_esp32s3.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32s3_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM",
9+
"-DARDUINO_USB_CDC_ON_BOOT=1",
10+
"-DARDUINO_RUNNING_CORE=1",
11+
"-DARDUINO_EVENT_RUNNING_CORE=1"
12+
],
13+
"f_cpu": "240000000L",
14+
"f_flash": "80000000L",
15+
"flash_mode": "qio",
16+
"hwids": [
17+
[
18+
"0x239A",
19+
"0x8119"
20+
],
21+
[
22+
"0x239A",
23+
"0x0119"
24+
],
25+
[
26+
"0x239A",
27+
"0x811A"
28+
]
29+
],
30+
"mcu": "esp32s3",
31+
"variant": "adafruit_qtpy_esp32s3_nopsram"
32+
},
33+
"connectivity": [
34+
"wifi"
35+
],
36+
"debug": {
37+
"openocd_target": "esp32s3.cfg"
38+
},
39+
"frameworks": [
40+
"arduino",
41+
"espidf"
42+
],
43+
"name": "Adafruit QT Py ESP32-S3 No PSRAM",
44+
"upload": {
45+
"arduino": {
46+
"flash_extra_images": [
47+
[
48+
"0x410000",
49+
"variants/adafruit_qtpy_esp32s3_nopsram/tinyuf2.bin"
50+
]
51+
]
52+
},
53+
"flash_size": "4MB",
54+
"maximum_ram_size": 327680,
55+
"maximum_size": 4194304,
56+
"use_1200bps_touch": true,
57+
"wait_for_upload_port": true,
58+
"require_upload_port": true,
59+
"speed": 460800
60+
},
61+
"url": "https://www.adafruit.com/product/5426",
62+
"vendor": "Adafruit"
63+
}

0 commit comments

Comments
 (0)