File tree 5 files changed +61
-0
lines changed
ports/esp32/boards/M5STACK_NANOC6 5 files changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "deploy" : [
3
+ " deploy_nanoc6.md"
4
+ ],
5
+ "docs" : " " ,
6
+ "features" : [
7
+ " BLE" ,
8
+ " WiFi" ,
9
+ " RGB LED" ,
10
+ " USB" ,
11
+ " USB-C" ,
12
+ " JST-PH"
13
+ ],
14
+ "images" : [
15
+ " m5stack_nanoc6.jpg"
16
+ ],
17
+ "mcu" : " esp32c6" ,
18
+ "product" : " M5Stack NanoC6" ,
19
+ "url" : " https://shop.m5stack.com/products/m5stack-nanoc6-dev-kit" ,
20
+ "vendor" : " M5Stack"
21
+ }
Original file line number Diff line number Diff line change
1
+ Program your board using the esptool.py program, found
2
+ [ here] ( https://github.com/espressif/esptool ) .
3
+
4
+ To put the NanoC6 into 'update mode', hold the button while connecting the USB
5
+ cable. It can be released after the connection is made.
6
+
7
+ If you are putting MicroPython on your board for the first time then you should
8
+ first erase the entire flash using:
9
+
10
+ ``` bash
11
+ esptool.py --chip esp32c6 --port /dev/ttyUSB0 erase_flash
12
+ ```
13
+
14
+ From then on program the firmware starting at address 0x0:
15
+
16
+ ``` bash
17
+ esptool.py --chip esp32c6 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x0 M5STACK_NANOC6-20240602-v1.24.0.bin
18
+ ```
Original file line number Diff line number Diff line change
1
+ set (IDF_TARGET esp32c6)
2
+
3
+ set (SDKCONFIG_DEFAULTS
4
+ boards/sdkconfig.base
5
+ ${SDKCONFIG_IDF_VERSION_SPECIFIC}
6
+ boards/sdkconfig.ble
7
+ )
Original file line number Diff line number Diff line change
1
+ #define MICROPY_HW_BOARD_NAME "M5Stack NanoC6"
2
+ #define MICROPY_HW_MCU_NAME "ESP32C6"
3
+
4
+ #define MICROPY_HW_ENABLE_SDCARD (0)
5
+ #define MICROPY_PY_MACHINE_I2S (0)
6
+
7
+ #define MICROPY_HW_I2C0_SCL (1)
8
+ #define MICROPY_HW_I2C0_SDA (2)
Original file line number Diff line number Diff line change
1
+ G1,GPIO1
2
+ G2,GPIO2
3
+ IR_LED,GPIO3
4
+ LED_BLUE,GPIO7
5
+ BUTTON,GPIO9
6
+ NEOPIXEL_POWER,GPIO19
7
+ NEOPIXEL,GPIO20
You can’t perform that action at this time.
0 commit comments