* [build] split subdirs rules
when compiling ground_segment target, it should not depend on misc tools
that are themselves compiling the ext libraries, including libopencm3.
this way, the command 'make ground_segment' should be enough to run a
simulation without installing a cross compiler
* [build] warning if arm-none gcc not found
and remove auto detect of old toolchain, not supported since 2013
When adding a test node to a makefile section, with required compilation
flags, include and other options, all the files (not arch dependent
files) can be compiled with a TAP compatible program, included in the
standard tests of the CI servers.
Not all module's XML files are converted, but a large part of the most
important parts are already covered. More will be added later. The
number of tested airframes (full compilation of all targets) have been
reduced to speed the CI compile time but still covers the relevant
architecture and boards.
The main benefit is that the overall coverage is already better than
before as previous test aircraft were compiling more or less the same
part of the airborne code, while this new mechanism is more efficient to
test modules not included in any config.
* [gec] fix compilation of secure telemetry module gec_dl
* [chibios] add RNG support to ChibiOS arch
* Force clearning Cargo.lock files
* change unlock order
thread stack should have around 2 Kb free
both AP and FBW in case of fixedwing
Co-authored-by: Michal Podhradsky <mpodhradsky@galois.com>
- update pprzlink to fix bug for the number of parameters in callback
- also split pprzlink makefile rules for update and install (it allows
to install the libraries with local changes)
This new script is doing the same than before but don't rely on the
ocaml install which was a problem when mixing opam and system install.
Note that when updating, git will complain about the already existing
file 'paparazzi'. So it is necessary to delete the old file (or run
'make clean') before updating the code.
- by default use pprzlink message definition
- if custom messages are need to be used, place the file messages.xml in conf
- only use default units.xml file
- better quiet compilation
no more moving and restoring of the conf.xml
Test targets available now:
- test_math: doesn't care about conf nor needs any other pprz code built
- test_examples: compiles all aircrafts in conf_tests.xml, doesn't care about conf.xml
- test_sim: needs a valid conf.xml with the appropriate aircrafts (Microjet for now)
- test: only calls test_math and test_examples for now (no X needed, conf.xml is not read)
- always save build version when updating anything that depends on libpprz, so it will also be updated on e.g. make tmtc
- only warn if the version number (major.minor.patch) is different, disregard the label, sha1, dirty postfixes in the string...