Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add our new development board "cezerio mini dev ESP32C6" #10648

Merged
merged 31 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fd7c2ca
Add cezerio dev ESP32-C6
DogushC Sep 24, 2024
0fb0b4b
Merge branch 'espressif:master' into master
DogushC Sep 24, 2024
04ab7c0
Merge branch 'espressif:master' into master
DogushC Oct 15, 2024
89e50a8
Modify pin number of cezerio dev ESP32C6
DogushC Oct 15, 2024
a9fd30e
Update boards.txt
DogushC Oct 15, 2024
eab0ebe
Update USB_PID
DogushC Oct 15, 2024
6fd01bb
Merge branch 'espressif:master' into master
DogushC Oct 16, 2024
657aff9
Update boards.txt
DogushC Oct 16, 2024
f159eb3
Update pins_arduino.h
DogushC Oct 17, 2024
29c165a
Merge manually to solve conflicts
DogushC Oct 17, 2024
3f25e1c
Resolve Conflicts
DogushC Oct 17, 2024
590b079
Add cezerio dev ESP32-C6
DogushC Sep 24, 2024
319b347
Modify pin number of cezerio dev ESP32C6
DogushC Oct 15, 2024
013f0ca
Update boards.txt
DogushC Oct 15, 2024
05ed4fd
Update USB_PID
DogushC Oct 15, 2024
368148d
Update pins_arduino.h
DogushC Oct 17, 2024
3fbb23a
Add cezerio dev ESP32C6
DogushC Oct 17, 2024
46b5c90
Merge pull request #4 from cezer-io/Development
DogushC Oct 17, 2024
99f6669
Update pins_arduino.h
DogushC Oct 17, 2024
d318ae4
Update pins_arduino.h
DogushC Oct 17, 2024
9b0e9dc
Update pins_arduino.h
DogushC Oct 17, 2024
f4d93e4
Merge branch 'espressif:master' into master
DogushC Oct 17, 2024
0698347
Merge branch 'espressif:master' into master
DogushC Nov 13, 2024
b1d15e4
Add cezerio mini dev ESP32C6
DogushC Nov 15, 2024
eeec13d
Add cezerio mini dev ESP32C6
DogushC Nov 15, 2024
d1ec5ac
Merge branch 'espressif:master' into master
DogushC Nov 18, 2024
ca10f6b
Update pin out of cezerio mini dev
DogushC Nov 18, 2024
3881337
Update pins of cezerio mini dev
DogushC Nov 20, 2024
ffeacc7
Merge branch 'espressif:master' into master
DogushC Nov 20, 2024
6bb3fb2
Merge branch 'espressif:master' into master
DogushC Nov 25, 2024
e71ed63
Merge branch 'espressif:master' into master
DogushC Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 173 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44374,6 +44374,179 @@ cezerio_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_libs=-lesp_zb_api_rcp -lesp

##############################################################

cezerio_mini_dev_esp32c6.name=cezerio mini dev ESP32C6

cezerio_mini_dev_esp32c6.bootloader.tool=esptool_py
cezerio_mini_dev_esp32c6.bootloader.tool.default=esptool_py

cezerio_mini_dev_esp32c6.upload.tool=esptool_py
cezerio_mini_dev_esp32c6.upload.tool.default=esptool_py
cezerio_mini_dev_esp32c6.upload.tool.network=esp_ota

cezerio_mini_dev_esp32c6.upload.maximum_size=1310720
cezerio_mini_dev_esp32c6.upload.maximum_data_size=327680
cezerio_mini_dev_esp32c6.upload.flags=
cezerio_mini_dev_esp32c6.upload.extra_flags=
cezerio_mini_dev_esp32c6.upload.use_1200bps_touch=false
cezerio_mini_dev_esp32c6.upload.wait_for_upload_port=false

cezerio_mini_dev_esp32c6.serial.disableDTR=false
cezerio_mini_dev_esp32c6.serial.disableRTS=false

cezerio_mini_dev_esp32c6.build.tarch=riscv32
cezerio_mini_dev_esp32c6.build.target=esp
cezerio_mini_dev_esp32c6.build.mcu=esp32c6
cezerio_mini_dev_esp32c6.build.core=esp32
cezerio_mini_dev_esp32c6.build.variant=cezerio_mini_dev_esp32c6
cezerio_mini_dev_esp32c6.build.board=CEZERIO_MINI_DEV_ESP32C6
cezerio_mini_dev_esp32c6.build.bootloader_addr=0x0

cezerio_mini_dev_esp32c6.build.cdc_on_boot=0
cezerio_mini_dev_esp32c6.build.f_cpu=160000000L
cezerio_mini_dev_esp32c6.build.flash_size=4MB
cezerio_mini_dev_esp32c6.build.flash_freq=80m
cezerio_mini_dev_esp32c6.build.flash_mode=qio
cezerio_mini_dev_esp32c6.build.boot=qio
cezerio_mini_dev_esp32c6.build.partitions=default
cezerio_mini_dev_esp32c6.build.defines=

## IDE 2.0 Seems to not update the value
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.default=Disabled
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.default.build.copy_jtag_files=0
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.builtin=Integrated USB JTAG
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.builtin.build.openocdscript=esp32c6-builtin.cfg
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.external=FTDI Adapter
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.external.build.openocdscript=esp32c6-ftdi.cfg
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.external.build.copy_jtag_files=1
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.bridge=ESP USB Bridge
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.bridge.build.openocdscript=esp32c6-bridge.cfg
cezerio_mini_dev_esp32c6.menu.JTAGAdapter.bridge.build.copy_jtag_files=1

cezerio_mini_dev_esp32c6.menu.CDCOnBoot.default=Enabled
cezerio_mini_dev_esp32c6.menu.CDCOnBoot.default.build.cdc_on_boot=1
cezerio_mini_dev_esp32c6.menu.CDCOnBoot.cdc=Disabled
cezerio_mini_dev_esp32c6.menu.CDCOnBoot.cdc.build.cdc_on_boot=0

cezerio_mini_dev_esp32c6.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.default.build.partitions=default
cezerio_mini_dev_esp32c6.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
cezerio_mini_dev_esp32c6.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.minimal.build.partitions=minimal
cezerio_mini_dev_esp32c6.menu.PartitionScheme.no_fs=No FS 4MB (2MB APP x2)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.no_fs.build.partitions=no_fs
cezerio_mini_dev_esp32c6.menu.PartitionScheme.no_fs.upload.maximum_size=2031616
cezerio_mini_dev_esp32c6.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.no_ota.build.partitions=no_ota
cezerio_mini_dev_esp32c6.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
cezerio_mini_dev_esp32c6.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
cezerio_mini_dev_esp32c6.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.huge_app.build.partitions=huge_app
cezerio_mini_dev_esp32c6.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
cezerio_mini_dev_esp32c6.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
cezerio_mini_dev_esp32c6.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
cezerio_mini_dev_esp32c6.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
cezerio_mini_dev_esp32c6.menu.PartitionScheme.rainmaker=RainMaker 4MB
cezerio_mini_dev_esp32c6.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
cezerio_mini_dev_esp32c6.menu.PartitionScheme.rainmaker.upload.maximum_size=1966080
cezerio_mini_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB=RainMaker 4MB No OTA
cezerio_mini_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB.build.partitions=rainmaker_4MB_no_ota
cezerio_mini_dev_esp32c6.menu.PartitionScheme.rainmaker_4MB.upload.maximum_size=4038656
cezerio_mini_dev_esp32c6.menu.PartitionScheme.zigbee=Zigbee 4MB with spiffs
cezerio_mini_dev_esp32c6.menu.PartitionScheme.zigbee.build.partitions=zigbee
cezerio_mini_dev_esp32c6.menu.PartitionScheme.zigbee.upload.maximum_size=1310720
cezerio_mini_dev_esp32c6.menu.PartitionScheme.zigbee_zczr=Zigbee ZCZR 4MB with spiffs
cezerio_mini_dev_esp32c6.menu.PartitionScheme.zigbee_zczr.build.partitions=zigbee_zczr
cezerio_mini_dev_esp32c6.menu.PartitionScheme.zigbee_zczr.upload.maximum_size=1310720
cezerio_mini_dev_esp32c6.menu.PartitionScheme.custom=Custom
cezerio_mini_dev_esp32c6.menu.PartitionScheme.custom.build.partitions=
cezerio_mini_dev_esp32c6.menu.PartitionScheme.custom.upload.maximum_size=16777216

cezerio_mini_dev_esp32c6.menu.CPUFreq.160=160MHz (WiFi)
cezerio_mini_dev_esp32c6.menu.CPUFreq.160.build.f_cpu=160000000L
cezerio_mini_dev_esp32c6.menu.CPUFreq.120=120MHz (WiFi)
cezerio_mini_dev_esp32c6.menu.CPUFreq.120.build.f_cpu=120000000L
cezerio_mini_dev_esp32c6.menu.CPUFreq.80=80MHz (WiFi)
cezerio_mini_dev_esp32c6.menu.CPUFreq.80.build.f_cpu=80000000L
cezerio_mini_dev_esp32c6.menu.CPUFreq.40=40MHz
cezerio_mini_dev_esp32c6.menu.CPUFreq.40.build.f_cpu=40000000L
cezerio_mini_dev_esp32c6.menu.CPUFreq.20=20MHz
cezerio_mini_dev_esp32c6.menu.CPUFreq.20.build.f_cpu=20000000L
cezerio_mini_dev_esp32c6.menu.CPUFreq.10=10MHz
cezerio_mini_dev_esp32c6.menu.CPUFreq.10.build.f_cpu=10000000L

cezerio_mini_dev_esp32c6.menu.FlashMode.qio=QIO
cezerio_mini_dev_esp32c6.menu.FlashMode.qio.build.flash_mode=dio
cezerio_mini_dev_esp32c6.menu.FlashMode.qio.build.boot=qio
cezerio_mini_dev_esp32c6.menu.FlashMode.dio=DIO
cezerio_mini_dev_esp32c6.menu.FlashMode.dio.build.flash_mode=dio
cezerio_mini_dev_esp32c6.menu.FlashMode.dio.build.boot=dio

cezerio_mini_dev_esp32c6.menu.FlashFreq.80=80MHz
cezerio_mini_dev_esp32c6.menu.FlashFreq.80.build.flash_freq=80m
cezerio_mini_dev_esp32c6.menu.FlashFreq.40=40MHz
cezerio_mini_dev_esp32c6.menu.FlashFreq.40.build.flash_freq=40m

cezerio_mini_dev_esp32c6.menu.FlashSize.4M=4MB (32Mb)
cezerio_mini_dev_esp32c6.menu.FlashSize.4M.build.flash_size=4MB

cezerio_mini_dev_esp32c6.menu.UploadSpeed.921600=921600
cezerio_mini_dev_esp32c6.menu.UploadSpeed.921600.upload.speed=921600
cezerio_mini_dev_esp32c6.menu.UploadSpeed.115200=115200
cezerio_mini_dev_esp32c6.menu.UploadSpeed.115200.upload.speed=115200
cezerio_mini_dev_esp32c6.menu.UploadSpeed.256000.windows=256000
cezerio_mini_dev_esp32c6.menu.UploadSpeed.256000.upload.speed=256000
cezerio_mini_dev_esp32c6.menu.UploadSpeed.230400.windows.upload.speed=256000
cezerio_mini_dev_esp32c6.menu.UploadSpeed.230400=230400
cezerio_mini_dev_esp32c6.menu.UploadSpeed.230400.upload.speed=230400
cezerio_mini_dev_esp32c6.menu.UploadSpeed.460800.linux=460800
cezerio_mini_dev_esp32c6.menu.UploadSpeed.460800.macosx=460800
cezerio_mini_dev_esp32c6.menu.UploadSpeed.460800.upload.speed=460800
cezerio_mini_dev_esp32c6.menu.UploadSpeed.512000.windows=512000
cezerio_mini_dev_esp32c6.menu.UploadSpeed.512000.upload.speed=512000

cezerio_mini_dev_esp32c6.menu.DebugLevel.none=None
cezerio_mini_dev_esp32c6.menu.DebugLevel.none.build.code_debug=0
cezerio_mini_dev_esp32c6.menu.DebugLevel.error=Error
cezerio_mini_dev_esp32c6.menu.DebugLevel.error.build.code_debug=1
cezerio_mini_dev_esp32c6.menu.DebugLevel.warn=Warn
cezerio_mini_dev_esp32c6.menu.DebugLevel.warn.build.code_debug=2
cezerio_mini_dev_esp32c6.menu.DebugLevel.info=Info
cezerio_mini_dev_esp32c6.menu.DebugLevel.info.build.code_debug=3
cezerio_mini_dev_esp32c6.menu.DebugLevel.debug=Debug
cezerio_mini_dev_esp32c6.menu.DebugLevel.debug.build.code_debug=4
cezerio_mini_dev_esp32c6.menu.DebugLevel.verbose=Verbose
cezerio_mini_dev_esp32c6.menu.DebugLevel.verbose.build.code_debug=5

cezerio_mini_dev_esp32c6.menu.EraseFlash.none=Disabled
cezerio_mini_dev_esp32c6.menu.EraseFlash.none.upload.erase_cmd=
cezerio_mini_dev_esp32c6.menu.EraseFlash.all=Enabled
cezerio_mini_dev_esp32c6.menu.EraseFlash.all.upload.erase_cmd=-e

cezerio_mini_dev_esp32c6.menu.ZigbeeMode.default=Disabled
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.default.build.zigbee_mode=
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.default.build.zigbee_libs=
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.ed=Zigbee ED (end device)
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.ed.build.zigbee_mode=-DZIGBEE_MODE_ED
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.ed.build.zigbee_libs=-lesp_zb_api_ed -lesp_zb_cli_command -lzboss_stack.ed -lzboss_port
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinator)
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr -lzboss_port
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.rcp=Zigbee RCP (radio co-processor)
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_mode=-DZIGBEE_MODE_RCP
cezerio_mini_dev_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_libs=-lesp_zb_api_rcp -lesp_zb_cli_command -lzboss_stack.rcp -lzboss_port

##############################################################

waveshare_esp32_s3_lcd_185.name=Waveshare ESP32-S3-LCD-1.85
waveshare_esp32_s3_lcd_185.vid.0=0x303a
waveshare_esp32_s3_lcd_185.pid.0=0x8242
Expand Down
47 changes: 47 additions & 0 deletions variants/cezerio_mini_dev_esp32c6/pins_arduino.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h

#include <stdint.h>
#include "soc/soc_caps.h"

#define USB_VID 0x303A
#define USB_PID 0x1001
#define USB_MANUFACTURER "RFtek Electronics"
#define USB_PRODUCT "cezerio mini dev ESP32C6"
#define USB_SERIAL ""

#define PIN_RGB_LED 20
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite()
#define RGB_BUILTIN LED_BUILTIN
#define RGBLED LED_BUILTIN
#define RGB_BRIGHTNESS 64

static const uint8_t BUT_BUILTIN = 9;
#define BUILTIN_BUT BUT_BUILTIN // backward compatibility
#define BUT_BUILTIN BUT_BUILTIN // allow testing #ifdef BUT_BUILTIN
#define BOOT BUT_BUILTIN

static const uint8_t TX = 7;
static const uint8_t RX = 14;

static const uint8_t SDA = 23;
static const uint8_t SCL = 22;

static const uint8_t MOSI = 19;
static const uint8_t MISO = 21;
static const uint8_t SCK = 18;
static const uint8_t SS = 17;

static const uint8_t A0 = 0;
static const uint8_t A1 = 1;
static const uint8_t A2 = 2;
static const uint8_t A3 = 3;
static const uint8_t A6 = 6;

static const uint8_t MATRIX = 4;

#endif /* Pins_Arduino_h */