Skip to content

Commit 86a4168

Browse files
committed
cleaned up a little
1 parent 2db45b0 commit 86a4168

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

stm32/CMakeLists.txt

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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)
8282
endif()
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
9485
if(NOT CMAKE_BUILD_TYPE)
9586
set(CMAKE_BUILD_TYPE "Debug")
@@ -107,13 +98,11 @@ set(CMAKE_EXECUTABLE_SUFFIX_CXX ".elf")
10798
set(CMAKE_EXECUTABLE_SUFFIX_ASM ".elf")
10899
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp")
109100

110-
111101
# Check build flags
112102

113103
message(STATUS "CMAKE_C_FLAGS: " ${CMAKE_C_FLAGS})
114104
message(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

159148
add_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)
332319
target_compile_options(sm1000v5 PRIVATE "-O3")
333320
elf2bin(sm1000v5)
334321
elf2dfu(sm1000v5)
335-
336-
337-

0 commit comments

Comments
 (0)