-
Notifications
You must be signed in to change notification settings - Fork 78
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
Suggestion: Blackpill support? #55
Comments
Sounds like a good idea. I need to learn more about the blackpill peripherals and I guess order one, since I don't have any :) |
I do own a few, so if you could point out key bits I could perhaps do the code and PR it to ya |
That sounds even better :) Not only a great idea, but also a willingness to do the coding. Awesome! Of course I am open to answer any questions. What do you think would be the best way to start? I don't know if you've tried to get familiar with the codebase yet. Do you have any specific questions already? Or maybe we can meet on Zoom sometime and I'll try to show you the project, explain how it works, and what should be ported so that you have an idea on the scope of work. |
well, git grep is showing me things. btw, where does stm32f1xx.h come from? |
Hrm. Building it for stm32f1xx gives the following error:
|
Ahh. Its a problem with the GIT_VERSION macro or the like. |
Hmm. The code could be refactored in a manner similar to https://github.com/blackmagic-debug/blackmagic and handle |
This comes from CMSIS, I use https://github.com/STMicroelectronics/STM32CubeF1.git, but it looks like you've figured that out already.
That's a bug. I didn't take into account the "latest" case. Will fix that.
Well, probably yes. Another possibility is to use ifdefs, which may be easier if we are only interested in two platforms at the moment. However, if someday we need to support more platforms in addition to black/bluepill, it'll come to this anyways. |
Its my understanding that the two chips are pretty close together in features and capabilities.
Would be fun to extend this to support both, if possible.
The text was updated successfully, but these errors were encountered: