Explorar o código

Merge pull request #32 from janoc/chibios-usb-serial-fix

Fixed a missing ChibiOS file
ObKo %!s(int64=9) %!d(string=hai) anos
pai
achega
cc6f459699
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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})