sparkfun / AmbiqSuiteSDK

A copy of the AmbiqSuite SDK available on GitHub. Can be used to include AmbiqSuite as a submodule. May be used to track issues in SDK releases, however this repo is not maintained by AmbiqMicro
39 stars 31 forks source link

AmiqSuiteSDK 3.0.0 released #34

Open idea--list opened 2 years ago

idea--list commented 2 years ago

Ambiq released SDK 3.0.0 some months ago, which is the latest for the Apollo3 family.

The hookup guide for the Edge board is for V2.4.2. Some prerequisites have newer versions, so one has to be intuitive while following the hookup guide. Would be nice to upgrade the the guide and this repo for V3.0.0 of AmbiqSuite.

After copying the SFE board BSP files and also the ASB uploader i can confirm blinky examples runs well on the new SDK version.

wzqvip commented 1 year ago

Something went right. (went right).

inbsp/am_bsp_pins.c>g_AM_BSP_GPIO_MSPI_D3

in R2.4 it is const am_hal_gpio_pincfg_t g_AM_BSP_GPIO_MSPI_D3 = { .uFuncSel = AM_HAL_PIN_23_MSPI13, .eDriveStrength = AM_HAL_GPIO_PIN_DRIVESTRENGTH_8MA, .eIntDir = AM_HAL_GPIO_PIN_INTDIR_LO2HI, .uIOMnum = 6 };

and in R3.0 it is const am_hal_gpio_pincfg_t g_AM_BSP_GPIO_MSPI_D3 = { .uFuncSel = AM_HAL_PIN_23_MSPI3, .eDriveStrength = AM_HAL_GPIO_PIN_DRIVESTRENGTH_8MA, .eIntDir = AM_HAL_GPIO_PIN_INTDIR_LO2HI, .uIOMnum = 6 };

According to the whole file. MSPI3 should be correct. If just copy the files and compile: /boards/artemis_module/bsp/gcc' Compiling gcc ../am_bsp_pins.c ../am_bsp_pins.c:653:28: error: 'AM_HAL_PIN_23_MSPI13' undeclared here (not in a function); did you mean 'AM_HAL_PIN_23_MSPI3'? 653 | .uFuncSel = AM_HAL_PIN_23_MSPI13, | ^~~~~~~~~~~~~~~~~~~~ | AM_HAL_PIN_23_MSPI3 make[1]: *** [Makefile:130: bin/am_bsp_pins.o] Error 1

Anyway is is not a big deal. Just some modifications. I'm not sure if there's more such things. XD