From 985710d517e38a93be7658d4e4e8967c356a4ef9 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 6 Nov 2018 17:18:34 +0900 Subject: COBS/binary suport added, abstraction improved --- src/CMakeLists.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d6fa3bd..25d8683 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,12 +1,3 @@ -if (USE_USART_DEBUG) - set (USART_HELPERS - usart_helpers.c - tinyprintf.c - ) -else (USE_USART_DEBUG) - set (USART_HELPERS "") -endif (USE_USART_DEBUG) - set (inc ${CMAKE_SOURCE_DIR}/include) add_library (usbhost @@ -28,6 +19,9 @@ add_library (usbhost usbh_driver_hub.c usbh_driver_hub_private.h usbh_lld_stm32f4.c + usart_helpers.c + tinyprintf.c + cobs.c ) target_link_libraries (usbhost -- cgit