reset call in chibOS Topic is solved

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
austin
Posts: 2
Joined: Fri Feb 01, 2019 10:08 pm
Has thanked: 1 time

reset call in chibOS

Post 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?
Last edited by austin on Fri Feb 01, 2019 10:44 pm, edited 1 time in total.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: reset call in chibOS

Post by Giovanni »

Hi,

It is part of CMSIS: __NVIC_SystemReset().

Giovanni
austin
Posts: 2
Joined: Fri Feb 01, 2019 10:08 pm
Has thanked: 1 time

Re: reset call in chibOS

Post by austin »

Thanks Giovanni
Post Reply