ref: 01af5a89b3e1ac5c45472ef8ade9c15ffbd19925
parent: eb76049452cda81dcf2a1ae891085c6fffeea2f8
author: gkostka <kostka.grzegorz@gmail.com>
date: Thu Oct 8 14:37:01 EDT 2015
Add CONFIG_HAVE_OWN_OFLAGS=1 for targets without right definitions
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,14 +23,17 @@
#cortex-m4 demos
add_subdirectory(demos/stm32f429_disco)
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL bf518)
+ add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#bf518 demos
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL avrxmega7)
+ add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#avrxmega7 demos
#...
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)
#msp430f6459 demos
#...
else()