diff options
Diffstat (limited to 'src/ethosu_driver.c')
-rw-r--r-- | src/ethosu_driver.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ethosu_driver.c b/src/ethosu_driver.c index 201eeff..22c15c2 100644 --- a/src/ethosu_driver.c +++ b/src/ethosu_driver.c @@ -176,9 +176,15 @@ static void *ethosu_semaphore; void *__attribute__((weak)) ethosu_mutex_create(void) {} -void __attribute__((weak)) ethosu_mutex_lock(void *mutex) {} +void __attribute__((weak)) ethosu_mutex_lock(void *mutex) +{ + UNUSED(mutex); +} -void __attribute__((weak)) ethosu_mutex_unlock(void *mutex) {} +void __attribute__((weak)) ethosu_mutex_unlock(void *mutex) +{ + UNUSED(mutex); +} // Baremetal implementation of creating a semaphore void *__attribute__((weak)) ethosu_semaphore_create(void) |