Skip to content

Commit

Permalink
Fix to includes order for ChibiOS-Contrib
Browse files Browse the repository at this point in the history
- Following nanoframework/nf-interpreter#1179.

Signed-off-by: José Simões <[email protected]>

#ALL#
  • Loading branch information
josesimoes committed Jan 25, 2019
1 parent b266d37 commit 2bdc233
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/GHI_FEZ_CERB40_NF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/I2M_ELECTRON_NF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/I2M_OXYGEN_NF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/ST_NUCLEO144_F412ZG_NF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
7 changes: 6 additions & 1 deletion CMSIS-OS/ChibiOS/ST_NUCLEO144_F746ZG/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ find_package(NF_CoreCLR REQUIRED)
#######################################
# optional

# ChibiOS contrib repo
if(CHIBIOS_CONTRIB_REQUIRED)
find_package(ChibiOS-Contrib REQUIRED)
endif()

# nF feature: debugger
if(NF_FEATURE_DEBUGGER)
find_package(NF_Debugger REQUIRED)
Expand Down Expand Up @@ -151,8 +156,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/ST_NUCLEO64_F401RE_NF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/ST_NUCLEO64_F411RE_NF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down
2 changes: 1 addition & 1 deletion CMSIS-OS/ChibiOS/ST_STM32F4_DISCOVERY/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ include_directories(

${WireProtocol_INCLUDE_DIRS}
${CHIBIOS_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}
${ChibiOSnfOverlay_INCLUDE_DIRS}
${CHIBIOS_CONTRIB_INCLUDE_DIRS}

${TARGET_CMSIS_COMMON_INCLUDE_DIRS}
${TARGET_CHIBIOS_COMMON_INCLUDE_DIRS}
Expand Down

0 comments on commit 2bdc233

Please sign in to comment.