Add example stm32 bluepill setup

This commit is contained in:
Filip Ayazi 2021-07-18 04:53:57 +01:00
parent 1dad7799ef
commit d949cbf29a
2 changed files with 23 additions and 5 deletions

View file

@ -39,4 +39,12 @@ build_flags = -D MCU_PICO
platform = ststm32
board = bluepill_f103c8
upload_protocol = stlink
build_flags = -D MCU_BLUEPILL
build_flags =
-D MCU_BLUEPILL
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBCON
-D USBD_VID=0x0483
-D USBD_PID=0x5740
-D USB_MANUFACTURER="Unknown"
-D USB_PRODUCT="\"BLUEPILL_F103C8\""
-D HAL_PCD_MODULE_ENABLED