File tree Expand file tree Collapse file tree 6 files changed +96
-0
lines changed
ports/esp32/boards/UM_TINYC6 Expand file tree Collapse file tree 6 files changed +96
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "deploy" : [
3
+ " deploy_tinyc6.md"
4
+ ],
5
+ "docs" : " " ,
6
+ "features" : [
7
+ " Battery Charging" ,
8
+ " BLE" ,
9
+ " External Flash" ,
10
+ " WiFi" ,
11
+ " RGB LED" ,
12
+ " USB" ,
13
+ " USB-C"
14
+ ],
15
+ "images" : [
16
+ " unexpectedmaker_tinyc6.jpg"
17
+ ],
18
+ "mcu" : " esp32c6" ,
19
+ "product" : " TinyC6" ,
20
+ "url" : " https://tinyc6.io" ,
21
+ "vendor" : " Unexpected Maker"
22
+ }
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 TinyC6 into 'download mode', hold the _ BOOT_ button while connecting
5
+ the USB 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 UM_TINYC6-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
+ boards/UM_TINYC6/sdkconfig.board
8
+ )
Original file line number Diff line number Diff line change
1
+ #define MICROPY_HW_BOARD_NAME "Unexpected Maker TinyC6"
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 (7)
8
+ #define MICROPY_HW_I2C0_SDA (6)
9
+
10
+ #define MICROPY_HW_SPI1_MOSI (21)
11
+ #define MICROPY_HW_SPI1_MISO (20)
12
+ #define MICROPY_HW_SPI1_SCK (19)
Original file line number Diff line number Diff line change
1
+ IO0,GPIO0
2
+ IO1,GPIO1
3
+ IO2,GPIO2
4
+ IO3,GPIO3
5
+ IO4,GPIO4
6
+ VBAT_SENSE,GPIO4
7
+ IO5,GPIO5
8
+ IO6,GPIO6
9
+ SDA,GPIO6
10
+ IO7,GPIO7
11
+ SCL,GPIO7
12
+ IO8,GPIO8
13
+ IO9,GPIO9
14
+ VBUS_SENSE,GPIO10
15
+ IO11,GPIO11
16
+ IO15,GPIO15
17
+ IO16,GPIO16
18
+ TX,GPIO16
19
+ IO17,GPIO17
20
+ RX,GPIO17
21
+ IO18,GPIO18
22
+ IO19,GPIO19
23
+ IO20,GPIO20
24
+ IO21,GPIO21
25
+ NEOPIXEL_PWR,GPIO22
26
+ NEOPIXEL_DATA,GPIO23
Original file line number Diff line number Diff line change
1
+ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
2
+ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
3
+ CONFIG_ESPTOOLPY_AFTER_NORESET=y
4
+
5
+ CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
6
+ CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
7
+ CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
8
+ CONFIG_SPIRAM_MEMTEST=
9
+ CONFIG_PARTITION_TABLE_CUSTOM=y
10
+ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
You can’t perform that action at this time.
0 commit comments