sparkfun / mbed-os-ambiq-apollo3

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
18 stars 14 forks source link

Ambiq Apollo3 - Reorganize #7

Closed oclyke closed 4 years ago

oclyke commented 4 years ago

This PR restructures the Ambiq_Micro target w/o changing functionality. This is done in order to clarify source chains and simplify maintenance.

The greatest change is a newfound clear resemblance to the AmbiqSuiteSDK. When SDK resources are common to all Apollo family devices they are placed under TARGET_Ambiq_Micro/sdk and when they are specific to Apollo3 they are placed under TARGET_Ambiq_Micro/TARGET_Apollo3/sdk

Components are added to clearly support on-board hardware devices like the HM01B0 camera or LIS2DH12 accelerometer.

All of this is automated thanks to the helper script added to the AmbiqSuite_Apollo3_BSPs repo.

oclyke commented 4 years ago

Note there currently seem to be a few minor issue to iron out - such as what happened to the am_hal_gpio_pincfg_allow_t type and what to do about its disappearance. But let's work through those and get this merged. 🙇‍♂️

oclyke commented 4 years ago

@Wenn0101 this is done and working, will you look over it and merge?