Azure-RTOS/ThreadX on a STM32F4-DISCOVERY board
I am trying to get Azure-RTOS/ThreadX running on a STM32F4-DISCOVERY board.
I generally followed the instructions from https://community.st.com/s/article/how-to-create-a-thread-using-azurertos-and-stm32cubeide except:
- I (obviously) picked a different board in CubeMX
- I used TIM11 for HAL timebase
- I picked X-CUBE-AZRTOS-F4 instead of X-CUBE-AZRTOS-F7
- my task only increments a counter instead of flashing a LED.
It all compiles and my task starts. However, when it calls tx_thread_sleep(), it never returns. The scheduler is stuck in the __tx_ts_wait loop.
The SysTick is configured properly and running. However, as far as I can tell, the SysTick handler never gets called.
Am I doing anything wrong? Are there any ThreadX examples for STM32F411 available?
Thanks!
Bart
