mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
Enable platform support for esp-idf v5.0.1 (#2050)
This commit is contained in:
parent
db2a4104b3
commit
d975a1a82c
|
@ -51,7 +51,7 @@ endif()
|
||||||
|
|
||||||
idf_component_register(SRCS ${WAMR_RUNTIME_LIB_SOURCE} ${PLATFORM_SHARED_SOURCE}
|
idf_component_register(SRCS ${WAMR_RUNTIME_LIB_SOURCE} ${PLATFORM_SHARED_SOURCE}
|
||||||
INCLUDE_DIRS ${IWASM_DIR}/include ${UTILS_SHARED_DIR} ${PLATFORM_SHARED_DIR} ${PLATFORM_SHARED_DIR}/../include
|
INCLUDE_DIRS ${IWASM_DIR}/include ${UTILS_SHARED_DIR} ${PLATFORM_SHARED_DIR} ${PLATFORM_SHARED_DIR}/../include
|
||||||
REQUIRES pthread
|
REQUIRES pthread lwip esp_timer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -294,7 +294,7 @@ apply_relocation(AOTModule *module, uint8 *target_section_addr,
|
||||||
snprintf(error_buf, error_buf_size,
|
snprintf(error_buf, error_buf_size,
|
||||||
"Load relocation section failed: "
|
"Load relocation section failed: "
|
||||||
"invalid relocation type %d.",
|
"invalid relocation type %d.",
|
||||||
reloc_type);
|
(int)reloc_type);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -215,7 +215,7 @@ unlinkat(int fd, const char *path, int flag)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
utimensat(int fd, const char *path, const struct timespec ts[2], int flag)
|
utimensat(int fd, const char *path, const struct timespec *ts, int flag)
|
||||||
{
|
{
|
||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -238,7 +238,7 @@ ftruncate(int fd, off_t length)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
futimens(int fd, const struct timespec times[2])
|
futimens(int fd, const struct timespec *times)
|
||||||
{
|
{
|
||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user