Skip to content

Commit 0c18b17

Browse files
SooDragonSuGlider
andauthored
feat(boards): Add Geekble-nano-ESP32S3 (#11005)
* add new board add new board * fix(board): add LED_BUILTIN #define --------- Co-authored-by: Rodrigo Garcia <[email protected]>
1 parent 164fcc6 commit 0c18b17

File tree

2 files changed

+264
-0
lines changed

2 files changed

+264
-0
lines changed

boards.txt

+190
Original file line numberDiff line numberDiff line change
@@ -40832,6 +40832,196 @@ Geekble_ESP32C3.menu.EraseFlash.none.upload.erase_cmd=
4083240832
Geekble_ESP32C3.menu.EraseFlash.all=Enabled
4083340833
Geekble_ESP32C3.menu.EraseFlash.all.upload.erase_cmd=-e
4083440834

40835+
##############################################################
40836+
40837+
Geekble_Nano_ESP32S3.name=Geekble nano ESP32-S3
40838+
Geekble_Nano_ESP32S3.vid.0=0x303a
40839+
Geekble_Nano_ESP32S3.pid.0= 0x82C5
40840+
Geekble_Nano_ESP32S3.upload_port.0.vid=0x303a
40841+
Geekble_Nano_ESP32S3.upload_port.0.pid= 0x82C5
40842+
40843+
Geekble_Nano_ESP32S3.bootloader.tool=esptool_py
40844+
Geekble_Nano_ESP32S3.bootloader.tool.default=esptool_py
40845+
40846+
Geekble_Nano_ESP32S3.upload.tool=esptool_py
40847+
Geekble_Nano_ESP32S3.upload.tool.default=esptool_py
40848+
Geekble_Nano_ESP32S3.upload.tool.network=esp_ota
40849+
40850+
Geekble_Nano_ESP32S3.upload.maximum_size=1310720
40851+
40852+
Geekble_Nano_ESP32S3.upload.maximum_data_size=327680
40853+
Geekble_Nano_ESP32S3.upload.flags=
40854+
Geekble_Nano_ESP32S3.upload.extra_flags=
40855+
Geekble_Nano_ESP32S3.upload.use_1200bps_touch=false
40856+
Geekble_Nano_ESP32S3.upload.wait_for_upload_port=false
40857+
40858+
Geekble_Nano_ESP32S3.serial.disableDTR=false
40859+
Geekble_Nano_ESP32S3.serial.disableRTS=false
40860+
40861+
Geekble_Nano_ESP32S3.build.tarch=xtensa
40862+
Geekble_Nano_ESP32S3.build.bootloader_addr=0x0
40863+
Geekble_Nano_ESP32S3.build.target=esp32s3
40864+
Geekble_Nano_ESP32S3.build.mcu=esp32s3
40865+
Geekble_Nano_ESP32S3.build.core=esp32
40866+
Geekble_Nano_ESP32S3.build.variant=Geekble_Nano_ESP32S3
40867+
Geekble_Nano_ESP32S3.build.board=GEEKBLE_NANO_ESP32S3
40868+
40869+
Geekble_Nano_ESP32S3.build.usb_mode=1
40870+
Geekble_Nano_ESP32S3.build.cdc_on_boot=1
40871+
Geekble_Nano_ESP32S3.build.msc_on_boot=0
40872+
Geekble_Nano_ESP32S3.build.dfu_on_boot=0
40873+
Geekble_Nano_ESP32S3.build.f_cpu=240000000L
40874+
Geekble_Nano_ESP32S3.build.flash_size=4MB
40875+
Geekble_Nano_ESP32S3.build.flash_freq=80m
40876+
Geekble_Nano_ESP32S3.build.flash_mode=dio
40877+
Geekble_Nano_ESP32S3.build.boot=qio
40878+
Geekble_Nano_ESP32S3.build.boot_freq=80m
40879+
Geekble_Nano_ESP32S3.build.partitions=default
40880+
Geekble_Nano_ESP32S3.build.defines=
40881+
Geekble_Nano_ESP32S3.build.loop_core=
40882+
Geekble_Nano_ESP32S3.build.event_core=
40883+
Geekble_Nano_ESP32S3.build.psram_type=qspi
40884+
Geekble_Nano_ESP32S3.build.memory_type={build.boot}_{build.psram_type}
40885+
40886+
Geekble_Nano_ESP32S3.menu.PSRAM.disabled=Disabled
40887+
Geekble_Nano_ESP32S3.menu.PSRAM.disabled.build.defines=
40888+
Geekble_Nano_ESP32S3.menu.PSRAM.disabled.build.psram_type=qspi
40889+
Geekble_Nano_ESP32S3.menu.PSRAM.enabled=Enabled
40890+
Geekble_Nano_ESP32S3.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
40891+
Geekble_Nano_ESP32S3.menu.PSRAM.enabled.build.psram_type=qspi
40892+
40893+
Geekble_Nano_ESP32S3.menu.FlashMode.qio=QIO 80MHz
40894+
Geekble_Nano_ESP32S3.menu.FlashMode.qio.build.flash_mode=dio
40895+
Geekble_Nano_ESP32S3.menu.FlashMode.qio.build.boot=qio
40896+
Geekble_Nano_ESP32S3.menu.FlashMode.qio.build.boot_freq=80m
40897+
Geekble_Nano_ESP32S3.menu.FlashMode.qio.build.flash_freq=80m
40898+
Geekble_Nano_ESP32S3.menu.FlashMode.qio120=QIO 120MHz
40899+
Geekble_Nano_ESP32S3.menu.FlashMode.qio120.build.flash_mode=dio
40900+
Geekble_Nano_ESP32S3.menu.FlashMode.qio120.build.boot=qio
40901+
Geekble_Nano_ESP32S3.menu.FlashMode.qio120.build.boot_freq=120m
40902+
Geekble_Nano_ESP32S3.menu.FlashMode.qio120.build.flash_freq=80m
40903+
40904+
Geekble_Nano_ESP32S3.menu.LoopCore.1=Core 1
40905+
Geekble_Nano_ESP32S3.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
40906+
Geekble_Nano_ESP32S3.menu.LoopCore.0=Core 0
40907+
Geekble_Nano_ESP32S3.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
40908+
40909+
Geekble_Nano_ESP32S3.menu.EventsCore.1=Core 1
40910+
Geekble_Nano_ESP32S3.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
40911+
Geekble_Nano_ESP32S3.menu.EventsCore.0=Core 0
40912+
Geekble_Nano_ESP32S3.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
40913+
40914+
Geekble_Nano_ESP32S3.menu.USBMode.hwcdc=Hardware CDC and JTAG
40915+
Geekble_Nano_ESP32S3.menu.USBMode.hwcdc.build.usb_mode=1
40916+
Geekble_Nano_ESP32S3.menu.USBMode.default=USB-OTG (TinyUSB)
40917+
Geekble_Nano_ESP32S3.menu.USBMode.default.build.usb_mode=0
40918+
40919+
Geekble_Nano_ESP32S3.menu.CDCOnBoot.default=Disabled
40920+
Geekble_Nano_ESP32S3.menu.CDCOnBoot.default.build.cdc_on_boot=0
40921+
Geekble_Nano_ESP32S3.menu.CDCOnBoot.cdc=Enabled
40922+
Geekble_Nano_ESP32S3.menu.CDCOnBoot.cdc.build.cdc_on_boot=1
40923+
40924+
Geekble_Nano_ESP32S3.menu.MSCOnBoot.default=Disabled
40925+
Geekble_Nano_ESP32S3.menu.MSCOnBoot.default.build.msc_on_boot=0
40926+
Geekble_Nano_ESP32S3.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode)
40927+
Geekble_Nano_ESP32S3.menu.MSCOnBoot.msc.build.msc_on_boot=1
40928+
40929+
Geekble_Nano_ESP32S3.menu.DFUOnBoot.default=Disabled
40930+
Geekble_Nano_ESP32S3.menu.DFUOnBoot.default.build.dfu_on_boot=0
40931+
Geekble_Nano_ESP32S3.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode)
40932+
Geekble_Nano_ESP32S3.menu.DFUOnBoot.dfu.build.dfu_on_boot=1
40933+
40934+
Geekble_Nano_ESP32S3.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
40935+
Geekble_Nano_ESP32S3.menu.UploadMode.cdc.upload.use_1200bps_touch=true
40936+
Geekble_Nano_ESP32S3.menu.UploadMode.cdc.upload.wait_for_upload_port=true
40937+
40938+
Geekble_Nano_ESP32S3.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
40939+
Geekble_Nano_ESP32S3.menu.PartitionScheme.default.build.partitions=default
40940+
Geekble_Nano_ESP32S3.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
40941+
Geekble_Nano_ESP32S3.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
40942+
Geekble_Nano_ESP32S3.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
40943+
Geekble_Nano_ESP32S3.menu.PartitionScheme.no_ota.build.partitions=no_ota
40944+
Geekble_Nano_ESP32S3.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
40945+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
40946+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
40947+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
40948+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
40949+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
40950+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
40951+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
40952+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
40953+
Geekble_Nano_ESP32S3.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
40954+
Geekble_Nano_ESP32S3.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
40955+
Geekble_Nano_ESP32S3.menu.PartitionScheme.huge_app.build.partitions=huge_app
40956+
Geekble_Nano_ESP32S3.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
40957+
Geekble_Nano_ESP32S3.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
40958+
Geekble_Nano_ESP32S3.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
40959+
Geekble_Nano_ESP32S3.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
40960+
Geekble_Nano_ESP32S3.menu.PartitionScheme.rainmaker=RainMaker 4MB
40961+
Geekble_Nano_ESP32S3.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
40962+
Geekble_Nano_ESP32S3.menu.PartitionScheme.rainmaker.upload.maximum_size=1966080
40963+
Geekble_Nano_ESP32S3.menu.PartitionScheme.rainmaker_4MB=RainMaker 4MB No OTA
40964+
Geekble_Nano_ESP32S3.menu.PartitionScheme.rainmaker_4MB.build.partitions=rainmaker_4MB_no_ota
40965+
Geekble_Nano_ESP32S3.menu.PartitionScheme.rainmaker_4MB.upload.maximum_size=4038656
40966+
40967+
Geekble_Nano_ESP32S3.menu.PartitionScheme.otanofs=OTA no FS (2MB APP with OTA)
40968+
Geekble_Nano_ESP32S3.menu.PartitionScheme.otanofs.build.custom_partitions=ota_nofs_4MB
40969+
Geekble_Nano_ESP32S3.menu.PartitionScheme.otanofs.upload.maximum_size=2031616
40970+
Geekble_Nano_ESP32S3.menu.PartitionScheme.all_app=Max APP (4MB APP no OTA)
40971+
Geekble_Nano_ESP32S3.menu.PartitionScheme.all_app.build.custom_partitions=max_app_4MB
40972+
Geekble_Nano_ESP32S3.menu.PartitionScheme.all_app.upload.maximum_size=4063232
40973+
40974+
Geekble_Nano_ESP32S3.menu.PartitionScheme.custom=Custom
40975+
Geekble_Nano_ESP32S3.menu.PartitionScheme.custom.build.partitions=
40976+
Geekble_Nano_ESP32S3.menu.PartitionScheme.custom.upload.maximum_size=16777216
40977+
40978+
Geekble_Nano_ESP32S3.menu.CPUFreq.240=240MHz (WiFi)
40979+
Geekble_Nano_ESP32S3.menu.CPUFreq.240.build.f_cpu=240000000L
40980+
Geekble_Nano_ESP32S3.menu.CPUFreq.160=160MHz (WiFi)
40981+
Geekble_Nano_ESP32S3.menu.CPUFreq.160.build.f_cpu=160000000L
40982+
Geekble_Nano_ESP32S3.menu.CPUFreq.80=80MHz (WiFi)
40983+
Geekble_Nano_ESP32S3.menu.CPUFreq.80.build.f_cpu=80000000L
40984+
Geekble_Nano_ESP32S3.menu.CPUFreq.40=40MHz
40985+
Geekble_Nano_ESP32S3.menu.CPUFreq.40.build.f_cpu=40000000L
40986+
Geekble_Nano_ESP32S3.menu.CPUFreq.20=20MHz
40987+
Geekble_Nano_ESP32S3.menu.CPUFreq.20.build.f_cpu=20000000L
40988+
Geekble_Nano_ESP32S3.menu.CPUFreq.10=10MHz
40989+
Geekble_Nano_ESP32S3.menu.CPUFreq.10.build.f_cpu=10000000L
40990+
40991+
Geekble_Nano_ESP32S3.menu.UploadSpeed.921600=921600
40992+
Geekble_Nano_ESP32S3.menu.UploadSpeed.921600.upload.speed=921600
40993+
Geekble_Nano_ESP32S3.menu.UploadSpeed.115200=115200
40994+
Geekble_Nano_ESP32S3.menu.UploadSpeed.115200.upload.speed=115200
40995+
Geekble_Nano_ESP32S3.menu.UploadSpeed.256000.windows=256000
40996+
Geekble_Nano_ESP32S3.menu.UploadSpeed.256000.upload.speed=256000
40997+
Geekble_Nano_ESP32S3.menu.UploadSpeed.230400.windows.upload.speed=256000
40998+
Geekble_Nano_ESP32S3.menu.UploadSpeed.230400=230400
40999+
Geekble_Nano_ESP32S3.menu.UploadSpeed.230400.upload.speed=230400
41000+
Geekble_Nano_ESP32S3.menu.UploadSpeed.460800.linux=460800
41001+
Geekble_Nano_ESP32S3.menu.UploadSpeed.460800.macosx=460800
41002+
Geekble_Nano_ESP32S3.menu.UploadSpeed.460800.upload.speed=460800
41003+
Geekble_Nano_ESP32S3.menu.UploadSpeed.512000.windows=512000
41004+
Geekble_Nano_ESP32S3.menu.UploadSpeed.512000.upload.speed=512000
41005+
41006+
Geekble_Nano_ESP32S3.menu.DebugLevel.none=None
41007+
Geekble_Nano_ESP32S3.menu.DebugLevel.none.build.code_debug=0
41008+
Geekble_Nano_ESP32S3.menu.DebugLevel.error=Error
41009+
Geekble_Nano_ESP32S3.menu.DebugLevel.error.build.code_debug=1
41010+
Geekble_Nano_ESP32S3.menu.DebugLevel.warn=Warn
41011+
Geekble_Nano_ESP32S3.menu.DebugLevel.warn.build.code_debug=2
41012+
Geekble_Nano_ESP32S3.menu.DebugLevel.info=Info
41013+
Geekble_Nano_ESP32S3.menu.DebugLevel.info.build.code_debug=3
41014+
Geekble_Nano_ESP32S3.menu.DebugLevel.debug=Debug
41015+
Geekble_Nano_ESP32S3.menu.DebugLevel.debug.build.code_debug=4
41016+
Geekble_Nano_ESP32S3.menu.DebugLevel.verbose=Verbose
41017+
Geekble_Nano_ESP32S3.menu.DebugLevel.verbose.build.code_debug=5
41018+
41019+
Geekble_Nano_ESP32S3.menu.EraseFlash.none=Disabled
41020+
Geekble_Nano_ESP32S3.menu.EraseFlash.none.upload.erase_cmd=
41021+
Geekble_Nano_ESP32S3.menu.EraseFlash.all=Enabled
41022+
Geekble_Nano_ESP32S3.menu.EraseFlash.all.upload.erase_cmd=-e
41023+
41024+
4083541025
##############################################################
4083641026

4083741027
waveshare_esp32_s3_zero.name=Waveshare ESP32-S3-Zero
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
#define USB_VID 0x303a
7+
#define USB_PID 0x82C5
8+
#define USB_MANUFACTURER "Geekble"
9+
#define USB_PRODUCT "Geekble nano ESP32-S3"
10+
#define USB_SERIAL "" // Empty string for MAC address
11+
12+
static const uint8_t D0 = 44; // also RX
13+
static const uint8_t D1 = 43; // also TX
14+
static const uint8_t D2 = 5;
15+
static const uint8_t D3 = 6; // also CTS
16+
static const uint8_t D4 = 7; // also DSR
17+
static const uint8_t D5 = 8;
18+
static const uint8_t D6 = 9;
19+
static const uint8_t D7 = 10;
20+
static const uint8_t D8 = 17;
21+
static const uint8_t D9 = 18;
22+
static const uint8_t D10 = 21; // also SS
23+
static const uint8_t D11 = 38; // also MOSI
24+
static const uint8_t D12 = 47; // also MISO
25+
static const uint8_t D13 = 48; // also SCK, LED_BUILTIN
26+
27+
static const uint8_t A0 = 1; // also DTR
28+
static const uint8_t A1 = 2;
29+
static const uint8_t A2 = 3;
30+
static const uint8_t A3 = 4;
31+
static const uint8_t A4 = 11; // also SDA
32+
static const uint8_t A5 = 12; // also SCL
33+
static const uint8_t A6 = 13;
34+
static const uint8_t A7 = 14;
35+
36+
// alternate pin functions
37+
38+
static const uint8_t LED_BUILTIN = D13;
39+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
40+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
41+
42+
static const uint8_t SW_BUILTIN = 0;
43+
44+
static const uint8_t TX = D1;
45+
static const uint8_t RX = D0;
46+
static const uint8_t RTS = 45;
47+
static const uint8_t CTS = D3;
48+
static const uint8_t DTR = A0;
49+
static const uint8_t DSR = D4;
50+
51+
static const uint8_t SS = D10;
52+
static const uint8_t MOSI = D11;
53+
static const uint8_t MISO = D12;
54+
static const uint8_t SCK = D13;
55+
56+
static const uint8_t SDA = A4;
57+
static const uint8_t SCL = A5;
58+
59+
// Touch input capable pins on the header
60+
static const uint8_t T1 = 1;
61+
static const uint8_t T2 = 2;
62+
static const uint8_t T3 = 3;
63+
static const uint8_t T4 = 4;
64+
static const uint8_t T5 = 5;
65+
static const uint8_t T6 = 6;
66+
static const uint8_t T7 = 7;
67+
68+
#define PIN_I2S_SCK D7
69+
#define PIN_I2S_FS D8
70+
#define PIN_I2S_SD D9
71+
#define PIN_I2S_SD_OUT D9 // same as bidir
72+
#define PIN_I2S_SD_IN D10
73+
74+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)