STM32F1: No USBSerial without USB-serial bridge (#15242)

This commit is contained in:
Tanguy Pruvot 2019-09-13 00:59:31 +02:00 committed by Scott Lahteine
parent 832be5dd36
commit f1162243f6
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@
// Public Variables // Public Variables
// ------------------------ // ------------------------
#if (!defined(SERIAL_USB) && !defined(USE_USB_COMPOSITE)) #if (defined(SERIAL_USB) && !defined(USE_USB_COMPOSITE))
USBSerial SerialUSB; USBSerial SerialUSB;
#endif #endif

View File

@ -362,7 +362,7 @@ board = genericSTM32F103VE
monitor_speed = 250000 monitor_speed = 250000
extra_scripts = buildroot/share/PlatformIO/scripts/longer_STM32.py extra_scripts = buildroot/share/PlatformIO/scripts/longer_STM32.py
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
${common.build_flags} -std=gnu++14 ${common.build_flags} -std=gnu++14 -USERIAL_USB
-DSTM32F1xx -DU20 -DTS_V12 -DSTM32F1xx -DU20 -DTS_V12
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6 build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>