tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

Add AT32 support

Open rhgndf opened this issue 1 year ago • 2 comments

Describe the PR This makes it work on AT32F403A. Tested with the WeAct AT32F403A Blackpill board.

Additional context https://github.com/WeActStudio/WeActStudio.BlackPill

rhgndf avatar Oct 14 '24 04:10 rhgndf

Build works with:

cdc_msc$ make BOARD=at32f403a_weact_blackpill all

Memory region         Used Size  Region Size  %age Used
           FLASH:       23104 B         1 MB      2.20%
             RAM:       11816 B        96 KB     12.02%
CREATE _build/at32f403a_weact_blackpill/cdc_msc.bin
arm-none-eabi-objcopy -O binary  _build/at32f403a_weact_blackpill/cdc_msc.elf _build/at32f403a_weact_blackpill/cdc_msc.bin
CREATE _build/at32f403a_weact_blackpill/cdc_msc.hex

   text    data     bss     dec     hex filename
  14784    8260    3568   26612    67f4 _build/at32f403a_weact_blackpill/cdc_msc.elf

The board works with a usb serial and a mass storage device being detected.

rhgndf avatar Oct 23 '24 05:10 rhgndf

thank you, I ordered an at32f403 board, will test this out when it is delivered.

hathach avatar Nov 07 '24 08:11 hathach

There is another PR #3163 with much better support for AT32 than this, so I'm closing this.

rhgndf avatar Jul 24 '25 14:07 rhgndf