-
Notifications
You must be signed in to change notification settings - Fork 1k
Add support of BlackPill F303CC #544
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
Conversation
Thanks @fpistm I posted this over on the forums:
link here -> https://www.stm32duino.com/viewtopic.php?p=54755#p54755 Thoughts? |
ps, boards.txt refers to Black407VE - copy paste error I guess?
|
@BennehBoy, |
So you did - missed that 😊 |
Have you given any thought to putting the ISR routine code into CCMRAM? |
Honestly no, do not hesitate to share with us 😉 |
It would require some startup code changes. The only part missing is to copy *.ccmram from flash to ccmram at startup. The ldscript already defines the names __siccmram, _sccmram, and _eccmram Something like this might work:
Then for any routine you want to run from CCMRAM, you just give it the attribute.
I guess this is probably best left as an exercise to the user. It would probably be better if it was done on a sketch by sketch basis. ... so .. never mind ... :) |
Thanks @RickKimball Maybe you can add this as an example here: |
Tested this variant with a RobotDyn F303CC BlackPill, SPI & CDC confirmed working - will do further testing later. |
Placing these boards under the Generic STM32F3 is fine. However calling it a blackpillf303cc seems to be confusing if you haven't been reading the stm32duino.com forum. Would it be better to identify this board by the name that RobotDyn calls it? On their website it is labeled as: "STM32 ARM Cortex®-M4 Mini System Dev.board" Maybe we use something like "RobotDyn Cortex-M4 Mini System Dev Board" ? This way we don't have to answer questions about how to use the board with the ST core? Or at least have RobotDyn in the menu selection someplace so it is apparent? |
Regarding naming. Why does Sparky V1 rate as a top level board? Shouldn't there be a collection of "Flight Controller Board" ? And the RAKWireless? It also rates a top level board. Why not a collection of "Wireless Boards" ? |
@RickKimball About Sparky, I've made the same comment during the PR review: About RAK, as there are several RAK boards, I added them under their site name. |
Wait! I was just chatting with the sales agent at RobotDyn. I asked if they had a preferred name and they went and asked Chief Executive Shavkat Begishev. The official name they prefer "RobotDyn Blackpill F303" |
Don't worry, I will do update later. |
Signed-off-by: Frederic Pillon <[email protected]>
Comment from @BennehBoy about 'PILL' style boards handled in the core: > There's a fair bit of fragmentation in the variants folder currently, > the BLUEPILL_F103XX folder handles generic blue & black pills Co-authored-by: BennehBoy <[email protected]> Signed-off-by: Frederic.Pillon <[email protected]>
I've updated the name. |
No blockers that I can see, is the gcc fix for windows paths with spaces?
…On Thu, Jun 27, 2019 at 8:05 AM Frederic Pillon ***@***.***> wrote:
I've updated the name.
I have to made a new release to fix an issue with the arm none eabi gcc
toolchain on windows.
So I think to merge this variant to add it to the release.
Do you see any blocker for this ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#544?email_source=notifications&email_token=AF6R4XSFGNCIT5EWV7AM7BDP4RRDTA5CNFSM4HZTMGDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYWFBOA#issuecomment-506220728>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6R4XTJS7BX6EIH2CGSE6DP4RRDTANCNFSM4HZTMGDA>
.
|
yes. |
Sorry if this is not the right place for my question: it seems, reading from the PlatformIO documentation, that DFU upload method is not yet supported for this board/MCU, am I wrong? If I'm right, in the hope to grasp the concepts behind usb DFU, can I kindly ask why? I mean, AN2606 (https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf) says STM32F303xB(C) has USB bootloader pre-burned in factory and, in my base understanding, having an utility like DFU-util that, still in my base understanding, we already use for boards like BluepillF103Cx, should be sufficient to complete the "recipe", no? What am I missing? Could you point me on some "basic" info source? I would really like to gain some knowledge on the topic and, maybe, help someday :-) |
@Alteregoxxx I currently working to automatically switch to the STM32 Bootloader mod. See #710. |
I see...
Yep, I've already learned that some time ago, reading trough a few of the "brief" STM32 datasheets :-D
That would be great, not great as having DFU already supported in PlatformIO, but still great :-P |
Yes DFU util could be used. About PIO, I'm not aware how the STM32 core is integrated nor the upload tools. |
Board:
https://robotdyn.com/stm32f303cct6-256-kb-flash-stm32-arm-cortexr-m4-mini-system-dev-board-3326a9dd-3c19-11e9-910a-901b0ebb3621.html