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: 505
- 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();
-
- Posts: 1
- Joined: Sat Nov 30, 2024 3:44 am
Re: software reset stm32 in arduino ide on rogerclarke core
I have used it and it is very successful, thank you.stevestrong wrote: Mon Feb 12, 2024 7:11 pm There is this function:raft warsCode: Select all
nvic_sys_reset();
Try it.