Skip to content

Commit 51b2fb3

Browse files
authored
Add our new board "cezerio dev ESP32C6" (#10462)
* Add cezerio dev ESP32-C6 * Modify pin number of cezerio dev ESP32C6 Modify pin number of cezerio dev ESP32C6 * Update boards.txt * Update USB_PID Update USB_PID * Update boards.txt Deleted flash and partition options related in flash size bigger than 4MB * Update pins_arduino.h * Merge manually to solve conflicts * Resolve Conflicts * Add cezerio dev ESP32-C6 * Modify pin number of cezerio dev ESP32C6 Modify pin number of cezerio dev ESP32C6 * Update boards.txt * Update USB_PID Update USB_PID * Update pins_arduino.h * Add cezerio dev ESP32C6 * Update pins_arduino.h * Update pins_arduino.h * Update pins_arduino.h
1 parent 7849a79 commit 51b2fb3

File tree

2 files changed

+225
-0
lines changed

2 files changed

+225
-0
lines changed

boards.txt

+173
Original file line numberDiff line numberDiff line change
@@ -43957,3 +43957,176 @@ waveshare_esp32_s3_touch_lcd_4.menu.EraseFlash.all=Enabled
4395743957
waveshare_esp32_s3_touch_lcd_4.menu.EraseFlash.all.upload.erase_cmd=-e
4395843958

4395943959
##############################################################
43960+
43961+
cezerio_dev_esp32c6.name=cezerio dev ESP32C6
43962+
43963+
cezerio_dev_esp32c6.bootloader.tool=esptool_py
43964+
cezerio_dev_esp32c6.bootloader.tool.default=esptool_py
43965+
43966+
cezerio_dev_esp32c6.upload.tool=esptool_py
43967+
cezerio_dev_esp32c6.upload.tool.default=esptool_py
43968+
cezerio_dev_esp32c6.upload.tool.network=esp_ota
43969+
43970+
cezerio_dev_esp32c6.upload.maximum_size=1310720
43971+
cezerio_dev_esp32c6.upload.maximum_data_size=327680
43972+
cezerio_dev_esp32c6.upload.flags=
43973+
cezerio_dev_esp32c6.upload.extra_flags=
43974+
cezerio_dev_esp32c6.upload.use_1200bps_touch=false
43975+
cezerio_dev_esp32c6.upload.wait_for_upload_port=false
43976+
43977+
cezerio_dev_esp32c6.serial.disableDTR=false
43978+
cezerio_dev_esp32c6.serial.disableRTS=false
43979+
43980+
cezerio_dev_esp32c6.build.tarch=riscv32
43981+
cezerio_dev_esp32c6.build.target=esp
43982+
cezerio_dev_esp32c6.build.mcu=esp32c6
43983+
cezerio_dev_esp32c6.build.core=esp32
43984+
cezerio_dev_esp32c6.build.variant=cezerio_dev_esp32c6
43985+
cezerio_dev_esp32c6.build.board=CEZERIO_DEV_ESP32C6
43986+
cezerio_dev_esp32c6.build.bootloader_addr=0x0
43987+
43988+
cezerio_dev_esp32c6.build.cdc_on_boot=0
43989+
cezerio_dev_esp32c6.build.f_cpu=160000000L
43990+
cezerio_dev_esp32c6.build.flash_size=4MB
43991+
cezerio_dev_esp32c6.build.flash_freq=80m
43992+
cezerio_dev_esp32c6.build.flash_mode=qio
43993+
cezerio_dev_esp32c6.build.boot=qio
43994+
cezerio_dev_esp32c6.build.partitions=default
43995+
cezerio_dev_esp32c6.build.defines=
43996+
43997+
## IDE 2.0 Seems to not update the value
43998+
cezerio_dev_esp32c6.menu.JTAGAdapter.default=Disabled
43999+
cezerio_dev_esp32c6.menu.JTAGAdapter.default.build.copy_jtag_files=0
44000+
cezerio_dev_esp32c6.menu.JTAGAdapter.builtin=Integrated USB JTAG
44001+
cezerio_dev_esp32c6.menu.JTAGAdapter.builtin.build.openocdscript=esp32c6-builtin.cfg
44002+
cezerio_dev_esp32c6.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
44003+
cezerio_dev_esp32c6.menu.JTAGAdapter.external=FTDI Adapter
44004+
cezerio_dev_esp32c6.menu.JTAGAdapter.external.build.openocdscript=esp32c6-ftdi.cfg
44005+
cezerio_dev_esp32c6.menu.JTAGAdapter.external.build.copy_jtag_files=1
44006+
cezerio_dev_esp32c6.menu.JTAGAdapter.bridge=ESP USB Bridge
44007+
cezerio_dev_esp32c6.menu.JTAGAdapter.bridge.build.openocdscript=esp32c6-bridge.cfg
44008+
cezerio_dev_esp32c6.menu.JTAGAdapter.bridge.build.copy_jtag_files=1
44009+
44010+
cezerio_dev_esp32c6.menu.CDCOnBoot.default=Enabled
44011+
cezerio_dev_esp32c6.menu.CDCOnBoot.default.build.cdc_on_boot=1
44012+
cezerio_dev_esp32c6.menu.CDCOnBoot.cdc=Disabled
44013+
cezerio_dev_esp32c6.menu.CDCOnBoot.cdc.build.cdc_on_boot=0
44014+
44015+
cezerio_dev_esp32c6.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
44016+
cezerio_dev_esp32c6.menu.PartitionScheme.default.build.partitions=default
44017+
cezerio_dev_esp32c6.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
44018+
cezerio_dev_esp32c6.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
44019+
cezerio_dev_esp32c6.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
44020+
cezerio_dev_esp32c6.menu.PartitionScheme.minimal.build.partitions=minimal
44021+
cezerio_dev_esp32c6.menu.PartitionScheme.no_fs=No FS 4MB (2MB APP x2)
44022+
cezerio_dev_esp32c6.menu.PartitionScheme.no_fs.build.partitions=no_fs
44023+
cezerio_dev_esp32c6.menu.PartitionScheme.no_fs.upload.maximum_size=2031616
44024+
cezerio_dev_esp32c6.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
44025+
cezerio_dev_esp32c6.menu.PartitionScheme.no_ota.build.partitions=no_ota
44026+
cezerio_dev_esp32c6.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
44027+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
44028+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
44029+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
44030+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
44031+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
44032+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
44033+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
44034+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
44035+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
44036+
cezerio_dev_esp32c6.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
44037+
cezerio_dev_esp32c6.menu.PartitionScheme.huge_app.build.partitions=huge_app
44038+
cezerio_dev_esp32c6.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
44039+
cezerio_dev_esp32c6.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
44040+
cezerio_dev_esp32c6.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
44041+
cezerio_dev_esp32c6.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
44042+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker=RainMaker 4MB
44043+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
44044+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker.upload.maximum_size=1966080
44045+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB=RainMaker 4MB No OTA
44046+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB.build.partitions=rainmaker_4MB_no_ota
44047+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB.upload.maximum_size=4038656
44048+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee=Zigbee 4MB with spiffs
44049+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee.build.partitions=zigbee
44050+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee.upload.maximum_size=1310720
44051+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee_zczr=Zigbee ZCZR 4MB with spiffs
44052+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee_zczr.build.partitions=zigbee_zczr
44053+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee_zczr.upload.maximum_size=1310720
44054+
cezerio_dev_esp32c6.menu.PartitionScheme.custom=Custom
44055+
cezerio_dev_esp32c6.menu.PartitionScheme.custom.build.partitions=
44056+
cezerio_dev_esp32c6.menu.PartitionScheme.custom.upload.maximum_size=16777216
44057+
44058+
cezerio_dev_esp32c6.menu.CPUFreq.160=160MHz (WiFi)
44059+
cezerio_dev_esp32c6.menu.CPUFreq.160.build.f_cpu=160000000L
44060+
cezerio_dev_esp32c6.menu.CPUFreq.120=120MHz (WiFi)
44061+
cezerio_dev_esp32c6.menu.CPUFreq.120.build.f_cpu=120000000L
44062+
cezerio_dev_esp32c6.menu.CPUFreq.80=80MHz (WiFi)
44063+
cezerio_dev_esp32c6.menu.CPUFreq.80.build.f_cpu=80000000L
44064+
cezerio_dev_esp32c6.menu.CPUFreq.40=40MHz
44065+
cezerio_dev_esp32c6.menu.CPUFreq.40.build.f_cpu=40000000L
44066+
cezerio_dev_esp32c6.menu.CPUFreq.20=20MHz
44067+
cezerio_dev_esp32c6.menu.CPUFreq.20.build.f_cpu=20000000L
44068+
cezerio_dev_esp32c6.menu.CPUFreq.10=10MHz
44069+
cezerio_dev_esp32c6.menu.CPUFreq.10.build.f_cpu=10000000L
44070+
44071+
cezerio_dev_esp32c6.menu.FlashMode.qio=QIO
44072+
cezerio_dev_esp32c6.menu.FlashMode.qio.build.flash_mode=dio
44073+
cezerio_dev_esp32c6.menu.FlashMode.qio.build.boot=qio
44074+
cezerio_dev_esp32c6.menu.FlashMode.dio=DIO
44075+
cezerio_dev_esp32c6.menu.FlashMode.dio.build.flash_mode=dio
44076+
cezerio_dev_esp32c6.menu.FlashMode.dio.build.boot=dio
44077+
44078+
cezerio_dev_esp32c6.menu.FlashFreq.80=80MHz
44079+
cezerio_dev_esp32c6.menu.FlashFreq.80.build.flash_freq=80m
44080+
cezerio_dev_esp32c6.menu.FlashFreq.40=40MHz
44081+
cezerio_dev_esp32c6.menu.FlashFreq.40.build.flash_freq=40m
44082+
44083+
cezerio_dev_esp32c6.menu.FlashSize.4M=4MB (32Mb)
44084+
cezerio_dev_esp32c6.menu.FlashSize.4M.build.flash_size=4MB
44085+
44086+
cezerio_dev_esp32c6.menu.UploadSpeed.921600=921600
44087+
cezerio_dev_esp32c6.menu.UploadSpeed.921600.upload.speed=921600
44088+
cezerio_dev_esp32c6.menu.UploadSpeed.115200=115200
44089+
cezerio_dev_esp32c6.menu.UploadSpeed.115200.upload.speed=115200
44090+
cezerio_dev_esp32c6.menu.UploadSpeed.256000.windows=256000
44091+
cezerio_dev_esp32c6.menu.UploadSpeed.256000.upload.speed=256000
44092+
cezerio_dev_esp32c6.menu.UploadSpeed.230400.windows.upload.speed=256000
44093+
cezerio_dev_esp32c6.menu.UploadSpeed.230400=230400
44094+
cezerio_dev_esp32c6.menu.UploadSpeed.230400.upload.speed=230400
44095+
cezerio_dev_esp32c6.menu.UploadSpeed.460800.linux=460800
44096+
cezerio_dev_esp32c6.menu.UploadSpeed.460800.macosx=460800
44097+
cezerio_dev_esp32c6.menu.UploadSpeed.460800.upload.speed=460800
44098+
cezerio_dev_esp32c6.menu.UploadSpeed.512000.windows=512000
44099+
cezerio_dev_esp32c6.menu.UploadSpeed.512000.upload.speed=512000
44100+
44101+
cezerio_dev_esp32c6.menu.DebugLevel.none=None
44102+
cezerio_dev_esp32c6.menu.DebugLevel.none.build.code_debug=0
44103+
cezerio_dev_esp32c6.menu.DebugLevel.error=Error
44104+
cezerio_dev_esp32c6.menu.DebugLevel.error.build.code_debug=1
44105+
cezerio_dev_esp32c6.menu.DebugLevel.warn=Warn
44106+
cezerio_dev_esp32c6.menu.DebugLevel.warn.build.code_debug=2
44107+
cezerio_dev_esp32c6.menu.DebugLevel.info=Info
44108+
cezerio_dev_esp32c6.menu.DebugLevel.info.build.code_debug=3
44109+
cezerio_dev_esp32c6.menu.DebugLevel.debug=Debug
44110+
cezerio_dev_esp32c6.menu.DebugLevel.debug.build.code_debug=4
44111+
cezerio_dev_esp32c6.menu.DebugLevel.verbose=Verbose
44112+
cezerio_dev_esp32c6.menu.DebugLevel.verbose.build.code_debug=5
44113+
44114+
cezerio_dev_esp32c6.menu.EraseFlash.none=Disabled
44115+
cezerio_dev_esp32c6.menu.EraseFlash.none.upload.erase_cmd=
44116+
cezerio_dev_esp32c6.menu.EraseFlash.all=Enabled
44117+
cezerio_dev_esp32c6.menu.EraseFlash.all.upload.erase_cmd=-e
44118+
44119+
cezerio_dev_esp32c6.menu.ZigbeeMode.default=Disabled
44120+
cezerio_dev_esp32c6.menu.ZigbeeMode.default.build.zigbee_mode=
44121+
cezerio_dev_esp32c6.menu.ZigbeeMode.default.build.zigbee_libs=
44122+
cezerio_dev_esp32c6.menu.ZigbeeMode.ed=Zigbee ED (end device)
44123+
cezerio_dev_esp32c6.menu.ZigbeeMode.ed.build.zigbee_mode=-DZIGBEE_MODE_ED
44124+
cezerio_dev_esp32c6.menu.ZigbeeMode.ed.build.zigbee_libs=-lesp_zb_api_ed -lesp_zb_cli_command -lzboss_stack.ed -lzboss_port
44125+
cezerio_dev_esp32c6.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinator)
44126+
cezerio_dev_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR
44127+
cezerio_dev_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr -lzboss_port
44128+
cezerio_dev_esp32c6.menu.ZigbeeMode.rcp=Zigbee RCP (radio co-processor)
44129+
cezerio_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_mode=-DZIGBEE_MODE_RCP
44130+
cezerio_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_libs=-lesp_zb_api_rcp -lesp_zb_cli_command -lzboss_stack.rcp -lzboss_port
44131+
44132+
##############################################################
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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 0x1001
9+
#define USB_MANUFACTURER "RFtek Electronics"
10+
#define USB_PRODUCT "cezerio dev ESP32C6"
11+
#define USB_SERIAL ""
12+
13+
#define PIN_RGB_LED 3
14+
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
15+
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED;
16+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
17+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
18+
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite()
19+
#define RGB_BUILTIN LED_BUILTIN
20+
#define RGBLED LED_BUILTIN
21+
#define RGB_BRIGHTNESS 64
22+
23+
static const uint8_t BUT_BUILTIN = 9;
24+
#define BUILTIN_BUT BUT_BUILTIN // backward compatibility
25+
#define BUT_BUILTIN BUT_BUILTIN // allow testing #ifdef BUT_BUILTIN
26+
#define BOOT BUT_BUILTIN
27+
28+
static const uint8_t TX = 16;
29+
static const uint8_t RX = 17;
30+
31+
static const uint8_t SDA = 8;
32+
static const uint8_t SCL = 7;
33+
34+
static const uint8_t SS = 14;
35+
static const uint8_t MOSI = 22;
36+
static const uint8_t MISO = 23;
37+
static const uint8_t SCK = 21;
38+
39+
static const uint8_t A0 = 0;
40+
static const uint8_t A1 = 1;
41+
static const uint8_t A2 = 2;
42+
static const uint8_t A3 = 3;
43+
static const uint8_t A4 = 4;
44+
static const uint8_t A5 = 5;
45+
static const uint8_t A6 = 6;
46+
47+
static const uint8_t MATRIX = 18;
48+
49+
static const uint8_t IMUSD = 8;
50+
static const uint8_t IMUSC = 7;
51+
52+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)