We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09f8877 + 46b137a commit f890a6cCopy full SHA for f890a6c
external/CMakeLists.txt
@@ -133,6 +133,10 @@ if(CMAKE_CROSSCOMPILING)
133
134
target_compile_options(asf4-drivers-min PRIVATE -Wno-cast-qual -Wno-unused-parameter -Wno-missing-prototypes -Wno-missing-declarations -Wno-bad-function-cast -Wno-strict-prototypes -Wno-old-style-definition)
135
136
+ if (CMAKE_BUILD_TYPE STREQUAL "DEBUG")
137
+ target_compile_definitions(asf4-drivers-min PUBLIC DEBUG USE_SIMPLE_ASSERT)
138
+ endif()
139
+
140
target_link_libraries(asf4-drivers-min samd51a-ds)
141
set_property(TARGET asf4-drivers-min PROPERTY INTERFACE_LINK_LIBRARIES "")
142
0 commit comments