Skip to content

Commit fd7c2ca

Browse files
committed
Add cezerio dev ESP32-C6
1 parent 7018cd1 commit fd7c2ca

File tree

2 files changed

+238
-0
lines changed

2 files changed

+238
-0
lines changed

boards.txt

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41628,3 +41628,196 @@ waveshare_esp32_s3_touch_amoled_241.menu.EraseFlash.all=Enabled
4162841628
waveshare_esp32_s3_touch_amoled_241.menu.EraseFlash.all.upload.erase_cmd=-e
4162941629

4163041630
##############################################################
41631+
41632+
cezerio_dev_esp32c6.name=CEZERIO DEV ESP32-C6
41633+
41634+
cezerio_dev_esp32c6.bootloader.tool=esptool_py
41635+
cezerio_dev_esp32c6.bootloader.tool.default=esptool_py
41636+
41637+
cezerio_dev_esp32c6.upload.tool=esptool_py
41638+
cezerio_dev_esp32c6.upload.tool.default=esptool_py
41639+
cezerio_dev_esp32c6.upload.tool.network=esp_ota
41640+
41641+
cezerio_dev_esp32c6.upload.maximum_size=1310720
41642+
cezerio_dev_esp32c6.upload.maximum_data_size=327680
41643+
cezerio_dev_esp32c6.upload.flags=
41644+
cezerio_dev_esp32c6.upload.extra_flags=
41645+
cezerio_dev_esp32c6.upload.use_1200bps_touch=false
41646+
cezerio_dev_esp32c6.upload.wait_for_upload_port=false
41647+
41648+
cezerio_dev_esp32c6.serial.disableDTR=false
41649+
cezerio_dev_esp32c6.serial.disableRTS=false
41650+
41651+
cezerio_dev_esp32c6.build.tarch=riscv32
41652+
cezerio_dev_esp32c6.build.target=esp
41653+
cezerio_dev_esp32c6.build.mcu=esp32c6
41654+
cezerio_dev_esp32c6.build.core=esp32
41655+
cezerio_dev_esp32c6.build.variant=cezerio_dev_esp32c6
41656+
cezerio_dev_esp32c6.build.board=CEZERIO_DEV_ESP32C6
41657+
cezerio_dev_esp32c6.build.bootloader_addr=0x0
41658+
41659+
cezerio_dev_esp32c6.build.cdc_on_boot=0
41660+
cezerio_dev_esp32c6.build.f_cpu=160000000L
41661+
cezerio_dev_esp32c6.build.flash_size=4MB
41662+
cezerio_dev_esp32c6.build.flash_freq=80m
41663+
cezerio_dev_esp32c6.build.flash_mode=qio
41664+
cezerio_dev_esp32c6.build.boot=qio
41665+
cezerio_dev_esp32c6.build.partitions=default
41666+
cezerio_dev_esp32c6.build.defines=
41667+
41668+
## IDE 2.0 Seems to not update the value
41669+
cezerio_dev_esp32c6.menu.JTAGAdapter.default=Disabled
41670+
cezerio_dev_esp32c6.menu.JTAGAdapter.default.build.copy_jtag_files=0
41671+
cezerio_dev_esp32c6.menu.JTAGAdapter.builtin=Integrated USB JTAG
41672+
cezerio_dev_esp32c6.menu.JTAGAdapter.builtin.build.openocdscript=esp32c6-builtin.cfg
41673+
cezerio_dev_esp32c6.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
41674+
cezerio_dev_esp32c6.menu.JTAGAdapter.external=FTDI Adapter
41675+
cezerio_dev_esp32c6.menu.JTAGAdapter.external.build.openocdscript=esp32c6-ftdi.cfg
41676+
cezerio_dev_esp32c6.menu.JTAGAdapter.external.build.copy_jtag_files=1
41677+
cezerio_dev_esp32c6.menu.JTAGAdapter.bridge=ESP USB Bridge
41678+
cezerio_dev_esp32c6.menu.JTAGAdapter.bridge.build.openocdscript=esp32c6-bridge.cfg
41679+
cezerio_dev_esp32c6.menu.JTAGAdapter.bridge.build.copy_jtag_files=1
41680+
41681+
cezerio_dev_esp32c6.menu.CDCOnBoot.default=Enabled
41682+
cezerio_dev_esp32c6.menu.CDCOnBoot.default.build.cdc_on_boot=1
41683+
cezerio_dev_esp32c6.menu.CDCOnBoot.cdc=Disabled
41684+
cezerio_dev_esp32c6.menu.CDCOnBoot.cdc.build.cdc_on_boot=0
41685+
41686+
cezerio_dev_esp32c6.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
41687+
cezerio_dev_esp32c6.menu.PartitionScheme.default.build.partitions=default
41688+
cezerio_dev_esp32c6.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
41689+
cezerio_dev_esp32c6.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
41690+
cezerio_dev_esp32c6.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
41691+
cezerio_dev_esp32c6.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
41692+
cezerio_dev_esp32c6.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
41693+
cezerio_dev_esp32c6.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
41694+
cezerio_dev_esp32c6.menu.PartitionScheme.minimal.build.partitions=minimal
41695+
cezerio_dev_esp32c6.menu.PartitionScheme.no_fs=No FS 4MB (2MB APP x2)
41696+
cezerio_dev_esp32c6.menu.PartitionScheme.no_fs.build.partitions=no_fs
41697+
cezerio_dev_esp32c6.menu.PartitionScheme.no_fs.upload.maximum_size=2031616
41698+
cezerio_dev_esp32c6.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
41699+
cezerio_dev_esp32c6.menu.PartitionScheme.no_ota.build.partitions=no_ota
41700+
cezerio_dev_esp32c6.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
41701+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
41702+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
41703+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
41704+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
41705+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
41706+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
41707+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
41708+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
41709+
cezerio_dev_esp32c6.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
41710+
cezerio_dev_esp32c6.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
41711+
cezerio_dev_esp32c6.menu.PartitionScheme.huge_app.build.partitions=huge_app
41712+
cezerio_dev_esp32c6.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
41713+
cezerio_dev_esp32c6.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
41714+
cezerio_dev_esp32c6.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
41715+
cezerio_dev_esp32c6.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
41716+
cezerio_dev_esp32c6.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS)
41717+
cezerio_dev_esp32c6.menu.PartitionScheme.fatflash.build.partitions=ffat
41718+
cezerio_dev_esp32c6.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
41719+
cezerio_dev_esp32c6.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS)
41720+
cezerio_dev_esp32c6.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
41721+
cezerio_dev_esp32c6.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
41722+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker=RainMaker 4MB
41723+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
41724+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker.upload.maximum_size=1966080
41725+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB=RainMaker 4MB No OTA
41726+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB.build.partitions=rainmaker_4MB_no_ota
41727+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB.upload.maximum_size=4038656
41728+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_8MB=RainMaker 8MB
41729+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_8MB.build.partitions=rainmaker_8MB
41730+
cezerio_dev_esp32c6.menu.PartitionScheme.rainmaker_8MB.upload.maximum_size=4116480
41731+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee=Zigbee 4MB with spiffs
41732+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee.build.partitions=zigbee
41733+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee.upload.maximum_size=1310720
41734+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee_zczr=Zigbee ZCZR 4MB with spiffs
41735+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee_zczr.build.partitions=zigbee_zczr
41736+
cezerio_dev_esp32c6.menu.PartitionScheme.zigbee_zczr.upload.maximum_size=1310720
41737+
cezerio_dev_esp32c6.menu.PartitionScheme.custom=Custom
41738+
cezerio_dev_esp32c6.menu.PartitionScheme.custom.build.partitions=
41739+
cezerio_dev_esp32c6.menu.PartitionScheme.custom.upload.maximum_size=16777216
41740+
41741+
cezerio_dev_esp32c6.menu.CPUFreq.160=160MHz (WiFi)
41742+
cezerio_dev_esp32c6.menu.CPUFreq.160.build.f_cpu=160000000L
41743+
cezerio_dev_esp32c6.menu.CPUFreq.120=120MHz (WiFi)
41744+
cezerio_dev_esp32c6.menu.CPUFreq.120.build.f_cpu=120000000L
41745+
cezerio_dev_esp32c6.menu.CPUFreq.80=80MHz (WiFi)
41746+
cezerio_dev_esp32c6.menu.CPUFreq.80.build.f_cpu=80000000L
41747+
cezerio_dev_esp32c6.menu.CPUFreq.40=40MHz
41748+
cezerio_dev_esp32c6.menu.CPUFreq.40.build.f_cpu=40000000L
41749+
cezerio_dev_esp32c6.menu.CPUFreq.20=20MHz
41750+
cezerio_dev_esp32c6.menu.CPUFreq.20.build.f_cpu=20000000L
41751+
cezerio_dev_esp32c6.menu.CPUFreq.10=10MHz
41752+
cezerio_dev_esp32c6.menu.CPUFreq.10.build.f_cpu=10000000L
41753+
41754+
cezerio_dev_esp32c6.menu.FlashMode.qio=QIO
41755+
cezerio_dev_esp32c6.menu.FlashMode.qio.build.flash_mode=dio
41756+
cezerio_dev_esp32c6.menu.FlashMode.qio.build.boot=qio
41757+
cezerio_dev_esp32c6.menu.FlashMode.dio=DIO
41758+
cezerio_dev_esp32c6.menu.FlashMode.dio.build.flash_mode=dio
41759+
cezerio_dev_esp32c6.menu.FlashMode.dio.build.boot=dio
41760+
41761+
cezerio_dev_esp32c6.menu.FlashFreq.80=80MHz
41762+
cezerio_dev_esp32c6.menu.FlashFreq.80.build.flash_freq=80m
41763+
cezerio_dev_esp32c6.menu.FlashFreq.40=40MHz
41764+
cezerio_dev_esp32c6.menu.FlashFreq.40.build.flash_freq=40m
41765+
41766+
cezerio_dev_esp32c6.menu.FlashSize.4M=4MB (32Mb)
41767+
cezerio_dev_esp32c6.menu.FlashSize.4M.build.flash_size=4MB
41768+
cezerio_dev_esp32c6.menu.FlashSize.8M=8MB (64Mb)
41769+
cezerio_dev_esp32c6.menu.FlashSize.8M.build.flash_size=8MB
41770+
cezerio_dev_esp32c6.menu.FlashSize.8M.build.partitions=default_8MB
41771+
cezerio_dev_esp32c6.menu.FlashSize.2M=2MB (16Mb)
41772+
cezerio_dev_esp32c6.menu.FlashSize.2M.build.flash_size=2MB
41773+
cezerio_dev_esp32c6.menu.FlashSize.2M.build.partitions=minimal
41774+
cezerio_dev_esp32c6.menu.FlashSize.16M=16MB (128Mb)
41775+
cezerio_dev_esp32c6.menu.FlashSize.16M.build.flash_size=16MB
41776+
41777+
cezerio_dev_esp32c6.menu.UploadSpeed.921600=921600
41778+
cezerio_dev_esp32c6.menu.UploadSpeed.921600.upload.speed=921600
41779+
cezerio_dev_esp32c6.menu.UploadSpeed.115200=115200
41780+
cezerio_dev_esp32c6.menu.UploadSpeed.115200.upload.speed=115200
41781+
cezerio_dev_esp32c6.menu.UploadSpeed.256000.windows=256000
41782+
cezerio_dev_esp32c6.menu.UploadSpeed.256000.upload.speed=256000
41783+
cezerio_dev_esp32c6.menu.UploadSpeed.230400.windows.upload.speed=256000
41784+
cezerio_dev_esp32c6.menu.UploadSpeed.230400=230400
41785+
cezerio_dev_esp32c6.menu.UploadSpeed.230400.upload.speed=230400
41786+
cezerio_dev_esp32c6.menu.UploadSpeed.460800.linux=460800
41787+
cezerio_dev_esp32c6.menu.UploadSpeed.460800.macosx=460800
41788+
cezerio_dev_esp32c6.menu.UploadSpeed.460800.upload.speed=460800
41789+
cezerio_dev_esp32c6.menu.UploadSpeed.512000.windows=512000
41790+
cezerio_dev_esp32c6.menu.UploadSpeed.512000.upload.speed=512000
41791+
41792+
cezerio_dev_esp32c6.menu.DebugLevel.none=None
41793+
cezerio_dev_esp32c6.menu.DebugLevel.none.build.code_debug=0
41794+
cezerio_dev_esp32c6.menu.DebugLevel.error=Error
41795+
cezerio_dev_esp32c6.menu.DebugLevel.error.build.code_debug=1
41796+
cezerio_dev_esp32c6.menu.DebugLevel.warn=Warn
41797+
cezerio_dev_esp32c6.menu.DebugLevel.warn.build.code_debug=2
41798+
cezerio_dev_esp32c6.menu.DebugLevel.info=Info
41799+
cezerio_dev_esp32c6.menu.DebugLevel.info.build.code_debug=3
41800+
cezerio_dev_esp32c6.menu.DebugLevel.debug=Debug
41801+
cezerio_dev_esp32c6.menu.DebugLevel.debug.build.code_debug=4
41802+
cezerio_dev_esp32c6.menu.DebugLevel.verbose=Verbose
41803+
cezerio_dev_esp32c6.menu.DebugLevel.verbose.build.code_debug=5
41804+
41805+
cezerio_dev_esp32c6.menu.EraseFlash.none=Disabled
41806+
cezerio_dev_esp32c6.menu.EraseFlash.none.upload.erase_cmd=
41807+
cezerio_dev_esp32c6.menu.EraseFlash.all=Enabled
41808+
cezerio_dev_esp32c6.menu.EraseFlash.all.upload.erase_cmd=-e
41809+
41810+
cezerio_dev_esp32c6.menu.ZigbeeMode.default=Disabled
41811+
cezerio_dev_esp32c6.menu.ZigbeeMode.default.build.zigbee_mode=
41812+
cezerio_dev_esp32c6.menu.ZigbeeMode.default.build.zigbee_libs=
41813+
cezerio_dev_esp32c6.menu.ZigbeeMode.ed=Zigbee ED (end device)
41814+
cezerio_dev_esp32c6.menu.ZigbeeMode.ed.build.zigbee_mode=-DZIGBEE_MODE_ED
41815+
cezerio_dev_esp32c6.menu.ZigbeeMode.ed.build.zigbee_libs=-lesp_zb_api_ed -lesp_zb_cli_command -lzboss_stack.ed -lzboss_port
41816+
cezerio_dev_esp32c6.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinator)
41817+
cezerio_dev_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR
41818+
cezerio_dev_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr -lzboss_port
41819+
cezerio_dev_esp32c6.menu.ZigbeeMode.rcp=Zigbee RCP (radio co-processor)
41820+
cezerio_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_mode=-DZIGBEE_MODE_RCP
41821+
cezerio_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_libs=-lesp_zb_api_rcp -lesp_zb_cli_command -lzboss_stack.rcp -lzboss_port
41822+
41823+
##############################################################
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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 //set uniq PID
9+
#define USB_MANUFACTURER "RFtek Electronics"
10+
#define USB_PRODUCT "CEZERIO DEV ESP32-C6"
11+
#define USB_SERIAL ""
12+
13+
#define PIN_RGB_LED 8
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 RGB_BRIGHTNESS 64
21+
22+
static const uint8_t BUT_BUILTIN = 9;
23+
#define BUILTIN_BUT BUT_BUILTIN // backward compatibility
24+
#define BUT_BUILTIN BUT_BUILTIN // allow testing #ifdef BUT_BUILTIN
25+
26+
static const uint8_t TX = 16;
27+
static const uint8_t RX = 17;
28+
29+
static const uint8_t SDA = 19;
30+
static const uint8_t SCL = 18;
31+
32+
static const uint8_t SS = 0;
33+
static const uint8_t MOSI = 22;
34+
static const uint8_t MISO = 23;
35+
static const uint8_t SCK = 21;
36+
37+
static const uint8_t A0 = 1;
38+
static const uint8_t A1 = 4;
39+
static const uint8_t A2 = 6;
40+
static const uint8_t A3 = 5;
41+
static const uint8_t A4 = 3;
42+
static const uint8_t A5 = 2;
43+
static const uint8_t A6 = 0;
44+
45+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)