Skip to content

Commit b2108e9

Browse files
committed
add feather esp32s2!
1 parent 5877b03 commit b2108e9

File tree

5 files changed

+221
-0
lines changed

5 files changed

+221
-0
lines changed

boards.txt

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2808,6 +2808,154 @@ adafruit_magtag29_esp32s2.menu.DebugLevel.debug.build.code_debug=4
28082808
adafruit_magtag29_esp32s2.menu.DebugLevel.verbose=Verbose
28092809
adafruit_magtag29_esp32s2.menu.DebugLevel.verbose.build.code_debug=5
28102810

2811+
##############################################################
2812+
2813+
adafruit_feather_esp32s2_nopsram.name=Adafruit Feather ESP32-S2 (no PSRAM)
2814+
adafruit_feather_esp32s2_nopsram.vid.0=0x239A
2815+
adafruit_feather_esp32s2_nopsram.pid.0=0x80EB
2816+
adafruit_feather_esp32s2_nopsram.vid.1=0x239A
2817+
adafruit_feather_esp32s2_nopsram.pid.1=0x00EB
2818+
adafruit_feather_esp32s2_nopsram.vid.1=0x239A
2819+
adafruit_feather_esp32s2_nopsram.pid.1=0x80EC
2820+
2821+
adafruit_feather_esp32s2_nopsram.upload.tool=esptool_py
2822+
adafruit_feather_esp32s2_nopsram.upload.maximum_size=1310720
2823+
adafruit_feather_esp32s2_nopsram.upload.maximum_data_size=327680
2824+
adafruit_feather_esp32s2_nopsram.upload.flags=
2825+
adafruit_feather_esp32s2_nopsram.upload.extra_flags=0x2d0000 "{runtime.platform.path}/variants/{build.variant}/tinyuf2.bin"
2826+
2827+
adafruit_feather_esp32s2_nopsram.serial.disableDTR=false
2828+
adafruit_feather_esp32s2_nopsram.serial.disableRTS=false
2829+
2830+
adafruit_feather_esp32s2_nopsram.build.mcu=esp32s2
2831+
adafruit_feather_esp32s2_nopsram.build.core=esp32
2832+
adafruit_feather_esp32s2_nopsram.build.variant=adafruit_feather_esp32s2
2833+
adafruit_feather_esp32s2_nopsram.build.board=ADAFRUIT_FEATHER_ESP32S2_NOPSRAM
2834+
2835+
adafruit_feather_esp32s2_nopsram.build.serial=0
2836+
adafruit_feather_esp32s2_nopsram.build.f_cpu=240000000L
2837+
adafruit_feather_esp32s2_nopsram.build.flash_size=4MB
2838+
adafruit_feather_esp32s2_nopsram.build.flash_freq=80m
2839+
adafruit_feather_esp32s2_nopsram.build.flash_mode=qio
2840+
adafruit_feather_esp32s2_nopsram.build.boot=qio
2841+
adafruit_feather_esp32s2_nopsram.build.partitions=default
2842+
adafruit_feather_esp32s2_nopsram.build.defines=
2843+
2844+
adafruit_feather_esp32s2_nopsram.menu.SerialMode.cdc=USB CDC
2845+
adafruit_feather_esp32s2_nopsram.menu.SerialMode.cdc.build.serial=1
2846+
adafruit_feather_esp32s2_nopsram.menu.SerialMode.default=UART0
2847+
adafruit_feather_esp32s2_nopsram.menu.SerialMode.default.build.serial=0
2848+
2849+
adafruit_feather_esp32s2_nopsram.menu.PSRAM.disabled=Disabled
2850+
adafruit_feather_esp32s2_nopsram.menu.PSRAM.disabled.build.defines=
2851+
adafruit_feather_esp32s2_nopsram.menu.PSRAM.enabled=Enabled
2852+
adafruit_feather_esp32s2_nopsram.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
2853+
2854+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
2855+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.default.build.partitions=default
2856+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
2857+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
2858+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
2859+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
2860+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
2861+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
2862+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.minimal.build.partitions=minimal
2863+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
2864+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.no_ota.build.partitions=no_ota
2865+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
2866+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
2867+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
2868+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
2869+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
2870+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
2871+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
2872+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
2873+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
2874+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
2875+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
2876+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.huge_app.build.partitions=huge_app
2877+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
2878+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
2879+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
2880+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
2881+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
2882+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.fatflash.build.partitions=ffat
2883+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
2884+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
2885+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
2886+
adafruit_feather_esp32s2_nopsram.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
2887+
2888+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.240=240MHz (WiFi)
2889+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.240.build.f_cpu=240000000L
2890+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.160=160MHz (WiFi)
2891+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.160.build.f_cpu=160000000L
2892+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.80=80MHz (WiFi)
2893+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.80.build.f_cpu=80000000L
2894+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.40=40MHz
2895+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.40.build.f_cpu=40000000L
2896+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.20=20MHz
2897+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.20.build.f_cpu=20000000L
2898+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.10=10MHz
2899+
adafruit_feather_esp32s2_nopsram.menu.CPUFreq.10.build.f_cpu=10000000L
2900+
2901+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.qio=QIO
2902+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.qio.build.flash_mode=dio
2903+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.qio.build.boot=qio
2904+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.dio=DIO
2905+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.dio.build.flash_mode=dio
2906+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.dio.build.boot=dio
2907+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.qout=QOUT
2908+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.qout.build.flash_mode=dout
2909+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.qout.build.boot=qout
2910+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.dout=DOUT
2911+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.dout.build.flash_mode=dout
2912+
adafruit_feather_esp32s2_nopsram.menu.FlashMode.dout.build.boot=dout
2913+
2914+
adafruit_feather_esp32s2_nopsram.menu.FlashFreq.80=80MHz
2915+
adafruit_feather_esp32s2_nopsram.menu.FlashFreq.80.build.flash_freq=80m
2916+
adafruit_feather_esp32s2_nopsram.menu.FlashFreq.40=40MHz
2917+
adafruit_feather_esp32s2_nopsram.menu.FlashFreq.40.build.flash_freq=40m
2918+
2919+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.4M=4MB (32Mb)
2920+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.4M.build.flash_size=4MB
2921+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.8M=8MB (64Mb)
2922+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.8M.build.flash_size=8MB
2923+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.8M.build.partitions=default_8MB
2924+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.2M=2MB (16Mb)
2925+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.2M.build.flash_size=2MB
2926+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.2M.build.partitions=minimal
2927+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.16M=16MB (128Mb)
2928+
adafruit_feather_esp32s2_nopsram.menu.FlashSize.16M.build.flash_size=16MB
2929+
2930+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.921600=921600
2931+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.921600.upload.speed=921600
2932+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.115200=115200
2933+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.115200.upload.speed=115200
2934+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.256000.windows=256000
2935+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.256000.upload.speed=256000
2936+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.230400.windows.upload.speed=256000
2937+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.230400=230400
2938+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.230400.upload.speed=230400
2939+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.460800.linux=460800
2940+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.460800.macosx=460800
2941+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.460800.upload.speed=460800
2942+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.512000.windows=512000
2943+
adafruit_feather_esp32s2_nopsram.menu.UploadSpeed.512000.upload.speed=512000
2944+
2945+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.none=None
2946+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.none.build.code_debug=0
2947+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.error=Error
2948+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.error.build.code_debug=1
2949+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.warn=Warn
2950+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.warn.build.code_debug=2
2951+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.info=Info
2952+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.info.build.code_debug=3
2953+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.debug=Debug
2954+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.debug.build.code_debug=4
2955+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.verbose=Verbose
2956+
adafruit_feather_esp32s2_nopsram.menu.DebugLevel.verbose.build.code_debug=5
2957+
2958+
28112959
##############################################################
28122960

28132961
nodemcu-32s.name=NodeMCU-32S
22.1 KB
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ESP-IDF Partition Table
2+
# Name, Type, SubType, Offset, Size, Flags
3+
# bootloader.bin,, 0x1000, 32K
4+
# partition table, 0x8000, 4K
5+
6+
nvs, data, nvs, 0x9000, 20K,
7+
otadata, data, ota, 0xe000, 8K,
8+
ota_0, 0, ota_0, 0x10000, 1408K,
9+
ota_1, 0, ota_1, 0x170000, 1408K,
10+
uf2, app, factory,0x2d0000, 256K,
11+
ffat, data, fat, 0x310000, 960K,
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
7+
#define USB_VID 0x239A
8+
#define USB_PID 0x80EB
9+
#define USB_MANUFACTURER "Adafruit"
10+
#define USB_PRODUCT "Adafruit Feather ESP32-S2"
11+
#define USB_SERIAL ""
12+
13+
14+
#define EXTERNAL_NUM_INTERRUPTS 46
15+
#define NUM_DIGITAL_PINS 48
16+
#define NUM_ANALOG_INPUTS 20
17+
18+
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
19+
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
20+
#define digitalPinHasPWM(p) (p < 46)
21+
22+
static const uint8_t PIN_NEOPIXEL = 33;
23+
static const uint8_t PIN_NEOPIXEL_POWER = 21;
24+
static const uint8_t LED_BUILTIN = 13;
25+
26+
static const uint8_t TX = 39;
27+
static const uint8_t RX = 38;
28+
29+
static const uint8_t SDA = 3;
30+
static const uint8_t SCL = 4;
31+
32+
static const uint8_t SS = 42;
33+
static const uint8_t MOSI = 35;
34+
static const uint8_t SCK = 36;
35+
static const uint8_t MISO = 37;
36+
37+
static const uint8_t A0 = 18;
38+
static const uint8_t A1 = 17;
39+
static const uint8_t A2 = 16;
40+
static const uint8_t A3 = 15;
41+
static const uint8_t A4 = 14;
42+
static const uint8_t A5 = 8;
43+
44+
static const uint8_t T1 = 1;
45+
static const uint8_t T2 = 2;
46+
static const uint8_t T3 = 3;
47+
static const uint8_t T4 = 4;
48+
static const uint8_t T5 = 5;
49+
static const uint8_t T6 = 6;
50+
static const uint8_t T7 = 7;
51+
static const uint8_t T8 = 8;
52+
static const uint8_t T9 = 9;
53+
static const uint8_t T10 = 10;
54+
static const uint8_t T11 = 11;
55+
static const uint8_t T12 = 12;
56+
static const uint8_t T13 = 13;
57+
static const uint8_t T14 = 14;
58+
59+
static const uint8_t DAC1 = 17;
60+
static const uint8_t DAC2 = 18;
61+
62+
#endif /* Pins_Arduino_h */
127 KB
Binary file not shown.

0 commit comments

Comments
 (0)