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
AP_OpticalFlow: add UPFlow serial driver #12959
Conversation
overflows MatekF405-wing by 20 bytes (1Mb flash). Suggestions? |
@auturgy, the easiest thing to try and do is move some feature or flight mode into HAL_MINIMIZE_FEATURES.
I think the next step is to look for rarely used drivers. Some ideas:
Maybe there are some compass or imu drivers that we could get rid of. |
Ok. I’ll have a chat to @peterbarker and see what we come up with.
… On 3 Dec 2019, at 7:58 pm, Randy Mackay ***@***.***> wrote:
@auturgy, the easiest thing to try and do is move some feature or flight mode into HAL_MINIMIZE_FEATURES.
BUTTON_ENABLED is the only one that stands out to me (see Copter's config.h)
I think the next step is to look for rarely used drivers. Some ideas:
AP_Proximity's SF40C_v09 driver.
AP_RobotisServos are very rarely used
Maybe there are some compass or imu drivers that we could get rid of.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@rmackay9 MatekF405-wing doesn't have HAL_MINIMIZE_FEATURES switched on - I think it should as I keep tripping over flash limits on this board. |
Yeah: massive scope creep, so I’ll address it separately, but I think I’ll do an audit of minimise to see what we can shove behind it en masse, to push this problem as far down field as possible |
I actually think we have the cut wrong. We have used it to address the old Pixhawk limitation in a certain class of copter but we also run into it on these single boards which are put on a very different class of copter. I suspect there ought to be two definitions based on the different kind of targets. |
I sort of agree - but the old errata on Pixhawk is such a legacy issue I think I’d rather ignore it moving forward :) |
Do we know why the MatekF405-wing is so much worse than some of the other simple boards? |
I don’t think it is really, it’s just that it’s the representative F405 target in that autotest/CI.
The F405Wing does have basically every possible pin broken out, so is the worst case for that family of target.
Regards,
James
… On 3 Dec 2019, at 10:29 pm, Andy Piper ***@***.***> wrote:
Do we know why the MatekF405-wing is so much worse than some of the other simple boards?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
What Can I do to help get this merged? |
I didn't notice this PR until just now but in any case, we merged an alternative PR here: #16883. The two drivers are very similar. sorry and thanks anyway! |
Closes #11328
Basically a duplicate of the CXOF driver, modified for the different packet structure/order
It builds, but that is the limit of testing. Needs testing on hardware.