implement delay.c/.h

This commit is contained in:
Meco Man
2021-06-16 14:02:43 +08:00
parent ac50f5193e
commit 56e3571e8a
5 changed files with 66 additions and 11 deletions

View File

@@ -55,3 +55,8 @@ void rt_hw_board_init(void)
rt_hw_ipi_handler_install(RT_SCHEDULE_IPI, rt_scheduler_ipi_handler);
#endif
}
void rt_hw_us_delay(rt_uint32_t us)
{
}

View File

@@ -33,16 +33,6 @@ struct eth_device_smc911x
};
static struct eth_device_smc911x _emac;
int udelay(int value)
{
return 0;
}
int mdelay(int value)
{
return 0;
}
#if defined (CONFIG_SMC911X_32_BIT)
rt_inline uint32_t smc911x_reg_read(struct eth_device_smc911x *dev, uint32_t offset)
{