Browse Source

Master uavcan mainline (#6313)

* Update libuavcan to upstream master with PX4 contrib for NuttX 7.16+

* Release any 64B blocks not needed by usavcan after FW server is stopped.

  We simply call the srrink methode after the server stop.
  See https://github.com/PX4/Firmware/pull/3005#issue-111885687
  for backgound
sbg
David Sidrane 8 years ago committed by GitHub
parent
commit
79d682e740
  1. 2
      src/modules/uavcan/libuavcan
  2. 4
      src/modules/uavcan/uavcan_main.cpp

2
src/modules/uavcan/libuavcan

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit ed47da5b2af550fd353680c3a9c03b774d0017fd
Subproject commit dcbb573972f80343ee68eed743506ac09605de3b

4
src/modules/uavcan/uavcan_main.cpp

@ -1458,11 +1458,13 @@ int uavcan_main(int argc, char *argv[]) @@ -1458,11 +1458,13 @@ int uavcan_main(int argc, char *argv[])
int rv = inst->fw_server(UavcanNode::Stop);
/* Let's recover any memory we can */
inst->shrink();
if (rv < 0) {
warnx("Firmware Server Failed to Stop %d", rv);
::exit(rv);
}
::exit(0);
} else {

Loading…
Cancel
Save