-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 target BLACKPILL_F411 #8902
Conversation
Not sure we should add blackpill as an official target. |
why not? :)Ppeople already choose what peripherals to connect, for example: compass, barometer or gps. Why shouldn't we be able to choose the MPU, because that's what it's all about. Not everyone can build their own target, and a ready-to-use one will certainly be more accessible. |
https://github.com/iNavFlight/inav/blob/master/docs/policies/NEW_HARDWARE_POLICY.md
|
At a minimum, this requires |
Ok, so there is no chance :( so it must be unofficial |
@HKR1987 If you want to include this as an unofficial target, maybe you could add some documentation about the targets in: https://github.com/iNavFlight/inav/tree/master/docs/boards A pin diagram, wiring examples for the supported IMUs and known issues would be a good start. |
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.
Confirming that the board works.
Ok, the documentation added |
Looking good but I think the header for multirotor and plane are swapped on the table listing servos and motors in your picture. |
Sorry, my fault. Corrected, thanks :) |
I see that PINIO1 (PA13) is shared with SWDIO, can it be moved to a different unused pin? I see this target being useful to learning, experimenting with new hardware/sensors it probably would be a good idea to keep the swd interface available for debugging. |
I dont think so. PA11 and PA12 used by usb, PC13 used by led and PC14 and PC15 using LSE oscilator (but not 100% sure for that). Maybe just make one more without pinio? Edit: yes, there is LSE: |
Maybe just drop pinio. It is not needed and requires extra hardware to be useful anyway |
I think other side: PINIO better than SWDIO. Beginer can use it. And when someone want use SWDIO (it must be advanced user) so there is not be problem for him to change it ;) |
It seems easier for a beginner to edit out pinio if they want to use a debugger. Maybe the pin conflict should be stated in the documentation. |
Sounds like a good enough compromise. @HKR1987 could you mention that in the board documentation? |
Ok, done |
Other question, I have compiled a BlackPillF4 firmware, but i has 1.2M (inav_8.0.0_BLACKPILL_F411_BLACKBOX.hex). I can not write it to flash via st-link . |
This is not the place for user support. This is also an unofficial target, so there are no guarantees it works. |
ok. thanks |
Two target:
BLACKPILL_F411_OSD
BLACKPILL_F411_BLACKBOX
Targets for STM32F411 "BlackPill" Development Board