This repo is cross-platform UF2 Bootloader projects for MCUs based on Cherryusb.It is a simple bootloader that forks from tinyuf2 and migrates the USB stack to CherryUSB. It only supports DFU with MSC.
.
├── lib # Sources from 3rd party such as cherryusb, uf2 ...
├── SDK # Sources from 3rd party such as mcu drivers
├── bootloader # Bin for bootloader of this repo
├── ports # Port/family specific sources
│ ├── ArtertTek # MCU manufacturer
│ | └── at32f413 # MCU Series
| | └── boards # Board specific sources
│ | └── Makefile # Makefile for this port
│ | └── port.mk # Makefile for this port
│ └── ST # MCU manufacturer
│ └── stm32f1xx # MCU Series
├── src # Cross-platform bootloader sources files
MCU | Note | SDK |
---|---|---|
AT32F402 | AT32F402_405_SDK | |
AT32F403A | AT32F403A_407_SDK | |
AT32F405 | AT32F402_405_SDK | |
AT32F407 | AT32F403A_407_SDK | |
AT32F413 | AT32F413_SDK | |
AT32F415 | AT32F415_SDK | |
AT32F423 | AT32F423_SDK | |
AT32F425 | AT32F425_SDK | |
AT32F435 | AT32F435_437_SDK | |
AT32F437 | AT32F435_437_SDK | |
AT32WB415 | AT32WB415_SDK |
MCU | Note | SDK |
---|---|---|
STM32F072 | Need to redirect vectors in app or bootloader. | STM32F0xx_Hal STM32F0xx_CMSIS |
STM32F103 | STM32F1xx_Hal STM32F1xx_CMSIS |
|
STM32F401 | STM32F4xx_Hal STM32F4xx_CMSIS |
|
STM32F407 | STM32F4xx_Hal STM32F4xx_CMSIS |
|
STM32F411 | STM32F4xx_Hal STM32F4xx_CMSIS |
|
STM32G431 | STM32G4xx_Hal STM32G4xx_CMSIS |
|
STM32L433 | STM32L4xx_Hal STM32L4xx_CMSIS |
- Arterytek
- HPM
- WCH
- ST
- Download the SDK of mcu.
-
$ cd ports/ArteryTek/at32f413 $ make BOARD=at32f413cbt7 all
$ cd ports/ArteryTek/at32f413
$ make BOARD=at32f413cbt7 clean
- 2024.4 Update to the latest CherryUSB v1.2.0.
- 2024.11 Update to the latest CherryUSB and bootuf2.