Merge pull request #1212 from schneider42/schneider/m0_reset

m0: reset M0 before starting it
This commit is contained in:
Michael Ossmann
2022-12-01 12:42:15 -05:00
committed by GitHub

View File

@ -241,6 +241,7 @@ int main(void)
cpu_clock_init(); cpu_clock_init();
/* Wake the M0 */ /* Wake the M0 */
ipc_halt_m0();
ipc_start_m0((uint32_t) &__ram_m0_start__); ipc_start_m0((uint32_t) &__ram_m0_start__);
if (!cpld_jtag_sram_load(&jtag_cpld)) { if (!cpld_jtag_sram_load(&jtag_cpld)) {