support for CLI (over USB CDC) without DEBUG (#5940)

This commit is contained in:
Raphael Coeffic
2018-06-03 23:17:29 +02:00
committed by Bertrand Songis
parent 487c0de90f
commit a6afbebc94
2 changed files with 5 additions and 1 deletions
@@ -39,7 +39,7 @@ set(FIRMWARE_TARGET_SRC
../common/arm/stm32/flash_driver.cpp
)
if(DEBUG)
if(DEBUG OR CLI)
set(STM32USB_SRC
${STM32USB_SRC}
STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_core.c