fsfw-example-stm32h7-rtems/bsp_stm32h7_rtems/init.c
2021-07-16 12:22:35 +02:00

15 lines
277 B
C

#include "RTEMSConfig.h"
extern int main();
/**
* Entry point for the RTEMS BSP after low level and RTEMS executive initialization.
* @param argument
* @return
*/
rtems_task Init(rtems_task_argument argument) {
main();
return (void) rtems_task_delete( RTEMS_SELF );
}