소스 검색

Fixed a missing ChibiOS file causing link errors when using serial_usb module.

Jan Ciger 9 년 전
부모
커밋
4fcae9eb95
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      cmake/ChibiOS16_HAL.cmake

+ 4 - 0
cmake/ChibiOS16_HAL.cmake

@@ -19,6 +19,10 @@ FOREACH(module ${CHIBIOS_HAL_MODULES})
   IF(${module} STREQUAL mmcsd)
     SET(CHIBIOS_${module}_SOURCES hal_mmcsd.c)
   ENDIF()
+
+  IF(${module} STREQUAL serial_usb)
+    SET(CHIBIOS_${module}_SOURCES ${CHIBIOS_${module}_SOURCES} hal_buffers.c)
+  ENDIF()
 ENDFOREACH()
 
 FOREACH(module ${CHIBIOS_HAL_LIB_MODULES})