diff options
| author | hathach <[email protected]> | 2025-10-28 00:38:34 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-28 11:10:29 +0700 |
| commit | 113a763bc3fe861ac7c20075b2ad29bb51f6fd01 (patch) | |
| tree | aaab97d17689aff79b6b4b0ae2794464701313b3 /hw/bsp/broadcom_32bit | |
| parent | a12806a6cd65b11476cde69628f92f64978f1c64 (diff) | |
fix warning with strict prototypes warnings
Diffstat (limited to 'hw/bsp/broadcom_32bit')
| -rw-r--r-- | hw/bsp/broadcom_32bit/family.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/broadcom_32bit/family.cmake b/hw/bsp/broadcom_32bit/family.cmake index c92d79de8..3f327861b 100644 --- a/hw/bsp/broadcom_32bit/family.cmake +++ b/hw/bsp/broadcom_32bit/family.cmake @@ -88,10 +88,10 @@ function(family_configure_example TARGET RTOS) 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 () - - set_source_files_properties(${STARTUP_FILE_${CMAKE_C_COMPILER_ID}} PROPERTIES + set_source_files_properties(${STARTUP_FILE_${CMAKE_C_COMPILER_ID}} PROPERTIES SKIP_LINTING ON COMPILE_OPTIONS -w) + # Flashing family_add_bin_hex(${TARGET}) family_flash_jlink(${TARGET}) |
