Hi all,
I'm using MQX 4.2.2 on a TWR-K65F180M ( Kinetis K65 MCU ).
I wuold like to call a function that simply reboots my board but seems that MQX do not exports this functionality.
Can anyone help me to solve my problem ? Thanks you very much.
Regards,
Alessandro Biasci.
Hello Alessandro,
You can simply call function __boot(); inside your code. This is first code which is executed directly after MCU reset.
Function __boot(); is located in file boot.c
Function __boot(); is defined as start code inside vectors.c file.
I hope this helps,
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------