CommunityGD32Cores / gd32-pio-spl-package

Improved repackaging of GD32 SPL code for PlatformIO
9 stars 13 forks source link

Document new build options #5

Open maxgerhardt opened 3 years ago

maxgerhardt commented 3 years ago

The USB libraries are e.g. looking for some macros which will activate the respective USB functionality / core / class

https://github.com/CommunityGD32Cores/gd32-pio-spl-package/blob/93fcfd780e8e16158e6b59a490f4fbebc0dda526/gd32/spl/libraries/gd32f3x0/GD32F3x0_usbfs_library/build_usb.py#L5-L15

https://github.com/CommunityGD32Cores/gd32-pio-spl-package/blob/93fcfd780e8e16158e6b59a490f4fbebc0dda526/gd32/spl/libraries/gd32f3x0/GD32F3x0_usbfs_library/build_usb.py#L31-L34

This needs to be documented.

Also good would be general documentation about the libraries and how to add them into the project / work with them.