This repository was archived by the owner on Sep 22, 2020. It is now read-only.
Apollo3 Blue AmbiqSuite Release 2.1.0 Compatibility #4
Open
Description
The only major change that I'm seeing is that the definition of am_hal_adc_samples_read
has changed.
extern uint32_t am_hal_adc_samples_read(void *pHandle, bool bFullSample,
uint32_t *pui32InSampleBuffer,
uint32_t *pui32InOutNumberSamples,
am_hal_adc_sample_t *pui32OutBuffer);
am_hal_adc_samples_read
used to be:
extern uint32_t am_hal_adc_samples_read(void *pHandle,
uint32_t *pui32InSampleBuffer,
uint32_t *pui32InOutNumberSamples,
am_hal_adc_sample_t *pui32OutBuffer);
According to the documentation:
bFullSample - true to get a full sample including the fractional part.
Only a true
or false
needs to be passed. Seems like a minor change, and setting this value in the call to am_hal_adc_samples_read
in /example1_edge_test/src/tf_adc/tf_adc.c
seems to allow everything to build successfully when I try.
Metadata
Metadata
Assignees
Labels
No labels