esp32-s2_dfu/hw/bsp/f1c100s
hathach 84e2f6e0e1
skip freertos example for f1c100s
2021-12-29 19:12:41 +07:00
..
README.md Update README 2021-12-07 22:58:19 +08:00
board.h Add BSP support for F1C100s 2021-12-04 18:02:07 +08:00
board.mk Add mksunxi tool to make flashable image 2021-12-07 22:53:52 +08:00
f1c100s.c skip freertos example for f1c100s 2021-12-29 19:12:41 +07:00

README.md

BSP support for F1Cx00s boards

This folder contains necessary file and scripts to run TinyUSB examples on F1Cx00s boards.

Currently tested on:

  • Lichee Pi Nano (F1C100s)

Flashing

There are two options to put your code into the MCU: flash and exec. Both modes require you to install xfel tool to your PATH. You must enter FEL mode before any operation can be done. To enter FEL mode, press BOOT button, then press RESET once, and release BOOT button. You will find VID/PID=1f3a:efe8 on your PC.

Exec: make BOARD=f1c100s exec will just upload the image to the DDR ram and execute it. It will not touch anything in the SPI flash.

Flash: make BOARD=f1c100s flash will write the image to SPI flash, and then reset the chip to execute it.

TODO

  • Test on Tiny200 v2 (F1C200s)
  • Add F1C100s to #if CFG_TUSB_MCU == OPT_MCU_LPC43XX || CFG_TUSB_MCU == OPT_MCU_LPC18XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX high speed MCU check in examples (maybe we should extract the logic?)