diff options
| author | hathach <[email protected]> | 2025-10-14 20:51:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-14 23:02:32 +0700 |
| commit | 367044e4873fc9ca9cdac918cee684e1e08216e0 (patch) | |
| tree | 4ae740db975c5df02ad488f144026150b889796f /hw/bsp/lpc54 | |
| parent | 4bdd08ed2dacaf22ce2a442f8e13c97b03dfc2cb (diff) | |
fix lots of warnings for missing-prototypes for irqhandler
Diffstat (limited to 'hw/bsp/lpc54')
| -rw-r--r-- | hw/bsp/lpc54/family.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/bsp/lpc54/family.cmake b/hw/bsp/lpc54/family.cmake index 66320870a..3a0de4648 100644 --- a/hw/bsp/lpc54/family.cmake +++ b/hw/bsp/lpc54/family.cmake @@ -126,6 +126,10 @@ function(family_configure_example TARGET RTOS) ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/../board.c ) + if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang") + set_source_files_properties(${CMAKE_CURRENT_FUNCTION_LIST_DIR}/family.c PROPERTIES COMPILE_FLAGS "-Wno-missing-prototypes") + endif () + # 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 |
