ref: 096dcc3aa448b462dc386fa000c632f38b3cd6aa
parent: 53a848cb60542658fc7e9167d38ff30a8f5c788e
author: gkostka <kostka.grzegorz@gmail.com>
date: Sat Jan 11 19:59:42 EST 2014
Upadate cmake file.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,11 @@
include_directories(demos/stm32f429_disco/stm/lcd_utils)
include_directories(demos/stm32f429_disco/stm/stm32f4_spl/inc)
include_directories(demos/stm32f429_disco/stm/stm32f429)
+include_directories(demos/stm32f429_disco/stm/usb_dev/Core/inc)
+include_directories(demos/stm32f429_disco/stm/usb_host/Core/inc)
+include_directories(demos/stm32f429_disco/stm/usb_host/Class/MSC/inc)
+include_directories(demos/stm32f429_disco/stm/usb_otg/inc)
+include_directories(demos/stm32f429_disco/stm/usb_user)
aux_source_directory(demos/stm32f429_disco STM32F429_DEMO)
aux_source_directory(demos/stm32f429_disco/cmsis STM32F429_DEMO)
@@ -35,8 +40,14 @@
aux_source_directory(demos/stm32f429_disco/stm/lcd_utils STM32F429_DEMO)
aux_source_directory(demos/stm32f429_disco/stm/stm32f4_spl/src STM32F429_DEMO)
aux_source_directory(demos/stm32f429_disco/stm/stm32f429 STM32F429_DEMO)
+aux_source_directory(demos/stm32f429_disco/stm/usb_host/Core/src STM32F429_DEMO)
+aux_source_directory(demos/stm32f429_disco/stm/usb_host/Class/MSC/src STM32F429_DEMO)
+aux_source_directory(demos/stm32f429_disco/stm/usb_otg/src STM32F429_DEMO)
+aux_source_directory(demos/stm32f429_disco/stm/usb_user STM32F429_DEMO)
add_executable(stm324f29_demo ${STM32F429_DEMO} ${STM32F429_DEMO_ASM})
+
+set_target_properties(stm324f29_demo PROPERTIES COMPILE_FLAGS "-Wno-unused-parameter")
set_target_properties(stm324f29_demo PROPERTIES COMPILE_DEFINITIONS "STM32F429_439xx")
set_target_properties(stm324f29_demo PROPERTIES LINK_FLAGS "-T${CMAKE_SOURCE_DIR}/demos/stm32f429_disco/stm32f429.ld")
target_link_libraries(stm324f29_demo lwext4)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#Release
#Debug
-BUILD_TYPE = Release
+BUILD_TYPE = Debug
#Check: http://www.cmake.org/Wiki/CMake_Generator_Specific_Information
#"Unix Makefiles"