Hi Leafers
I was trying to find a simple command to soft-reset Maple.
After some digging, I found a STM32 library called core_cm3.h with the following command:
/** \brief System Reset
The function initiates a system reset request to reset the MCU.
*/
__STATIC_INLINE void NVIC_SystemReset(void)
{
(Function code)
}
it's located here:
http://code.google.com/p/stm32lib/source/browse/Libraries/CMSIS/CM3/CoreSupport/core_cm3.h?r=887cedeb263237b453b66ab14dee02f4638a6d15
I'm working on an open source project, and it would complicate things for my users if they had to download this library in order to upload my sketch - is there a simpler way to accomplish what I'm trying to do from within Maple's framework? I noticed limited NVIC support in libmaple, but no reference to a reset function...
Thanks,
Josh