Closed oclyke closed 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. 🙇♂️
@Wenn0101 this is done and working, will you look over it and merge?
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 underTARGET_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.