mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-09-29 14:24:01 +08:00
Error values use in the library are not POSIX. Unlike the GNU gcc,the EWARM toolchain doesn't support error such as EINVAL. To ensure coherency in error management we have to ensure that library and application use the same errno. Currently an "errno.h" is provided at application level which makes GCC work correctly, but this is not the case for the IAR. the added list is based on FreeBSD errno.h. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>