| 16 | } |
| 17 | |
| 18 | static void freertosMainTask(void* parameter) { |
| 19 | LOGGER.info("starting app_main()"); |
| 20 | assert(simulator::mainFunction); |
| 21 | mainFunction(); |
| 22 | LOGGER.info("returned from app_main()"); |
| 23 | vTaskDelete(nullptr); |
| 24 | } |
| 25 | |
| 26 | void freertosMain() { |
| 27 | BaseType_t task_result = xTaskCreate( |