elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL bf518)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL avrxmega7)
- #...
+ add_definitions(-DCONFIG_HAVE_OWN_ERRNO=1)
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL msp430g2210)
add_definitions(-DCONFIG_DEBUG_PRINTF=0)
add_definitions(-DCONFIG_DEBUG_ASSERT=0)
add_definitions(-DCONFIG_DEBUG_PRINTF=0)
add_definitions(-DCONFIG_DEBUG_ASSERT=0)
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
- add_definitions(-DCONFIG_HAVE_OWN_ERRNO=1)
+ add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
else()
#Generic example target
/**@brief Include error codes from ext4_errno or standard library.*/
#ifndef CONFIG_HAVE_OWN_ERRNO
-#define CONFIG_HAVE_OWN_ERRNO 1
+#define CONFIG_HAVE_OWN_ERRNO 0
#endif
/**@brief Debug printf enable (stdout)*/