summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-25 09:55:05 +0700
committerhathach <[email protected]>2023-06-25 09:55:05 +0700
commit2ecd7c148db9f370dc151dc2f4fe223a71e9df76 (patch)
tree96f80f95c736db75edbc575fd24a532b3613cde0 /hw
parent15376397b10e6fb35ef7ec4b693271adbafecabf (diff)
fix ci with lpc55 and kl, move hw test l4 to cmake iar
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/lpc55/family.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/bsp/lpc55/family.cmake b/hw/bsp/lpc55/family.cmake
index 9f6b1f63d..e443f47d3 100644
--- a/hw/bsp/lpc55/family.cmake
+++ b/hw/bsp/lpc55/family.cmake
@@ -103,6 +103,12 @@ function(family_configure_example TARGET)
${TOP}/lib/sct_neopixel/sct_neopixel.c
)
+ # https://github.com/gsteiert/sct_neopixel/pull/1
+ if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
+ set_source_files_properties(${TOP}/lib/sct_neopixel/sct_neopixel.c PROPERTIES
+ COMPILE_FLAGS "-Wno-unused-parameter")
+ endif ()
+
target_include_directories(${TARGET} PUBLIC
# family, hw, board
${CMAKE_CURRENT_FUNCTION_LIST_DIR}