-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Fmuv1 space #2080
Fmuv1 space #2080
Conversation
742434d
to
797c76b
Compare
This change set brings FMUv1 from:
to
without any loss of functionality. |
Passes testing on FMUv1 and FMUv2. |
Output of top:
|
with 2 mavlink instances:
|
flight performance nominal in manual mode, but no log file generated. contents of msgs_2015_04_25_14_35_31.txt:
|
I think the stack penetrations of the interrupt stack is 480 bytes (top on nuttx_next has the interrupt stack stats listed for idle) and the allocations is 1500. Since we do not nest there is another K that can be recover. Because the configuration uses a separate interrupt stack. You really only need about 8 bytes of margin beyond the fully loaded system used values. So there are some gains that could reaped there. If call time stack checking is enabled then this increases to an overly conservative 264 bytes. |
f50159d
to
573bfe8
Compare
@kd0aij Would you mind re-testing? I checked that sdlog2 works now. Please also make sure to run make distclean and make archives to get the full benefit. |
sdlog2 now working, log: http://dash.oznet.ch/view/gvn9ZVSM4PtYZSSStXD4sJ |
Applied on master. |
Changes Unknown when pulling 573bfe8 on fmuv1_space into ** on master**. |
@kd0aij could you test this? Particularly interested in the log - it should work the same as in master (so could have this 8 byte error I haven't traced back yet), but should work with 2 MAVLink instances.
Bench-tested on FMUv1 hardware.