Skip to content

Commit 9ef2d4e

Browse files
committed
add new feather c6 rev B :)
1 parent 337058a commit 9ef2d4e

File tree

3 files changed

+255
-0
lines changed

3 files changed

+255
-0
lines changed

boards.txt

+179
Original file line numberDiff line numberDiff line change
@@ -13299,6 +13299,185 @@ adafruit_feather_esp32s3_reversetft.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinato
1329913299
adafruit_feather_esp32s3_reversetft.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR
1330013300
adafruit_feather_esp32s3_reversetft.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr -lzboss_port
1330113301

13302+
#############################
13303+
# Feather C6
13304+
13305+
13306+
adafruit_feather_esp32c6.name=Adafruit Feather ESP32-C6
13307+
adafruit_feather_esp32c6.vid.0=0x303a
13308+
adafruit_feather_esp32c6.pid.0=0x1001
13309+
13310+
adafruit_feather_esp32c6.bootloader.tool=esptool_py
13311+
adafruit_feather_esp32c6.bootloader.tool.default=esptool_py
13312+
13313+
adafruit_feather_esp32c6.upload.tool=esptool_py
13314+
adafruit_feather_esp32c6.upload.tool.default=esptool_py
13315+
adafruit_feather_esp32c6.upload.tool.network=esp_ota
13316+
13317+
adafruit_feather_esp32c6.upload.maximum_size=1310720
13318+
adafruit_feather_esp32c6.upload.maximum_data_size=327680
13319+
adafruit_feather_esp32c6.upload.flags=
13320+
adafruit_feather_esp32c6.upload.extra_flags=
13321+
adafruit_feather_esp32c6.upload.use_1200bps_touch=false
13322+
adafruit_feather_esp32c6.upload.wait_for_upload_port=false
13323+
13324+
adafruit_feather_esp32c6.serial.disableDTR=false
13325+
adafruit_feather_esp32c6.serial.disableRTS=false
13326+
13327+
adafruit_feather_esp32c6.build.tarch=riscv32
13328+
adafruit_feather_esp32c6.build.target=esp
13329+
adafruit_feather_esp32c6.build.mcu=esp32c6
13330+
adafruit_feather_esp32c6.build.core=esp32
13331+
adafruit_feather_esp32c6.build.variant=adafruit_feather_esp32c6
13332+
adafruit_feather_esp32c6.build.board=ADAFRUIT_FEATHER_ESP32C6
13333+
adafruit_feather_esp32c6.build.bootloader_addr=0x0
13334+
13335+
adafruit_feather_esp32c6.build.cdc_on_boot=0
13336+
adafruit_feather_esp32c6.build.f_cpu=160000000L
13337+
adafruit_feather_esp32c6.build.flash_size=4MB
13338+
adafruit_feather_esp32c6.build.flash_freq=80m
13339+
adafruit_feather_esp32c6.build.flash_mode=qio
13340+
adafruit_feather_esp32c6.build.boot=qio
13341+
adafruit_feather_esp32c6.build.partitions=default
13342+
adafruit_feather_esp32c6.build.defines=
13343+
13344+
## IDE 2.0 Seems to not update the value
13345+
adafruit_feather_esp32c6.menu.JTAGAdapter.default=Disabled
13346+
adafruit_feather_esp32c6.menu.JTAGAdapter.default.build.copy_jtag_files=0
13347+
adafruit_feather_esp32c6.menu.JTAGAdapter.builtin=Integrated USB JTAG
13348+
adafruit_feather_esp32c6.menu.JTAGAdapter.builtin.build.openocdscript=esp32c6-builtin.cfg
13349+
adafruit_feather_esp32c6.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
13350+
adafruit_feather_esp32c6.menu.JTAGAdapter.external=FTDI Adapter
13351+
adafruit_feather_esp32c6.menu.JTAGAdapter.external.build.openocdscript=esp32c6-ftdi.cfg
13352+
adafruit_feather_esp32c6.menu.JTAGAdapter.external.build.copy_jtag_files=1
13353+
adafruit_feather_esp32c6.menu.JTAGAdapter.bridge=ESP USB Bridge
13354+
adafruit_feather_esp32c6.menu.JTAGAdapter.bridge.build.openocdscript=esp32c6-bridge.cfg
13355+
adafruit_feather_esp32c6.menu.JTAGAdapter.bridge.build.copy_jtag_files=1
13356+
13357+
adafruit_feather_esp32c6.menu.CDCOnBoot.default=Disabled
13358+
adafruit_feather_esp32c6.menu.CDCOnBoot.default.build.cdc_on_boot=0
13359+
adafruit_feather_esp32c6.menu.CDCOnBoot.cdc=Enabled
13360+
adafruit_feather_esp32c6.menu.CDCOnBoot.cdc.build.cdc_on_boot=1
13361+
13362+
adafruit_feather_esp32c6.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
13363+
adafruit_feather_esp32c6.menu.PartitionScheme.default.build.partitions=default
13364+
adafruit_feather_esp32c6.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
13365+
adafruit_feather_esp32c6.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
13366+
adafruit_feather_esp32c6.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
13367+
adafruit_feather_esp32c6.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
13368+
adafruit_feather_esp32c6.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
13369+
adafruit_feather_esp32c6.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
13370+
adafruit_feather_esp32c6.menu.PartitionScheme.minimal.build.partitions=minimal
13371+
adafruit_feather_esp32c6.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
13372+
adafruit_feather_esp32c6.menu.PartitionScheme.no_ota.build.partitions=no_ota
13373+
adafruit_feather_esp32c6.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
13374+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
13375+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
13376+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
13377+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
13378+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
13379+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
13380+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
13381+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
13382+
adafruit_feather_esp32c6.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
13383+
adafruit_feather_esp32c6.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
13384+
adafruit_feather_esp32c6.menu.PartitionScheme.huge_app.build.partitions=huge_app
13385+
adafruit_feather_esp32c6.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
13386+
adafruit_feather_esp32c6.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
13387+
adafruit_feather_esp32c6.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
13388+
adafruit_feather_esp32c6.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
13389+
adafruit_feather_esp32c6.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS)
13390+
adafruit_feather_esp32c6.menu.PartitionScheme.fatflash.build.partitions=ffat
13391+
adafruit_feather_esp32c6.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
13392+
adafruit_feather_esp32c6.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS)
13393+
adafruit_feather_esp32c6.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
13394+
adafruit_feather_esp32c6.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
13395+
adafruit_feather_esp32c6.menu.PartitionScheme.rainmaker=RainMaker
13396+
adafruit_feather_esp32c6.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
13397+
adafruit_feather_esp32c6.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
13398+
adafruit_feather_esp32c6.menu.PartitionScheme.zigbee=Zigbee 4MB with spiffs
13399+
adafruit_feather_esp32c6.menu.PartitionScheme.zigbee.build.partitions=zigbee
13400+
adafruit_feather_esp32c6.menu.PartitionScheme.zigbee.upload.maximum_size=1310720
13401+
adafruit_feather_esp32c6.menu.PartitionScheme.zigbee_zczr=Zigbee ZCZR 4MB with spiffs
13402+
adafruit_feather_esp32c6.menu.PartitionScheme.zigbee_zczr.build.partitions=zigbee_zczr
13403+
adafruit_feather_esp32c6.menu.PartitionScheme.zigbee_zczr.upload.maximum_size=1310720
13404+
adafruit_feather_esp32c6.menu.PartitionScheme.custom=Custom
13405+
adafruit_feather_esp32c6.menu.PartitionScheme.custom.build.partitions=
13406+
adafruit_feather_esp32c6.menu.PartitionScheme.custom.upload.maximum_size=16777216
13407+
13408+
adafruit_feather_esp32c6.menu.CPUFreq.160=160MHz (WiFi)
13409+
adafruit_feather_esp32c6.menu.CPUFreq.160.build.f_cpu=160000000L
13410+
adafruit_feather_esp32c6.menu.CPUFreq.120=120MHz (WiFi)
13411+
adafruit_feather_esp32c6.menu.CPUFreq.120.build.f_cpu=120000000L
13412+
adafruit_feather_esp32c6.menu.CPUFreq.80=80MHz (WiFi)
13413+
adafruit_feather_esp32c6.menu.CPUFreq.80.build.f_cpu=80000000L
13414+
adafruit_feather_esp32c6.menu.CPUFreq.40=40MHz
13415+
adafruit_feather_esp32c6.menu.CPUFreq.40.build.f_cpu=40000000L
13416+
adafruit_feather_esp32c6.menu.CPUFreq.20=20MHz
13417+
adafruit_feather_esp32c6.menu.CPUFreq.20.build.f_cpu=20000000L
13418+
adafruit_feather_esp32c6.menu.CPUFreq.10=10MHz
13419+
adafruit_feather_esp32c6.menu.CPUFreq.10.build.f_cpu=10000000L
13420+
13421+
adafruit_feather_esp32c6.menu.FlashMode.qio=QIO
13422+
adafruit_feather_esp32c6.menu.FlashMode.qio.build.flash_mode=dio
13423+
adafruit_feather_esp32c6.menu.FlashMode.qio.build.boot=qio
13424+
adafruit_feather_esp32c6.menu.FlashMode.dio=DIO
13425+
adafruit_feather_esp32c6.menu.FlashMode.dio.build.flash_mode=dio
13426+
adafruit_feather_esp32c6.menu.FlashMode.dio.build.boot=dio
13427+
13428+
adafruit_feather_esp32c6.menu.FlashFreq.80=80MHz
13429+
adafruit_feather_esp32c6.menu.FlashFreq.80.build.flash_freq=80m
13430+
adafruit_feather_esp32c6.menu.FlashFreq.40=40MHz
13431+
adafruit_feather_esp32c6.menu.FlashFreq.40.build.flash_freq=40m
13432+
13433+
adafruit_feather_esp32c6.menu.UploadSpeed.921600=921600
13434+
adafruit_feather_esp32c6.menu.UploadSpeed.921600.upload.speed=921600
13435+
adafruit_feather_esp32c6.menu.UploadSpeed.115200=115200
13436+
adafruit_feather_esp32c6.menu.UploadSpeed.115200.upload.speed=115200
13437+
adafruit_feather_esp32c6.menu.UploadSpeed.256000.windows=256000
13438+
adafruit_feather_esp32c6.menu.UploadSpeed.256000.upload.speed=256000
13439+
adafruit_feather_esp32c6.menu.UploadSpeed.230400.windows.upload.speed=256000
13440+
adafruit_feather_esp32c6.menu.UploadSpeed.230400=230400
13441+
adafruit_feather_esp32c6.menu.UploadSpeed.230400.upload.speed=230400
13442+
adafruit_feather_esp32c6.menu.UploadSpeed.460800.linux=460800
13443+
adafruit_feather_esp32c6.menu.UploadSpeed.460800.macosx=460800
13444+
adafruit_feather_esp32c6.menu.UploadSpeed.460800.upload.speed=460800
13445+
adafruit_feather_esp32c6.menu.UploadSpeed.512000.windows=512000
13446+
adafruit_feather_esp32c6.menu.UploadSpeed.512000.upload.speed=512000
13447+
13448+
adafruit_feather_esp32c6.menu.DebugLevel.none=None
13449+
adafruit_feather_esp32c6.menu.DebugLevel.none.build.code_debug=0
13450+
adafruit_feather_esp32c6.menu.DebugLevel.error=Error
13451+
adafruit_feather_esp32c6.menu.DebugLevel.error.build.code_debug=1
13452+
adafruit_feather_esp32c6.menu.DebugLevel.warn=Warn
13453+
adafruit_feather_esp32c6.menu.DebugLevel.warn.build.code_debug=2
13454+
adafruit_feather_esp32c6.menu.DebugLevel.info=Info
13455+
adafruit_feather_esp32c6.menu.DebugLevel.info.build.code_debug=3
13456+
adafruit_feather_esp32c6.menu.DebugLevel.debug=Debug
13457+
adafruit_feather_esp32c6.menu.DebugLevel.debug.build.code_debug=4
13458+
adafruit_feather_esp32c6.menu.DebugLevel.verbose=Verbose
13459+
adafruit_feather_esp32c6.menu.DebugLevel.verbose.build.code_debug=5
13460+
13461+
adafruit_feather_esp32c6.menu.EraseFlash.none=Disabled
13462+
adafruit_feather_esp32c6.menu.EraseFlash.none.upload.erase_cmd=
13463+
adafruit_feather_esp32c6.menu.EraseFlash.all=Enabled
13464+
adafruit_feather_esp32c6.menu.EraseFlash.all.upload.erase_cmd=-e
13465+
13466+
adafruit_feather_esp32c6.menu.ZigbeeMode.default=Disabled
13467+
adafruit_feather_esp32c6.menu.ZigbeeMode.default.build.zigbee_mode=
13468+
adafruit_feather_esp32c6.menu.ZigbeeMode.default.build.zigbee_libs=
13469+
adafruit_feather_esp32c6.menu.ZigbeeMode.ed=Zigbee ED (end device)
13470+
adafruit_feather_esp32c6.menu.ZigbeeMode.ed.build.zigbee_mode=-DZIGBEE_MODE_ED
13471+
adafruit_feather_esp32c6.menu.ZigbeeMode.ed.build.zigbee_libs=-lesp_zb_api_ed -lesp_zb_cli_command -lzboss_stack.ed.trace -lzboss_stack.ed -lzboss_port
13472+
adafruit_feather_esp32c6.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinator)
13473+
adafruit_feather_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR
13474+
adafruit_feather_esp32c6.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr.trace -lzboss_stack.zczr -lzboss_port
13475+
adafruit_feather_esp32c6.menu.ZigbeeMode.rcp=Zigbee RCP (radio co-processor)
13476+
adafruit_feather_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_mode=-DZIGBEE_MODE_RCP
13477+
adafruit_feather_esp32c6.menu.ZigbeeMode.rcp.build.zigbee_libs=-lesp_zb_api_rcp -lesp_zb_cli_command -lzboss_stack.rcp -lzboss_port
13478+
13479+
13480+
1330213481
##############################################################
1330313482
# Adafruit QT Py ESP32
1330413483

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
#define PIN_NEOPIXEL 9
8+
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
9+
static const uint8_t LED_BUILTIN = 15;
10+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
11+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
12+
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite()
13+
#define RGB_BUILTIN (SOC_GPIO_PIN_COUNT+PIN_NEOPIXEL)
14+
#define RGB_BRIGHTNESS 64
15+
16+
17+
#define NEOPIXEL_I2C_POWER 20 // I2C power pin
18+
#define PIN_NEOPIXEL_I2C_POWER 20 // I2C power pin
19+
20+
static const uint8_t TX = 16;
21+
static const uint8_t RX = 17;
22+
23+
static const uint8_t SDA = 19;
24+
static const uint8_t SCL = 18;
25+
26+
static const uint8_t SS = 0;
27+
static const uint8_t MOSI = 22;
28+
static const uint8_t MISO = 23;
29+
static const uint8_t SCK = 21;
30+
31+
static const uint8_t A0 = 1;
32+
static const uint8_t A1 = 4;
33+
static const uint8_t A2 = 6;
34+
static const uint8_t A3 = 5;
35+
static const uint8_t A4 = 3;
36+
static const uint8_t A5 = 2;
37+
static const uint8_t A6 = 0;
38+
39+
#endif /* Pins_Arduino_h */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2021 Ha Thach (tinyusb.org) for Adafruit Industries
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in
14+
* all copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
* THE SOFTWARE.
23+
*/
24+
25+
#include "esp32-hal-gpio.h"
26+
#include "pins_arduino.h"
27+
28+
extern "C" {
29+
30+
// Initialize variant/board, called before setup()
31+
void initVariant(void) {
32+
// This board has a power control pin, and we must set it to output and high
33+
// in order to enable the NeoPixels & I2C
34+
pinMode(NEOPIXEL_I2C_POWER, OUTPUT);
35+
digitalWrite(NEOPIXEL_I2C_POWER, HIGH);
36+
}
37+
}

0 commit comments

Comments
 (0)