esp32/boards/ESP32_GENERIC_C6: Add support for esp32c6.

Signed-off-by: Andrew Leech <andrew@alelec.net>
Andrew Leech 2024-01-24 14:03:17 +11:00
rodzic 02463d4d1e
commit 74b2c9bbad
4 zmienionych plików z 47 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,19 @@
{
"deploy": [
"../deploy_c6.md"
],
"docs": "",
"features": [
"BLE",
"WiFi"
],
"id": "esp32c6",
"images": [
"esp32c6_devkitmini.jpg"
],
"mcu": "esp32c6",
"product": "ESP32-C6",
"thumbnail": "",
"url": "https://www.espressif.com/en/products/modules",
"vendor": "Espressif"
}

Wyświetl plik

@ -0,0 +1,9 @@
set(IDF_TARGET esp32c6)
set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.ble
boards/ESP32_GENERIC_C6/sdkconfig.board
)
#set(CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE "y")

Wyświetl plik

@ -0,0 +1,12 @@
// This configuration is for a generic ESP32C6 board with 4MiB (or more) of flash.
#define MICROPY_HW_BOARD_NAME "ESP32C6 module"
#define MICROPY_HW_MCU_NAME "ESP32C6"
#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_DAC (0)
#define MICROPY_PY_MACHINE_I2S (0)
// #define MICROPY_PY_BLUETOOTH (1)
// #define MICROPY_BLUETOOTH_NIMBLE (1)
// #define MICROPY_BLUETOOTH_NIMBLE_BINDINGS_ONLY (1)

Wyświetl plik

@ -0,0 +1,7 @@
CONFIG_ESP32C6_BROWNOUT_DET=y
CONFIG_ESP32C6_BROWNOUT_DET_LVL_SEL_7=
CONFIG_ESP32C6_BROWNOUT_DET_LVL_SEL_4=y
CONFIG_ESP32C6_BROWNOUT_DET_LVL=4
CONFIG_ESP_CONSOLE_UART_DEFAULT=
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y