mirror of https://github.com/ARMmbed/mbed-os.git
[M2351] Fix CLK_SetModuleClock_S(...) error with SPI
Fix SPI module index error in modidx_ns_tab table in CLK_SetModuleClock_S(). Need to update secure image for this bugfix. This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/ SPI - init/free test all pins.pull/11152/head
parent
bab5d27e26
commit
07f39f1337
File diff suppressed because it is too large
Load Diff
|
@ -79,7 +79,7 @@ static const nu_modidx_ns_t modidx_ns_tab[] = {
|
|||
#if defined(SCU_INIT_PNSSET3_VAL) && SCU_INIT_PNSSET3_VAL
|
||||
{SPI0_RST, SPI0_MODULE, SCU_INIT_PNSSET3_VAL & (1 << 0)},
|
||||
{SPI1_RST, SPI1_MODULE, SCU_INIT_PNSSET3_VAL & (1 << 1)},
|
||||
{SPI2_RST, SPI1_MODULE, SCU_INIT_PNSSET3_VAL & (1 << 2)},
|
||||
{SPI2_RST, SPI2_MODULE, SCU_INIT_PNSSET3_VAL & (1 << 2)},
|
||||
{SPI3_RST, SPI3_MODULE, SCU_INIT_PNSSET3_VAL & (1 << 3)},
|
||||
{NU_SYS_MODIDX_UNDEF, NU_CLK_MODIDX_UNDEF, SCU_INIT_PNSSET3_VAL & (1 << 4)},
|
||||
{SPI5_RST, SPI5_MODULE, SCU_INIT_PNSSET3_VAL & (1 << 5)},
|
||||
|
|
Loading…
Reference in New Issue