I've been searching for related posts but to no avail. If I missed anything please direct me there.
I'm rebooting a project, started by someone else, where chibios is at the following revision:
Code: Select all
commit 1d3bbc72c326e87bb688cbce39ea93b71b4406d3 (origin/master, origin/HEAD)
Author: Giovanni Di Sirio <gdisirio@gmail.com>
Date: Fri Mar 23 14:46:11 2018 +0000
Restored launch files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11850 110e8d01-0319-4d1e-a829-52ad28d1bb01
I updated chibios to ver-2019.1.3 as well as my chconf.h file (so that RT version went from 5 to 6) and found that my board freezes. When pausing with a debugger I see that it is always stopped at the following line in chSysInit:
Code: Select all
#if CH_DBG_STATISTICS == TRUE
/* Starting measurement for this thread.*/
chTMStartMeasurementX(&currp->stats);
#endif
but I'm not sure if this is just an artifact of the debugger.
After a bit of searching (and git blame) I seem to conclude that the cause is updating RT to version 6 (_CHIBIOS_RT_CONF_VER_6_0_) on this commit:
Code: Select all
commit 26db32042bd7a2437246765ccf9157dd17ec824b
Author: Giovanni Di Sirio <gdisirio@gmail.com>
Date: Sat Jun 16 13:55:17 2018 +0000
Moved RT version to 6.0, updated all chconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12106 110e8d01-0319-4d1e-a829-52ad28d1bb01
By testing with it's previous commit (and RT version 5 on my chconf) all works well. I've compared my chconf with the one provided in the demos and the only difference I see is that all definitions are guarded by an #if !defined(...) (which I tried as well) and some CH_DBG_ flags that were setup already.
Do I need to update any other file? mcuconf or halconf?
Thank you