Add Crabik Slot ESP32-S3 board (#7790)
* Added Crabik Slot ESP32-S3 * Adding CPU frequency settings and removing excess from partition scheme settings
This commit is contained in:
parent
5a87c898b3
commit
0fb963a65e
2 changed files with 236 additions and 0 deletions
148
boards.txt
148
boards.txt
|
|
@ -21338,4 +21338,152 @@ Edgebox-ESP-100.menu.EraseFlash.none.upload.erase_cmd=
|
|||
Edgebox-ESP-100.menu.EraseFlash.all=Enabled
|
||||
Edgebox-ESP-100.menu.EraseFlash.all.upload.erase_cmd=-e
|
||||
|
||||
##############################################################
|
||||
|
||||
crabik_slot_esp32_s3.name=Crabik Slot ESP32-S3
|
||||
crabik_slot_esp32_s3.vid.0=0x303a
|
||||
crabik_slot_esp32_s3.pid.0=0x1001
|
||||
|
||||
crabik_slot_esp32_s3.bootloader.tool=esptool_py
|
||||
crabik_slot_esp32_s3.bootloader.tool.default=esptool_py
|
||||
|
||||
crabik_slot_esp32_s3.upload.tool=esptool_py
|
||||
crabik_slot_esp32_s3.upload.tool.default=esptool_py
|
||||
crabik_slot_esp32_s3.upload.tool.network=esp_ota
|
||||
|
||||
crabik_slot_esp32_s3.upload.maximum_size=1310720
|
||||
crabik_slot_esp32_s3.upload.maximum_data_size=327680
|
||||
crabik_slot_esp32_s3.upload.speed=921600
|
||||
crabik_slot_esp32_s3.upload.flags=
|
||||
crabik_slot_esp32_s3.upload.extra_flags=
|
||||
crabik_slot_esp32_s3.upload.use_1200bps_touch=false
|
||||
crabik_slot_esp32_s3.upload.wait_for_upload_port=false
|
||||
|
||||
crabik_slot_esp32_s3.serial.disableDTR=false
|
||||
crabik_slot_esp32_s3.serial.disableRTS=false
|
||||
|
||||
crabik_slot_esp32_s3.build.tarch=xtensa
|
||||
crabik_slot_esp32_s3.build.bootloader_addr=0x0
|
||||
crabik_slot_esp32_s3.build.target=esp32s3
|
||||
crabik_slot_esp32_s3.build.mcu=esp32s3
|
||||
crabik_slot_esp32_s3.build.core=esp32
|
||||
crabik_slot_esp32_s3.build.variant=crabik_slot_esp32_s3
|
||||
crabik_slot_esp32_s3.build.board=CRABIK_SLOT_ESP32_S3
|
||||
|
||||
crabik_slot_esp32_s3.build.usb_mode=0
|
||||
crabik_slot_esp32_s3.build.cdc_on_boot=0
|
||||
crabik_slot_esp32_s3.build.msc_on_boot=0
|
||||
crabik_slot_esp32_s3.build.dfu_on_boot=0
|
||||
crabik_slot_esp32_s3.build.f_cpu=240000000L
|
||||
crabik_slot_esp32_s3.build.flash_size=8MB
|
||||
crabik_slot_esp32_s3.build.flash_freq=80m
|
||||
crabik_slot_esp32_s3.build.flash_mode=dio
|
||||
crabik_slot_esp32_s3.build.boot=qio
|
||||
crabik_slot_esp32_s3.build.partitions=default
|
||||
crabik_slot_esp32_s3.build.defines=
|
||||
crabik_slot_esp32_s3.build.memory_type=qio_qspi
|
||||
crabik_slot_esp32_s3.build.loop_core=
|
||||
crabik_slot_esp32_s3.build.event_core=
|
||||
|
||||
## IDE 2.0 Seems to not update the value
|
||||
crabik_slot_esp32_s3.menu.JTAGAdapter.default=Disabled
|
||||
crabik_slot_esp32_s3.menu.JTAGAdapter.default.build.copy_jtag_files=0
|
||||
crabik_slot_esp32_s3.menu.JTAGAdapter.builtin=Integrated USB JTAG
|
||||
crabik_slot_esp32_s3.menu.JTAGAdapter.builtin.build.openocdscript=esp32s3-builtin.cfg
|
||||
crabik_slot_esp32_s3.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
|
||||
|
||||
crabik_slot_esp32_s3.menu.LoopCore.1=Core 1
|
||||
crabik_slot_esp32_s3.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
|
||||
crabik_slot_esp32_s3.menu.LoopCore.0=Core 0
|
||||
crabik_slot_esp32_s3.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
|
||||
|
||||
crabik_slot_esp32_s3.menu.EventsCore.1=Core 1
|
||||
crabik_slot_esp32_s3.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
|
||||
crabik_slot_esp32_s3.menu.EventsCore.0=Core 0
|
||||
crabik_slot_esp32_s3.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
|
||||
|
||||
crabik_slot_esp32_s3.menu.CDCOnBoot.default=Enabled (Requires Hardware CDC and JTAG Mode)
|
||||
crabik_slot_esp32_s3.menu.CDCOnBoot.default.build.cdc_on_boot=1
|
||||
crabik_slot_esp32_s3.menu.CDCOnBoot.discdc=Disabled
|
||||
crabik_slot_esp32_s3.menu.CDCOnBoot.discdc.build.cdc_on_boot=0
|
||||
|
||||
crabik_slot_esp32_s3.menu.MSCOnBoot.default=Disabled
|
||||
crabik_slot_esp32_s3.menu.MSCOnBoot.default.build.msc_on_boot=0
|
||||
crabik_slot_esp32_s3.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode)
|
||||
crabik_slot_esp32_s3.menu.MSCOnBoot.msc.build.msc_on_boot=1
|
||||
|
||||
crabik_slot_esp32_s3.menu.USBMode.default=Hardware CDC and JTAG
|
||||
crabik_slot_esp32_s3.menu.USBMode.default.build.usb_mode=1
|
||||
crabik_slot_esp32_s3.menu.USBMode.default.build.cdc_on_boot=1
|
||||
crabik_slot_esp32_s3.menu.USBMode.usbotg=USB-OTG
|
||||
crabik_slot_esp32_s3.menu.USBMode.usbotg.build.usb_mode=0
|
||||
crabik_slot_esp32_s3.menu.USBMode.usbotg.build.cdc_on_boot=0
|
||||
|
||||
crabik_slot_esp32_s3.menu.UploadMode.default=UART0 / Hardware CDC
|
||||
crabik_slot_esp32_s3.menu.UploadMode.default.upload.use_1200bps_touch=false
|
||||
crabik_slot_esp32_s3.menu.UploadMode.default.upload.wait_for_upload_port=false
|
||||
crabik_slot_esp32_s3.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
|
||||
crabik_slot_esp32_s3.menu.UploadMode.cdc.upload.use_1200bps_touch=true
|
||||
crabik_slot_esp32_s3.menu.UploadMode.cdc.upload.wait_for_upload_port=true
|
||||
|
||||
crabik_slot_esp32_s3.menu.CPUFreq.240=240MHz (WiFi)
|
||||
crabik_slot_esp32_s3.menu.CPUFreq.240.build.f_cpu=240000000L
|
||||
crabik_slot_esp32_s3.menu.CPUFreq.160=160MHz (WiFi)
|
||||
crabik_slot_esp32_s3.menu.CPUFreq.160.build.f_cpu=160000000L
|
||||
crabik_slot_esp32_s3.menu.CPUFreq.80=80MHz (WiFi)
|
||||
crabik_slot_esp32_s3.menu.CPUFreq.80.build.f_cpu=80000000L
|
||||
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.default=8M Flash (3MB APP/1.5MB FATFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.default.build.partitions=default_8MB
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.default.upload.maximum_size=3342336
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.default_4MB=4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.default_4MB.build.partitions=default
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.defaultffat=4MB with ffat (1.2MB APP/1.5MB FATFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.no_ota.build.partitions=no_ota
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
|
||||
crabik_slot_esp32_s3.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
|
||||
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.921600=921600
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.921600.upload.speed=921600
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.115200=115200
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.115200.upload.speed=115200
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.256000.windows=256000
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.256000.upload.speed=256000
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.230400.windows.upload.speed=256000
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.230400=230400
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.230400.upload.speed=230400
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.460800.linux=460800
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.460800.macosx=460800
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.460800.upload.speed=460800
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.512000.windows=512000
|
||||
crabik_slot_esp32_s3.menu.UploadSpeed.512000.upload.speed=512000
|
||||
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.none=None
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.none.build.code_debug=0
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.error=Error
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.error.build.code_debug=1
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.warn=Warn
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.warn.build.code_debug=2
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.info=Info
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.info.build.code_debug=3
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.debug=Debug
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.debug.build.code_debug=4
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.verbose=Verbose
|
||||
crabik_slot_esp32_s3.menu.DebugLevel.verbose.build.code_debug=5
|
||||
|
||||
crabik_slot_esp32_s3.menu.EraseFlash.none=Disabled
|
||||
crabik_slot_esp32_s3.menu.EraseFlash.none.upload.erase_cmd=
|
||||
crabik_slot_esp32_s3.menu.EraseFlash.all=Enabled
|
||||
crabik_slot_esp32_s3.menu.EraseFlash.all.upload.erase_cmd=-e
|
||||
|
||||
##############################################################
|
||||
88
variants/crabik_slot_esp32_s3/pins_arduino.h
Normal file
88
variants/crabik_slot_esp32_s3/pins_arduino.h
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
#ifndef Pins_Arduino_h
|
||||
#define Pins_Arduino_h
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define USB_VID 0x303a
|
||||
#define USB_PID 0x814D // for user apps (https://github.com/espressif/usb-pids/pull/77)
|
||||
#define USB_MANUFACTURER "Crabik"
|
||||
#define USB_PRODUCT "Slot ESP32-S3"
|
||||
#define USB_SERIAL ""
|
||||
|
||||
#define EXTERNAL_NUM_INTERRUPTS 46
|
||||
#define NUM_DIGITAL_PINS 48
|
||||
#define NUM_ANALOG_INPUTS 20
|
||||
|
||||
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
|
||||
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
|
||||
#define digitalPinHasPWM(p) (p < 46)
|
||||
|
||||
static const uint8_t LED_BUILTIN = 21;
|
||||
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||
#define LED_BUILTIN LED_BUILTIN
|
||||
|
||||
static const uint8_t S1 = 1;
|
||||
static const uint8_t S2 = 12;
|
||||
static const uint8_t S3 = 2;
|
||||
static const uint8_t S4 = 11;
|
||||
static const uint8_t S5 = 17;
|
||||
static const uint8_t S6 = 18;
|
||||
static const uint8_t S7 = 3;
|
||||
static const uint8_t S8 = 4;
|
||||
static const uint8_t S9 = 5;
|
||||
static const uint8_t S10 = 6;
|
||||
static const uint8_t S11 = 7;
|
||||
static const uint8_t S12 = 8;
|
||||
static const uint8_t S13 = 9;
|
||||
static const uint8_t S14 = 10;
|
||||
static const uint8_t S15 = 45;
|
||||
static const uint8_t S16 = 46;
|
||||
static const uint8_t S17 = 48;
|
||||
static const uint8_t S18 = 47;
|
||||
static const uint8_t S19 = 33;
|
||||
static const uint8_t S20 = 34;
|
||||
|
||||
static const uint8_t TX = S12;
|
||||
static const uint8_t RX = S11;
|
||||
#define TX1 TX
|
||||
#define RX1 RX
|
||||
|
||||
static const uint8_t SDA = 13;
|
||||
static const uint8_t SCL = 14;
|
||||
static const uint8_t D = SDA;
|
||||
static const uint8_t C = SCL;
|
||||
|
||||
static const uint8_t MOSI = 35;
|
||||
static const uint8_t MISO = 37;
|
||||
static const uint8_t SCK = 36;
|
||||
static const uint8_t DO = MOSI;
|
||||
static const uint8_t DI = MISO;
|
||||
static const uint8_t CLK = SCK;
|
||||
static const uint8_t CS1 = S5;
|
||||
static const uint8_t CS2 = S6;
|
||||
static const uint8_t SS = CS1;
|
||||
|
||||
static const uint8_t T1 = 1;
|
||||
static const uint8_t T2 = 2;
|
||||
static const uint8_t T3 = 3;
|
||||
static const uint8_t T4 = 4;
|
||||
static const uint8_t T5 = 5;
|
||||
static const uint8_t T6 = 6;
|
||||
static const uint8_t T7 = 7;
|
||||
static const uint8_t T8 = 8;
|
||||
static const uint8_t T9 = 9;
|
||||
static const uint8_t T10 = 10;
|
||||
static const uint8_t T11 = 11;
|
||||
static const uint8_t T12 = 12;
|
||||
|
||||
static const uint8_t USB_DN = 19;
|
||||
static const uint8_t USB_DP = 20;
|
||||
|
||||
static const uint8_t BOOT_BTN = 0;
|
||||
static const uint8_t USER_LED = LED_BUILTIN;
|
||||
|
||||
static const uint8_t EN_TROYKA = 15;
|
||||
|
||||
static const uint8_t LIPO_ALERT = 16;
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
||||
Loading…
Reference in a new issue