forked from Imagelibrary/rtems
bsp/mpc55xx: Add e200z7 specific idle task
This commit is contained in:
@@ -74,6 +74,19 @@ rtems_status_code bsp_register_i2c(void);
|
|||||||
|
|
||||||
void bsp_restart(void *addr);
|
void bsp_restart(void *addr);
|
||||||
|
|
||||||
|
#if MPC55XX_CHIP_TYPE / 10 == 567
|
||||||
|
static void *mpc55xx_idle_task(uintptr_t arg)
|
||||||
|
{
|
||||||
|
while (true) {
|
||||||
|
__asm__ volatile ("wait");
|
||||||
|
}
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define BSP_IDLE_TASK_BODY mpc55xx_idle_task
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ASM */
|
#endif /* ASM */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user