11#
2- # stm32f4 Codec2 test programs
2+ # stm32f4 support for Codec2
33#
44# CMake configuration contributed by Richard Shaw (KF5OIM)
55# Please report questions, comments, problems, or patches to the freetel
@@ -81,15 +81,6 @@ if(VERIFY_OPT)
8181 add_definitions (-DDUMP)
8282endif ()
8383
84- #option(SEMIHOSTING "Enable for standard arm semihosting." OFF)
85- #if(SEMIHOSTING)
86- # link_libraries(rdimon)
87- # set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --specs=rdimon.specs")
88- #else()
89- # link_libraries(nosys)
90- # set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -specs=nosys.specs")
91- #endif()
92-
9384# Set default build type
9485if (NOT CMAKE_BUILD_TYPE )
9586 set (CMAKE_BUILD_TYPE "Debug" )
@@ -107,13 +98,11 @@ set(CMAKE_EXECUTABLE_SUFFIX_CXX ".elf")
10798set (CMAKE_EXECUTABLE_SUFFIX_ASM ".elf" )
10899set (CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp" )
109100
110-
111101# Check build flags
112102
113103message (STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS} )
114104message (STATUS "CMAKE_ASM_FLAGS: " ${CMAKE_ASM_FLAGS} )
115105
116-
117106###################################################
118107
119108# STM32F4 Standard Peripheral Library
@@ -158,8 +147,6 @@ include_directories(../src ../unittest inc ${PROJECT_BINARY_DIR})
158147
159148add_subdirectory (unittest/src)
160149
161-
162-
163150# Codec 2
164151
165152# Output path is such that #include <codec2/version.h> in codec2.h works
@@ -332,6 +319,3 @@ target_link_libraries(sm1000v5 stm32f4_adac stm32f4 CMSIS)
332319target_compile_options (sm1000v5 PRIVATE "-O3" )
333320elf2bin(sm1000v5)
334321elf2dfu(sm1000v5)
335-
336-
337-
0 commit comments