sir, is there any way to software reset stm32f103 in arduino code.
i have tried with
NVIC_SystemReset();
//HAL_NVIC_SystemReset();
but it results in an error
Compilation error: 'NVIC_SystemReset' was not declared in this scope
software reset stm32 in arduino ide on rogerclarke core
Re: software reset stm32 in arduino ide on rogerclarke core
Those function are not available within the Roger's core only with STM32 core.
I don't have in mind how to properly reset the MCU but guess someone have the answer.
I don't have in mind how to properly reset the MCU but guess someone have the answer.
-
- Posts: 502
- Joined: Fri Dec 27, 2019 4:53 pm
- Location: Munich, Germany
- Contact:
Re: software reset stm32 in arduino ide on rogerclarke core
There is this function:
Try it.
Code: Select all
nvic_sys_reset();