Page 1 of 1

reset call in chibOS

Posted: Fri Feb 01, 2019 10:19 pm
by austin
I was searching for reset in RT or in LLD, but did not get one. I am using stm32l4xx and ChibiOS _18.2.x Though I can use osalSysHalt in debug mode but in release mode, I need to use reset when osalSysHalt or Abort occurs.
So is there any way or API to use the reset functionality so that I can do a reset in case of a bad condition and re-initialize everything in release mode?

Re: reset call in chibOS  Topic is solved

Posted: Fri Feb 01, 2019 10:32 pm
by Giovanni
Hi,

It is part of CMSIS: __NVIC_SystemReset().

Giovanni

Re: reset call in chibOS

Posted: Sat Feb 02, 2019 1:28 am
by austin
Thanks Giovanni