Matt Trentini
6 months ago
committed by
Damien George
5 changed files with 61 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
{ |
|||
"deploy": [ |
|||
"deploy_nanoc6.md" |
|||
], |
|||
"docs": "", |
|||
"features": [ |
|||
"BLE", |
|||
"WiFi", |
|||
"RGB LED", |
|||
"USB", |
|||
"USB-C", |
|||
"JST-PH" |
|||
], |
|||
"images": [ |
|||
"m5stack_nanoc6.jpg" |
|||
], |
|||
"mcu": "esp32c6", |
|||
"product": "M5Stack NanoC6", |
|||
"url": "https://shop.m5stack.com/products/m5stack-nanoc6-dev-kit", |
|||
"vendor": "M5Stack" |
|||
} |
@ -0,0 +1,18 @@ |
|||
Program your board using the esptool.py program, found |
|||
[here](https://github.com/espressif/esptool). |
|||
|
|||
To put the NanoC6 into 'update mode', hold the button while connecting the USB |
|||
cable. It can be released after the connection is made. |
|||
|
|||
If you are putting MicroPython on your board for the first time then you should |
|||
first erase the entire flash using: |
|||
|
|||
```bash |
|||
esptool.py --chip esp32c6 --port /dev/ttyUSB0 erase_flash |
|||
``` |
|||
|
|||
From then on program the firmware starting at address 0x0: |
|||
|
|||
```bash |
|||
esptool.py --chip esp32c6 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x0 M5STACK_NANOC6-20240602-v1.24.0.bin |
|||
``` |
@ -0,0 +1,7 @@ |
|||
set(IDF_TARGET esp32c6) |
|||
|
|||
set(SDKCONFIG_DEFAULTS |
|||
boards/sdkconfig.base |
|||
${SDKCONFIG_IDF_VERSION_SPECIFIC} |
|||
boards/sdkconfig.ble |
|||
) |
@ -0,0 +1,8 @@ |
|||
#define MICROPY_HW_BOARD_NAME "M5Stack NanoC6" |
|||
#define MICROPY_HW_MCU_NAME "ESP32C6" |
|||
|
|||
#define MICROPY_HW_ENABLE_SDCARD (0) |
|||
#define MICROPY_PY_MACHINE_I2S (0) |
|||
|
|||
#define MICROPY_HW_I2C0_SCL (1) |
|||
#define MICROPY_HW_I2C0_SDA (2) |
|
Loading…
Reference in new issue