ref: 0e5e8685d40cf5f43a69d2187d35b7013f6a2be1
parent: fc020d819e805cdc85232e492ea376e4e2045162
author: gkostka <[email protected]>
date: Thu Nov 19 17:38:24 EST 2015
Set new default configuration (remove some unnecessary definitions)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,20 +18,16 @@
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL cortex-m4)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL bf518)
- add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL avrxmega7)
- add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL msp430g2210)
add_definitions(-DCONFIG_DEBUG_PRINTF=0)
add_definitions(-DCONFIG_DEBUG_ASSERT=0)
- add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#...
else()
#Generic example target
set(BLOCKDEV_TYPE linux)
- add_definitions(-DCONFIG_EXTENT_FULL=1)
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=0)
add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
add_definitions(-DCONFIG_HAVE_OWN_ASSERT=0)
--- a/lwext4/ext4_config.h
+++ b/lwext4/ext4_config.h
@@ -132,7 +132,7 @@
/**@brief Include open flags from ext4_errno or standard library.*/
#ifndef CONFIG_HAVE_OWN_OFLAGS
-#define CONFIG_HAVE_OWN_OFLAGS 0
+#define CONFIG_HAVE_OWN_OFLAGS 1
#endif
/**@brief Use full extent implemrntation*/
@@ -139,8 +139,6 @@
#ifndef CONFIG_EXTENT_FULL
#define CONFIG_EXTENT_FULL 1
#endif
-
-
#endif /* EXT4_CONFIG_H_ */