Also, less flags need to be activated now in the build_flags. This is what the monitor_dtr = 1 instruction above is for. GitHub you will only get data if the DTR line is enabled. Also: Using the dev-platform is not required anymore, you can write platform = ststm32 instead.ĮDIT March 2021: Per Serial USB without DTR optional: set COM port to monitor here if there are multipleĮDIT October 2020: Added USBD_PID. data will be received on the serial USB port Activating PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED will cause it to try HS which it doesn’t have, and PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED_FULLMODE will cause it to put its HS peripheral into FS mode, which it doesn’t even have in the first place, so both macros must be omitted.Ĭan you test on your bluepill if this works? Baud rate for the CDC should be 115200. The CP210x Host API is provided in the form of a Windows Dynamic Link Library (DLL), CP210xManufacturing.DLL. Regarding high-speed (HS) mode: The bluepill only supports the lesser Full-Speeed (FS) standard. CP210x device for retrieving and setting the VID, PID, product string, serial number, self- power attribute, maximum power consump-tion, and device version. It’s missnig needed flags like USBD_VID, USB_MANUFACTURER, USB_PRODUCT, USBCON and HAL_PCD_MODULE_ENABLED. PlatformIO’s build script for activating USB serial support seems really broken right now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |