-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Blues Cygnet (STM32L433) #821
Comments
The "Buy" link for the Cygnet doesn't even work on https://blues.com/feather-mcu/. Where's the board's documentation, schematic, etc.? Do you have the board on hand? How does uploading work? It says
So is it using the "STM32CubeProgrammer (DFU)" upload method in the Arduino IDE or how does this work? |
FYI, I have the a work in progress board definition, which compiles sketches just fine, but it won't be uploading via USB (expects ST-Link by default). Also, PlatformIO doesn't yet have a package for the STM32CubeProgrammer, so if that's needed for the DFU upload, there is more base work to be done. boards/blues_cygnet.json{
"build": {
"cpu": "cortex-m4",
"extra_flags": "-DSTM32L4 -DSTM32L433xx",
"f_cpu": "80000000L",
"framework_extra_flags": {
"arduino": "-DCUSTOM_PERIPHERAL_PINS -DARDUINO_CYGNET"
},
"mcu": "stm32l433cct6",
"product_line": "STM32L433xx",
"variant": "STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)"
},
"connectivity": [
"can"
],
"debug": {
"default_tools": [
"stlink"
],
"jlink_device": "STM32L433CC",
"openocd_target": "stm32l4x",
"svd_path": "STM32L4x3.svd"
},
"frameworks": [
"arduino",
"cmsis",
"stm32cube",
"libopencm3"
],
"name": "Cygnet",
"upload": {
"maximum_ram_size": 65536,
"maximum_size": 262144,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"mbed"
]
},
"url": "https://blues.com/feather-mcu/",
"vendor": "Blues"
} platformio.ini[env:blues_cygnet]
platform = ststm32
board = blues_cygnet
framework = arduino |
It's a brand new board, and we were hoping to have it functional in PlatformIO before selling it, because PIO provides one of the best development experiences.
It is ready but not published while we await support. The main MCU is the
Yes, and we are happy to test anything you come up with.
Yes, that is correct.
It would be AMAZING if you guys could get it in there. However, this has been true for the "Swan R5" for over a year now. While it would be very nice to have, it doesn't appear to be mandatory. |
Is the USB-DFU upload protocol compatible with the |
I think it is compatible with dfu-util, but I don't know for sure. It should work similar to the way you've implemented the
Manually, via BOOT and RESET buttons. |
When you download + open https://github.com/maxgerhardt/pio-cygnet-test in VSCode and use the "Verbose Upload" project task, does it upload? |
It does upload, yes:
|
I've made the board definition activate the USB serial by default, otherwise Can you |
Looks good!
|
See PR above. |
This board was part of the 2.9.0 release of Arduino Core for STM32. I had thought it would automatically be part of the 18.0.0 STM32 platform release for PlatformIO, but apparently there is a manual process? Happy to create a PR if that is what is needed. Thanks!
The text was updated successfully, but these errors were encountered: