mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
spi_flash: Enable flash emulation down to ROM function calls
This commit is contained in:
17
components/spi_flash/sim/stubs/newlib/include/sys/lock.h
Normal file
17
components/spi_flash/sim/stubs/newlib/include/sys/lock.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef int _lock_t;
|
||||
|
||||
void _lock_acquire(_lock_t *lock);
|
||||
void _lock_close(_lock_t *lock);
|
||||
void _lock_init(_lock_t *lock);
|
||||
void _lock_release(_lock_t *lock);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user