Support HW serial in v5, clean up config
This commit is contained in:
parent
351e5a6b7a
commit
0f4e4b5289
7 changed files with 44 additions and 36 deletions
|
|
@ -20,6 +20,12 @@ lib_deps =
|
|||
waspinator/AccelStepper@^1.61
|
||||
lib_ldf_mode = chain
|
||||
|
||||
[env:uno]
|
||||
platform = atmelavr
|
||||
board = uno
|
||||
build_flags = -D MCU_UNO
|
||||
|
||||
|
||||
[env:nano]
|
||||
platform = atmelavr
|
||||
board = nanoatmega328new
|
||||
|
|
@ -42,14 +48,14 @@ platform = ststm32
|
|||
board = bluepill_f103c8
|
||||
upload_protocol = stlink
|
||||
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
|
||||
-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
|
||||
|
||||
[env:esp32]
|
||||
platform = espressif32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue