The link on the instructions to download the gnu compiler is incorrect at the moment
After downloading the compiler and installing the SDK on a Mac running Mojave I get the following compiler error:
…/src/tf_adc/tf_adc.c:61:38: error: too few arguments to function ‘am_hal_adc_samples_read’
if (AM_HAL_STATUS_SUCCESS != am_hal_adc_samples_read(g_ADCHandle,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from …/…/…/…/…/mcu/apollo3/am_mcu_apollo.h:142,
from …/src/tf_adc/tf_adc.c:1:
…/…/…/…/…/mcu/apollo3/hal/am_hal_adc.h:630:19: note: declared here
extern uint32_t am_hal_adc_samples_read(void *pHandle, bool bFullSample,
^~~~~~~~~~~~~~~~~~~~~~~
make: *** [bin/tf_adc.o] Error 1
This is with SDK 2.1.0 which may be different from what you are using. I will attempt to download 2.0.0 and recompile.