wasm-micro-runtime/core/shared/platform
Patrick Cook 89c11c5361
Fix explicit casts and types in espidf_socket.c (#1945)
In the esp-idf platform, Xtensa GCC 8.4.0 reported incompatible pointer warnings when
building with the lwip component.

Berkeley (POSIX) sockets uses composition in combination with type punning to handle
many protocol families, including IPv4 & IPv6. The type punning just has to be made
explicit with pointer casts from `sockaddr_in` for IPv4 to the generic `sockaddr`.
2023-02-09 09:34:26 +08:00
..
alios Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
android Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
common Fix warnings in the posix socket implementation (#1768) 2022-11-29 20:04:07 +08:00
darwin Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
esp-idf Fix explicit casts and types in espidf_socket.c (#1945) 2023-02-09 09:34:26 +08:00
freebsd Port WAMR to the FreeBSD platform and update the document (#1825) 2022-12-24 10:11:10 +08:00
include Fix zephyr sample build errors (#1757) 2022-11-28 11:23:51 +08:00
linux Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
linux-sgx SGX IPFS: Fix a segfault and support seeking beyond the end of files while using SEEK_CUR/SEEK_END (#1916) 2023-01-30 08:24:12 +08:00
nuttx nuttx: Mock socket APIs if NET is disabled (#1896) 2023-01-18 09:16:13 +08:00
riot Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
rt-thread Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
vxworks Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
windows Refine Windows thread waiting list operations (#1853) 2023-01-06 14:51:07 +08:00
zephyr Fix zephyr sample build errors (#1757) 2022-11-28 11:23:51 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.

Refer to port_wamr.md for how to port WAMR to a target platform.