SysTick interrupt priority

karltsai wrote on Monday, April 23, 2018:

I’m new to this and here is my strategy:

  1. install the FreeRTOS systick handler and bump it to higher priority that HAL requires
  2. make sure the priority mask and whatever house-keeping necessary are done properly in tje systick handler
  3. rewrite/overwrite HAL_Delay and HAL_GetTick functions to use FreeRTOS version. Both of them are weak so not a problem. There is no need to keep 2 sets of system ticks

Can someone see any problem of this approach?