esp32/boards/ESP32_GENERIC_C6: Add new generic esp32c6 board.
Signed-off-by: Andrew Leech <andrew@alelec.net>
This commit is contained in:
committed by
Damien George
parent
2f79854337
commit
1bd312d737
19
ports/esp32/boards/ESP32_GENERIC_C6/board.json
Normal file
19
ports/esp32/boards/ESP32_GENERIC_C6/board.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
7
ports/esp32/boards/ESP32_GENERIC_C6/mpconfigboard.cmake
Normal file
7
ports/esp32/boards/ESP32_GENERIC_C6/mpconfigboard.cmake
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
set(IDF_TARGET esp32c6)
|
||||||
|
|
||||||
|
set(SDKCONFIG_DEFAULTS
|
||||||
|
boards/sdkconfig.base
|
||||||
|
${SDKCONFIG_IDF_VERSION_SPECIFIC}
|
||||||
|
boards/sdkconfig.ble
|
||||||
|
)
|
||||||
10
ports/esp32/boards/ESP32_GENERIC_C6/mpconfigboard.h
Normal file
10
ports/esp32/boards/ESP32_GENERIC_C6/mpconfigboard.h
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// 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_I2S (0)
|
||||||
|
|
||||||
|
// Enable UART REPL for modules that have an external USB-UART and don't use native USB.
|
||||||
|
#define MICROPY_HW_ENABLE_UART_REPL (1)
|
||||||
Reference in New Issue
Block a user