fsfw-example-stm32h7-rtems/bsp_stm32h7_rtems/init.c

15 lines
278 B
C
Raw Normal View History

2021-07-16 12:22:35 +02:00
#include "RTEMSConfig.h"
extern int main();
/**
2022-05-27 02:17:19 +02:00
* Entry point for the RTEMS BSP after low level and RTEMS executive
* initialization.
2021-07-16 12:22:35 +02:00
* @param argument
* @return
*/
rtems_task Init(rtems_task_argument argument) {
2022-05-27 02:17:19 +02:00
main();
return (void)rtems_task_delete(RTEMS_SELF);
2021-07-16 12:22:35 +02:00
}