ext: hal: altera: Add wrapper functions for Altera HAL runtime API's
Add wrapper or helper functions for Altera HAL runtime API's to enable Altera HAL drivers on Zephyr. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
parent
a5eb5418d1
commit
b574a9ba9b
|
@ -66,3 +66,17 @@ void alt_handle_irq(void* base, alt_u32 id)
|
|||
void alt_tick (void)
|
||||
{
|
||||
}
|
||||
|
||||
#include "priv/alt_dev_llist.h"
|
||||
int alt_dev_llist_insert (alt_dev_llist* dev, alt_llist* list)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#include "priv/alt_busy_sleep.h"
|
||||
#include <kernel.h>
|
||||
unsigned int alt_busy_sleep (unsigned int us)
|
||||
{
|
||||
k_busy_wait(us);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue