PlatformIO Community

Marlin build error

Please understand that we are using a translator.

During the first fix and build of Marlin on the SKR PRO board today, error: #error “USB VID or PID not specified” pops up and the build is not completed. Please help me.
Thank you.

  • What Marlin repostiory and tag / branch are you using?
  • What platformio.ini modifications did you make (default environment)?

Hi , I’m getting this code from another forum and it seems just me had this problem !
and i need to upload to usb serial (stm32f103c8) all the way in mac is blocked for me !

[env:bluepill_f103c8]

platform = https://github.com/platformio/platform-ststm32.git

board = bluepill_f103c8

framework = arduino

build_flags =

-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC

-D USBCON

-D USBD_VID=0x0483

-D USB_MANUFACTURER=“Unknown”

-D USB_PRODUCT="“BLUEPILL_F103C8"”

-D HAL_PCD_MODULE_ENABLED

Thx