Unverified Commit 49a3c10c authored by microbots's avatar microbots Committed by GitHub

Adding CodeCell ESP32C3 new 3rd part board (#10177)

* Add CodeCell ESP32C3 variant folder

feat(variants): Add CodeCell ESP32C3 variant folder

Added the `codecell` folder to the `arduino-esp32/variants` directory to support the CodeCell ESP32C3 board. This folder includes the necessary pin mappings and configuration files.

* Update boards.txt for CodeCell ESP32C3

chore(board): Update boards.txt for CodeCell ESP32C3

Updated the boards.txt configuration to include settings specific to the CodeCell ESP32C3 board, such as upload speed and partition schemes.

* Update variants/CodeCell/pins_arduino.h
Co-authored-by: default avatarJan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>

* Delete variants/CodeCell directory

* Add codecell ESP32C3 variant folder

feat(variants): Add codecell ESP32C3 variant folder

Added the CodeCell ESP32C3 variant folder to support the CodeCell ESP32C3 board.
This folder contains the necessary pin mappings and configuration files.

* Update pins_arduino.h

* ci(pre-commit): Apply automatic fixes

---------
Co-authored-by: default avatarJan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: default avatarpre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
parent b8c9b59b
...@@ -40340,3 +40340,61 @@ alfredo-nou3.menu.EraseFlash.all=Enabled ...@@ -40340,3 +40340,61 @@ alfredo-nou3.menu.EraseFlash.all=Enabled
alfredo-nou3.menu.EraseFlash.all.upload.erase_cmd=-e alfredo-nou3.menu.EraseFlash.all.upload.erase_cmd=-e
############################################################## ##############################################################
codecell.name=CodeCell
codecell.vid.0=0x303a
codecell.pid.0=0x1002
codecell.upload_port.0.vid=0x303a
codecell.upload_port.0.pid=0x1002
codecell.bootloader.tool=esptool_py
codecell.upload.tool=esptool_py
codecell.upload.maximum_size=4194304
codecell.upload.maximum_data_size=327680
codecell.upload.use_1200bps_touch=false
codecell.upload.wait_for_upload_port=false
codecell.upload.speed=921600
codecell.serial.disableDTR=false
codecell.serial.disableRTS=false
codecell.build.tarch=riscv32
codecell.build.target=esp
codecell.build.mcu=esp32c3
codecell.build.core=esp32
codecell.build.variant=codecell
codecell.build.board=ESP32C3_DEV
codecell.build.bootloader_addr=0x0
codecell.build.cdc_on_boot=1
codecell.build.f_cpu=160000000L
codecell.build.flash_size=4MB
codecell.build.flash_freq=80m
codecell.build.flash_mode=qio
codecell.build.boot=qio
codecell.build.partitions=default
codecell.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
codecell.menu.CPUFreq.160=160MHz
codecell.menu.FlashMode.qio=QIO
codecell.menu.FlashFreq.80=80MHz
codecell.menu.FlashSize.4M=4MB (32Mb)
codecell.menu.UploadSpeed.921600=921600
codecell.menu.DebugLevel.none=None
codecell.menu.DebugLevel.none.build.code_debug=0
codecell.menu.DebugLevel.error=Error
codecell.menu.DebugLevel.error.build.code_debug=1
codecell.menu.DebugLevel.warn=Warn
codecell.menu.DebugLevel.warn.build.code_debug=2
codecell.menu.DebugLevel.info=Info
codecell.menu.DebugLevel.info.build.code_debug=3
codecell.menu.DebugLevel.debug=Debug
codecell.menu.DebugLevel.debug.build.code_debug=4
codecell.menu.DebugLevel.verbose=Verbose
codecell.menu.DebugLevel.verbose.build.code_debug=5
codecell.menu.EraseFlash.none=Disabled
codecell.menu.EraseFlash.none.upload.erase_cmd=
codecell.menu.EraseFlash.all=Enabled
codecell.menu.EraseFlash.all.upload.erase_cmd=-e
##############################################################
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#include "soc/soc_caps.h"
static const uint8_t TX = 21;
static const uint8_t RX = 20;
static const uint8_t SDA = 8;
static const uint8_t SCL = 9;
static const uint8_t SS = 7;
static const uint8_t MOSI = 6;
static const uint8_t MISO = 5;
static const uint8_t SCK = 4;
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 A4 = 4;
static const uint8_t A5 = 5;
#endif /* Pins_Arduino_h */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment