tower-freertos-stm32-tests: add state machine example
tower-freertos-stm32: fix gettime in build