-
Notifications
You must be signed in to change notification settings - Fork 1.3k
STM32: Add PYB Nano support #2315
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
please upload a photo or diagram showing what external chips you have wired up |
Please remove the stm32f401 changes from here since the PYB Nano is a 411. No need to open a new PR though. Just push a new commit here. |
@tannewt sure, good catch. Those should go in with the Meowbit |
@ladyada Here's a photo of a full test rig: Currently this code suffers the #2346 issue, but that's across all 8MHz boards, so I'm working on it separately. |
thanks I realized i actually have a different board - so i ordered a bunch of em :) the board i have this this one: https://www.aliexpress.com/item/4000069263843.html which has a 25mhz xtal. it'll be a week till i get the pybnano in, dya wanna try making a def for this board intead/as well? |
@ladyada I actually have done all the pin definitions for that as the "blackpill" (you recommended both a couple months back, I think), but I've had some problems, which is why I dropped #2312. It's erratic to flash (frequently fails validation or won't load the flash loader, doesn't work at all with gdb, etc), and I can't get USB to enumerate. I can keep hacking at it, but the PYB Nano is MUCH more stable with the same MCU (F411) which makes me wonder if there's a sourcing related issue with the blackpill. Do you have the schematics for the blackpill, by the way? I couldn't get them to download off Baidu without an account |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks!
my order hasnt come in yet :( |
All good we can probably just revisit. I tested it pretty thoroughly I don't think we should see any issues. |
We can always fix it later. :-) |
yep thank you :) |
@makermelissa this'll need a circuitpython.org card! |
Ok |
This PR adds support for the PYB Nano V2, which uses the STM32F411CE on a small form factor board with a W25Q64JV_IQ for external flash support and a built in MMA7660FC accelerometer. Tested for flash operation and multiple modules of support with success.
Drops the Blackpill from #2312, since it has proven flaky in testing. Partially addresses #2196