Skip to content

Commit 53aa8c8

Browse files
ESP32-S3 PowerFeather Fixes (#9052)
* Fix and add pin definitions Add pins D7, D8 Correct pin numbers for ALARM and EN * Enable CDC on boot * Use partition schemes appropriate for flash size Also adds another partition scheme based of off default_8MB, but fat partition.
1 parent 6c5b54e commit 53aa8c8

File tree

5 files changed

+39
-33
lines changed

5 files changed

+39
-33
lines changed

Diff for: boards.txt

+14-31
Original file line numberDiff line numberDiff line change
@@ -29364,7 +29364,7 @@ esp32s3_powerfeather.build.variant=esp32s3_powerfeather
2936429364
esp32s3_powerfeather.build.board=ESP32S3_POWERFEATHER
2936529365

2936629366
esp32s3_powerfeather.build.usb_mode=1
29367-
esp32s3_powerfeather.build.cdc_on_boot=0
29367+
esp32s3_powerfeather.build.cdc_on_boot=1
2936829368
esp32s3_powerfeather.build.msc_on_boot=0
2936929369
esp32s3_powerfeather.build.dfu_on_boot=0
2937029370
esp32s3_powerfeather.build.f_cpu=240000000L
@@ -29377,8 +29377,9 @@ esp32s3_powerfeather.build.partitions=default_8MB
2937729377
esp32s3_powerfeather.build.defines=
2937829378
esp32s3_powerfeather.build.loop_core=
2937929379
esp32s3_powerfeather.build.event_core=
29380+
esp32s3_powerfeather.build.flash_type=qio
2938029381
esp32s3_powerfeather.build.psram_type=qspi
29381-
esp32s3_powerfeather.build.memory_type={build.boot}_{build.psram_type}
29382+
esp32s3_powerfeather.build.memory_type={build.flash_type}_{build.psram_type}
2938229383

2938329384
esp32s3_powerfeather.menu.PSRAM.disabled=Disabled
2938429385
esp32s3_powerfeather.menu.PSRAM.disabled.build.defines=
@@ -29418,10 +29419,10 @@ esp32s3_powerfeather.menu.USBMode.hwcdc.build.usb_mode=1
2941829419
esp32s3_powerfeather.menu.USBMode.default=USB-OTG (TinyUSB)
2941929420
esp32s3_powerfeather.menu.USBMode.default.build.usb_mode=0
2942029421

29421-
esp32s3_powerfeather.menu.CDCOnBoot.default=Disabled
29422-
esp32s3_powerfeather.menu.CDCOnBoot.default.build.cdc_on_boot=0
2942329422
esp32s3_powerfeather.menu.CDCOnBoot.cdc=Enabled
2942429423
esp32s3_powerfeather.menu.CDCOnBoot.cdc.build.cdc_on_boot=1
29424+
esp32s3_powerfeather.menu.CDCOnBoot.default=Disabled
29425+
esp32s3_powerfeather.menu.CDCOnBoot.default.build.cdc_on_boot=0
2942529426

2942629427
esp32s3_powerfeather.menu.MSCOnBoot.default=Disabled
2942729428
esp32s3_powerfeather.menu.MSCOnBoot.default.build.msc_on_boot=0
@@ -29440,39 +29441,21 @@ esp32s3_powerfeather.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
2944029441
esp32s3_powerfeather.menu.UploadMode.cdc.upload.use_1200bps_touch=true
2944129442
esp32s3_powerfeather.menu.UploadMode.cdc.upload.wait_for_upload_port=true
2944229443

29443-
esp32s3_powerfeather.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
29444-
esp32s3_powerfeather.menu.PartitionScheme.default.build.partitions=default
29445-
esp32s3_powerfeather.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
29446-
esp32s3_powerfeather.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
2944729444
esp32s3_powerfeather.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
2944829445
esp32s3_powerfeather.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
2944929446
esp32s3_powerfeather.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
29450-
esp32s3_powerfeather.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
29451-
esp32s3_powerfeather.menu.PartitionScheme.minimal.build.partitions=minimal
29452-
esp32s3_powerfeather.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
29453-
esp32s3_powerfeather.menu.PartitionScheme.no_ota.build.partitions=no_ota
29454-
esp32s3_powerfeather.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
29455-
esp32s3_powerfeather.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
29456-
esp32s3_powerfeather.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
29457-
esp32s3_powerfeather.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
29458-
esp32s3_powerfeather.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
29459-
esp32s3_powerfeather.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
29460-
esp32s3_powerfeather.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
29461-
esp32s3_powerfeather.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
29462-
esp32s3_powerfeather.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
29463-
esp32s3_powerfeather.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
29464-
esp32s3_powerfeather.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
29465-
esp32s3_powerfeather.menu.PartitionScheme.huge_app.build.partitions=huge_app
29466-
esp32s3_powerfeather.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
29467-
esp32s3_powerfeather.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
29468-
esp32s3_powerfeather.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
29469-
esp32s3_powerfeather.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
29447+
esp32s3_powerfeather.menu.PartitionScheme.default_ffat_8MB=8M with ffat (3MB APP/1.5MB FATFS)
29448+
esp32s3_powerfeather.menu.PartitionScheme.default_ffat_8MB.build.partitions=default_ffat_8MB
29449+
esp32s3_powerfeather.menu.PartitionScheme.default_ffat_8MB.upload.maximum_size=3342336
29450+
esp32s3_powerfeather.menu.PartitionScheme.large_spiffs_8MB=Large SPIFFS (1.2MB APP/5.3MB SPIFFS)
29451+
esp32s3_powerfeather.menu.PartitionScheme.large_spiffs_8MB.build.partitions=large_spiffs_8MB
29452+
esp32s3_powerfeather.menu.PartitionScheme.large_spiffs_8MB.upload.maximum_size=1310720
29453+
esp32s3_powerfeather.menu.PartitionScheme.large_ffat_8MB=Large FFAT (1.2MB APP/5.3MB FATFS)
29454+
esp32s3_powerfeather.menu.PartitionScheme.large_ffat_8MB.build.partitions=large_ffat_8MB
29455+
esp32s3_powerfeather.menu.PartitionScheme.large_ffat_8MB.upload.maximum_size=1310720
2947029456
esp32s3_powerfeather.menu.PartitionScheme.max_app_8MB=Maximum APP (7.9MB APP No OTA/No FS)
2947129457
esp32s3_powerfeather.menu.PartitionScheme.max_app_8MB.build.partitions=max_app_8MB
2947229458
esp32s3_powerfeather.menu.PartitionScheme.max_app_8MB.upload.maximum_size=8257536
29473-
esp32s3_powerfeather.menu.PartitionScheme.rainmaker=RainMaker
29474-
esp32s3_powerfeather.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
29475-
esp32s3_powerfeather.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
2947629459

2947729460
esp32s3_powerfeather.menu.CPUFreq.240=240MHz (WiFi)
2947829461
esp32s3_powerfeather.menu.CPUFreq.240.build.f_cpu=240000000L

Diff for: tools/partitions/default_ffat_8MB.csv

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x330000,
5+
app1, app, ota_1, 0x340000,0x330000,
6+
ffat, data, fat, 0x670000,0x180000,
7+
coredump, data, coredump,0x7F0000,0x10000,

Diff for: tools/partitions/large_ffat_8MB.csv

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x140000,
5+
app1, app, ota_1, 0x150000,0x140000,
6+
ffat, data, fat, 0x290000,0x560000,
7+
coredump, data, coredump,0x7F0000,0x10000,

Diff for: tools/partitions/large_spiffs_8MB.csv

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x140000,
5+
app1, app, ota_1, 0x150000,0x140000,
6+
spiffs, data, spiffs, 0x290000,0x560000,
7+
coredump, data, coredump,0x7F0000,0x10000,

Diff for: variants/esp32s3_powerfeather/pins_arduino.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#define USB_PRODUCT "ESP32-S3 PowerFeather"
1010
#define USB_SERIAL ""
1111

12-
static const uint8_t ALARM = 7;
12+
static const uint8_t ALARM = 21;
1313
static const uint8_t INT = 5;
1414

1515
static const uint8_t LED = 46;
1616
static const uint8_t BTN = 0;
17-
static const uint8_t EN = 13;
17+
static const uint8_t EN = 7;
1818

1919
static const uint8_t TX = 44;
2020
static const uint8_t RX = 42;
@@ -37,6 +37,8 @@ static const uint8_t A5 = 1;
3737

3838
static const uint8_t D5 = 15;
3939
static const uint8_t D6 = 16;
40+
static const uint8_t D7 = 37;
41+
static const uint8_t D8 = 6;
4042
static const uint8_t D9 = 17;
4143
static const uint8_t D10 = 18;
4244
static const uint8_t D11 = 45;

0 commit comments

Comments
 (0)