Skip to content

Commit 5d9cd9a

Browse files
Added new UM FeatherS3 Neo board. (#9788)
* Added new UM FeatherS3 Neo board. * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 297757a commit 5d9cd9a

File tree

2 files changed

+238
-0
lines changed

2 files changed

+238
-0
lines changed

Diff for: boards.txt

+169
Original file line numberDiff line numberDiff line change
@@ -3339,6 +3339,175 @@ um_feathers3.menu.EraseFlash.all.upload.erase_cmd=-e
33393339

33403340
##############################################################
33413341

3342+
um_feathers3neo.name=UM FeatherS3 Neo
3343+
um_feathers3neo.vid.0=0x303a
3344+
um_feathers3neo.pid.0=0x81FB
3345+
um_feathers3neo.upload_port.0.vid=0x303a
3346+
um_feathers3neo.upload_port.0.pid=0x81FB
3347+
3348+
um_feathers3neo.bootloader.tool=esptool_py
3349+
um_feathers3neo.bootloader.tool.default=esptool_py
3350+
3351+
um_feathers3neo.upload.tool=esptool_py
3352+
um_feathers3neo.upload.tool.default=esptool_py
3353+
um_feathers3neo.upload.tool.network=esp_ota
3354+
3355+
um_feathers3neo.upload.maximum_size=1310720
3356+
um_feathers3neo.upload.maximum_data_size=327680
3357+
um_feathers3neo.upload.flags=
3358+
um_feathers3neo.upload.extra_flags=
3359+
um_feathers3neo.upload.use_1200bps_touch=false
3360+
um_feathers3neo.upload.wait_for_upload_port=false
3361+
3362+
um_feathers3neo.serial.disableDTR=false
3363+
um_feathers3neo.serial.disableRTS=false
3364+
3365+
um_feathers3neo.build.tarch=xtensa
3366+
um_feathers3neo.build.bootloader_addr=0x0
3367+
um_feathers3neo.build.target=esp32s3
3368+
um_feathers3neo.build.mcu=esp32s3
3369+
um_feathers3neo.build.core=esp32
3370+
um_feathers3neo.build.variant=um_feathers3neo
3371+
um_feathers3neo.build.board=FEATHERS3NEO
3372+
3373+
um_feathers3neo.build.usb_mode=1
3374+
um_feathers3neo.build.cdc_on_boot=1
3375+
um_feathers3neo.build.msc_on_boot=0
3376+
um_feathers3neo.build.dfu_on_boot=0
3377+
um_feathers3neo.build.f_cpu=240000000L
3378+
um_feathers3neo.build.flash_size=16MB
3379+
um_feathers3neo.build.flash_freq=80m
3380+
um_feathers3neo.build.flash_mode=dio
3381+
um_feathers3neo.build.boot=qio
3382+
um_feathers3neo.build.partitions=default
3383+
um_feathers3neo.build.defines=
3384+
um_feathers3neo.build.loop_core=
3385+
um_feathers3neo.build.event_core=
3386+
um_feathers3neo.build.flash_type=qio
3387+
um_feathers3neo.build.psram_type=qspi
3388+
um_feathers3neo.build.memory_type=qio_qspi
3389+
3390+
um_feathers3neo.menu.LoopCore.1=Core 1
3391+
um_feathers3neo.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
3392+
um_feathers3neo.menu.LoopCore.0=Core 0
3393+
um_feathers3neo.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
3394+
3395+
um_feathers3neo.menu.EventsCore.1=Core 1
3396+
um_feathers3neo.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
3397+
um_feathers3neo.menu.EventsCore.0=Core 0
3398+
um_feathers3neo.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
3399+
3400+
um_feathers3neo.menu.USBMode.hwcdc=Hardware CDC and JTAG
3401+
um_feathers3neo.menu.USBMode.hwcdc.build.usb_mode=1
3402+
um_feathers3neo.menu.USBMode.default=USB-OTG (TinyUSB)
3403+
um_feathers3neo.menu.USBMode.default.build.usb_mode=0
3404+
3405+
um_feathers3neo.menu.CDCOnBoot.cdc=Enabled
3406+
um_feathers3neo.menu.CDCOnBoot.cdc.build.cdc_on_boot=1
3407+
um_feathers3neo.menu.CDCOnBoot.default=Disabled
3408+
um_feathers3neo.menu.CDCOnBoot.default.build.cdc_on_boot=0
3409+
3410+
um_feathers3neo.menu.MSCOnBoot.default=Disabled
3411+
um_feathers3neo.menu.MSCOnBoot.default.build.msc_on_boot=0
3412+
um_feathers3neo.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode)
3413+
um_feathers3neo.menu.MSCOnBoot.msc.build.msc_on_boot=1
3414+
3415+
um_feathers3neo.menu.DFUOnBoot.default=Disabled
3416+
um_feathers3neo.menu.DFUOnBoot.default.build.dfu_on_boot=0
3417+
um_feathers3neo.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode)
3418+
um_feathers3neo.menu.DFUOnBoot.dfu.build.dfu_on_boot=1
3419+
3420+
um_feathers3neo.menu.UploadMode.cdc.upload.wait_for_upload_port=true
3421+
um_feathers3neo.menu.UploadMode.default=UART0 / Hardware CDC
3422+
um_feathers3neo.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
3423+
um_feathers3neo.menu.UploadMode.cdc.upload.use_1200bps_touch=true
3424+
um_feathers3neo.menu.UploadMode.default.upload.use_1200bps_touch=false
3425+
um_feathers3neo.menu.UploadMode.default.upload.wait_for_upload_port=false
3426+
3427+
um_feathers3neo.menu.PSRAM.enabled=Enabled
3428+
um_feathers3neo.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
3429+
um_feathers3neo.menu.PSRAM.disabled=Disabled
3430+
um_feathers3neo.menu.PSRAM.disabled.build.defines=
3431+
3432+
um_feathers3neo.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
3433+
um_feathers3neo.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
3434+
um_feathers3neo.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
3435+
um_feathers3neo.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
3436+
um_feathers3neo.menu.PartitionScheme.minimal.build.partitions=minimal
3437+
um_feathers3neo.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
3438+
um_feathers3neo.menu.PartitionScheme.no_ota.build.partitions=no_ota
3439+
um_feathers3neo.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
3440+
um_feathers3neo.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
3441+
um_feathers3neo.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
3442+
um_feathers3neo.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
3443+
um_feathers3neo.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
3444+
um_feathers3neo.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
3445+
um_feathers3neo.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
3446+
um_feathers3neo.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
3447+
um_feathers3neo.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
3448+
um_feathers3neo.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
3449+
um_feathers3neo.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
3450+
um_feathers3neo.menu.PartitionScheme.huge_app.build.partitions=huge_app
3451+
um_feathers3neo.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
3452+
um_feathers3neo.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
3453+
um_feathers3neo.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
3454+
um_feathers3neo.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
3455+
3456+
um_feathers3neo.menu.CPUFreq.240=240MHz (WiFi)
3457+
um_feathers3neo.menu.CPUFreq.240.build.f_cpu=240000000L
3458+
um_feathers3neo.menu.CPUFreq.160=160MHz (WiFi)
3459+
um_feathers3neo.menu.CPUFreq.160.build.f_cpu=160000000L
3460+
um_feathers3neo.menu.CPUFreq.80=80MHz (WiFi)
3461+
um_feathers3neo.menu.CPUFreq.80.build.f_cpu=80000000L
3462+
um_feathers3neo.menu.CPUFreq.40=40MHz
3463+
um_feathers3neo.menu.CPUFreq.40.build.f_cpu=40000000L
3464+
um_feathers3neo.menu.CPUFreq.20=20MHz
3465+
um_feathers3neo.menu.CPUFreq.20.build.f_cpu=20000000L
3466+
um_feathers3neo.menu.CPUFreq.10=10MHz
3467+
um_feathers3neo.menu.CPUFreq.10.build.f_cpu=10000000L
3468+
3469+
um_feathers3neo.menu.FlashMode.qio=QIO
3470+
um_feathers3neo.menu.FlashMode.qio.build.flash_mode=dio
3471+
um_feathers3neo.menu.FlashMode.qio.build.boot=qio
3472+
um_feathers3neo.menu.FlashMode.dio=DIO
3473+
um_feathers3neo.menu.FlashMode.dio.build.flash_mode=dio
3474+
um_feathers3neo.menu.FlashMode.dio.build.boot=dio
3475+
3476+
um_feathers3neo.menu.UploadSpeed.921600=921600
3477+
um_feathers3neo.menu.UploadSpeed.921600.upload.speed=921600
3478+
um_feathers3neo.menu.UploadSpeed.115200=115200
3479+
um_feathers3neo.menu.UploadSpeed.115200.upload.speed=115200
3480+
um_feathers3neo.menu.UploadSpeed.256000.windows=256000
3481+
um_feathers3neo.menu.UploadSpeed.256000.upload.speed=256000
3482+
um_feathers3neo.menu.UploadSpeed.230400.windows.upload.speed=256000
3483+
um_feathers3neo.menu.UploadSpeed.230400=230400
3484+
um_feathers3neo.menu.UploadSpeed.230400.upload.speed=230400
3485+
um_feathers3neo.menu.UploadSpeed.460800.linux=460800
3486+
um_feathers3neo.menu.UploadSpeed.460800.macosx=460800
3487+
um_feathers3neo.menu.UploadSpeed.460800.upload.speed=460800
3488+
um_feathers3neo.menu.UploadSpeed.512000.windows=512000
3489+
um_feathers3neo.menu.UploadSpeed.512000.upload.speed=512000
3490+
3491+
um_feathers3neo.menu.DebugLevel.none=None
3492+
um_feathers3neo.menu.DebugLevel.none.build.code_debug=0
3493+
um_feathers3neo.menu.DebugLevel.error=Error
3494+
um_feathers3neo.menu.DebugLevel.error.build.code_debug=1
3495+
um_feathers3neo.menu.DebugLevel.warn=Warn
3496+
um_feathers3neo.menu.DebugLevel.warn.build.code_debug=2
3497+
um_feathers3neo.menu.DebugLevel.info=Info
3498+
um_feathers3neo.menu.DebugLevel.info.build.code_debug=3
3499+
um_feathers3neo.menu.DebugLevel.debug=Debug
3500+
um_feathers3neo.menu.DebugLevel.debug.build.code_debug=4
3501+
um_feathers3neo.menu.DebugLevel.verbose=Verbose
3502+
um_feathers3neo.menu.DebugLevel.verbose.build.code_debug=5
3503+
3504+
um_feathers3neo.menu.EraseFlash.none=Disabled
3505+
um_feathers3neo.menu.EraseFlash.none.upload.erase_cmd=
3506+
um_feathers3neo.menu.EraseFlash.all=Enabled
3507+
um_feathers3neo.menu.EraseFlash.all.upload.erase_cmd=-e
3508+
3509+
##############################################################
3510+
33423511
um_nanos3.name=UM NanoS3
33433512
um_nanos3.vid.0=0x303a
33443513
um_nanos3.pid.0=0x8179

Diff for: variants/um_feathers3neo/pins_arduino.h

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
#define USB_VID 0x303A
8+
#define USB_PID 0x81FB
9+
#define USB_MANUFACTURER "Unexpected Maker"
10+
#define USB_PRODUCT "FeatherS3 Neo"
11+
#define USB_SERIAL ""
12+
13+
static const uint8_t TX = 43;
14+
static const uint8_t RX = 44;
15+
16+
static const uint8_t SDA = 8;
17+
static const uint8_t SCL = 9;
18+
19+
static const uint8_t SS = 5;
20+
static const uint8_t MOSI = 35;
21+
static const uint8_t MISO = 37;
22+
static const uint8_t SDO = 35;
23+
static const uint8_t SDI = 37;
24+
static const uint8_t SCK = 36;
25+
26+
static const uint8_t A0 = 17;
27+
static const uint8_t A1 = 18;
28+
static const uint8_t A2 = 14;
29+
static const uint8_t A3 = 12;
30+
static const uint8_t A4 = 6;
31+
static const uint8_t A5 = 5;
32+
static const uint8_t A6 = 1;
33+
static const uint8_t A7 = 3;
34+
static const uint8_t A8 = 7;
35+
static const uint8_t A9 = 10;
36+
static const uint8_t A10 = 11;
37+
static const uint8_t A11 = 8;
38+
static const uint8_t A12 = 9;
39+
40+
static const uint8_t T1 = 1;
41+
static const uint8_t T3 = 3;
42+
static const uint8_t T5 = 5;
43+
static const uint8_t T6 = 6;
44+
static const uint8_t T7 = 7;
45+
static const uint8_t T8 = 8;
46+
static const uint8_t T9 = 9;
47+
static const uint8_t T10 = 10;
48+
static const uint8_t T11 = 11;
49+
static const uint8_t T12 = 12;
50+
static const uint8_t T14 = 14;
51+
52+
static const uint8_t VBAT_SENSE = 2;
53+
static const uint8_t VBUS_SENSE = 15;
54+
55+
// User LED
56+
#define LED_BUILTIN 13
57+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
58+
59+
static const uint8_t RGB_DATA = 40;
60+
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite()
61+
#define RGB_BUILTIN (RGB_DATA + SOC_GPIO_PIN_COUNT)
62+
#define RGB_BRIGHTNESS 64
63+
64+
static const uint8_t RGB_PWR = 39;
65+
static const uint8_t RGB_MATRIX_PWR = 39;
66+
static const uint8_t RGB_MATRIX_DATA = 16;
67+
static const uint8_t LED = 13;
68+
69+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)