CommunityGD32Cores / platform-gd32

PlatformIO platform for ARM-based GD32{F,E,L,W} chips. Work in Progress!
67 stars 28 forks source link

Auto-generate all generic MCU board definitions #4

Closed maxgerhardt closed 3 years ago

maxgerhardt commented 3 years ago

The platform should have a generic boar definition existing ARM-based GD32 MCUs, just like the STM32 platform, as generic<MCU name>.json, e.g. genericGD32F303CC.json.

Also, all these board definitions should be usable by default with SPL.

There is already work in progress in the branch autogen_boards here for a generator script that uses the CSV files from the GigaDevice product finder, but it is missing some minor parts. (OpenOCD config, some macros,..)

maxgerhardt commented 3 years ago

All Cortex-M4 based general board definitions have been added per e33df7f7a9367c01c99159a19deef7a2a641c846, rest to follow soon.

maxgerhardt commented 3 years ago

All generic board definitions have now been created for a start and compile successfully, but some surely have the wrong OpenOCD target in them, so flashing them won't work just yet. This will be tracked in a different issue, as this might take longer.