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

For 2.5.1 series branches, update the boards_sfe submodule to include the BSP repo updates #30

Open nigelb opened 3 years ago

nigelb commented 3 years ago

The MSPI13 -> MSPI3 typo fix that was made in version 2.5.1 of the Ambiq SDK 2.5.1, section 6, Boards and BSP

  1. Correct a typo in apollo3_evb BSP am_bsp_pins.c for AM_HAL_PIN_23_MSPI3 (was AM_HAL_PIN_23_MSPI13).

has been fixed in the BSP repo: sparkfun/SparkFun_Apollo3_AmbiqSuite_BSPs@6966d4c360e552e02511fd88a82823791f4faa52 however the boards_sfe submodule of this repository (for the 2.5.1 series branches) needs to be updated to include them, to fix this compile error:

AmbiqSuiteSDK/boards_sfe/redboard_artemis_atp/bsp/am_bsp_pins.c:684:28: error: 'AM_HAL_PIN_23_MSPI13' undeclared here (not in a function); did you mean 'AM_HAL_PIN_23_MSPI3'?
  684 |     .uFuncSel            = AM_HAL_PIN_23_MSPI13,
      |                            ^~~~~~~~~~~~~~~~~~~~
      |                            AM_HAL_PIN_23_MSPI3
*** [.pio/build/SparkFun_RedBoard_Artemis_ATP/Variant/bsp/am_bsp_pins.o] Error 1