diff options
author | Oxore <oxore@protonmail.com> | 2023-03-06 01:14:11 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-06 01:14:11 +0300 |
commit | 5e565f35686b41ae5b5a2125213e01d8aa9d0e61 (patch) | |
tree | 7874b3eaace97797f7b5f7dc83bb4d06d592c9f7 /app/main.c | |
parent | 774d716be80fade075c2d15f30cbcf8fe0066f53 (diff) |
Move FreeRTOS handlers to retarget.cpp
Diffstat (limited to 'app/main.c')
-rw-r--r-- | app/main.c | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -253,36 +253,4 @@ int main () vTaskStartScheduler(); // И запускаем диспетчер задач ( он же планировщик ) } // end of main - - -#ifdef USE_FULL_ASSERT -/** - * @brief Reports the name of the source file and the source line number - * where the assert_param error has occurred. - * @param file: pointer to the source file name - * @param line: assert_param error line source number - * @retval None - */ -void assert_failed ( uint8_t* file, uint32_t line ) -{ - /* User can add his own implementation to report the file name and line number, - ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */ - - /* Infinite loop */ - for (;;) - { - } -} -#endif - - -// Специальные ф-ии FreeRTOS ------------------------------------------------ // -void vApplicationMallocFailedHook ( void ) { for( ;; ); } -void vApplicationStackOverflowHook ( TaskHandle_t pxTask, char *pcTaskName ) { - (void) pxTask; - (void) pcTaskName; - for( ;; ); -} -void vApplicationIdleHook ( void ) { } - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |