Include community board in cmake select
Added the community board in the select case to have the proper I2C version.
@@ -70,7 +70,8 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
${CHIBIOS_BOARD} STREQUAL "MBN_QUAIL" OR
${CHIBIOS_BOARD} STREQUAL "NETDUINO3_WIFI" OR
${CHIBIOS_BOARD} STREQUAL "I2M_ELECTRON_NF" OR
- ${CHIBIOS_BOARD} STREQUAL "I2M_OXYGEN_NF")
+ ${CHIBIOS_BOARD} STREQUAL "I2M_OXYGEN_NF" OR
+ ${CHIBIOS_BOARD} STREQUAL "ST_NUCLEO64_F411RE_NF")
${PROJECT_BINARY_DIR}/ChibiOS_Source/os/hal/ports/STM32/LLD/I2Cv1
else()
${PROJECT_BINARY_DIR}/ChibiOS_Source/os/hal/ports/STM32/LLD/I2Cv2
@@ -106,7 +107,8 @@ if(${CHIBIOS_BOARD} STREQUAL "ST_STM32F429I_DISCOVERY" OR
${CHIBIOS_BOARD} STREQUAL "MBN_QUAIL" OR
${CHIBIOS_BOARD} STREQUAL "NETDUINO3_WIFI" OR
${CHIBIOS_BOARD} STREQUAL "I2M_ELECTRON_NF" OR
- ${CHIBIOS_BOARD} STREQUAL "I2M_OXYGEN_NF")
+ ${CHIBIOS_BOARD} STREQUAL "I2M_OXYGEN_NF" OR
+ ${CHIBIOS_BOARD} STREQUAL "ST_NUCLEO64_F411RE_NF")
list(APPEND CHIBIOS_INCLUDE_DIRS ${PROJECT_BINARY_DIR}/ChibiOS_Source/os/hal/ports/STM32/LLD/I2Cv1)
else()
list(APPEND CHIBIOS_INCLUDE_DIRS ${PROJECT_BINARY_DIR}/ChibiOS_Source/os/hal/ports/STM32/LLD/I2Cv2)
