Daniel Agar
9b5fe8c476
ignore -Wsign-compare per module
2017-09-07 10:27:36 +02:00
Peter Duerr
40dff737c5
Fix uninitialized values identified by cppcheck
...
* Replace `malloc` by `calloc` for c-string initialization
* Add initializer braces for structs
2017-08-07 22:05:17 +02:00
Peter Duerr
cc1b766824
Fix memory leaks identified by cppcheck
...
* Add `free` / `delete`
* Add comment explaining the (presumed) motivation for the use of new instead of
allocating on the stack
2017-08-07 22:05:17 +02:00
Daniel Agar
17c1114b3e
clang-tidy readability-named-parameter
2017-06-02 19:35:18 -04:00
Daniel Agar
e112161a04
clang-tidy fix mathlib headers and format
2017-06-02 19:35:18 -04:00
Daniel Agar
6631e72d6f
clang-tidy modernize-redundant-void-arg
2017-02-01 22:15:50 -05:00
Daniel Agar
e927f3e040
clang-tidy modernize-use-nullptr
2017-02-01 22:15:50 -05:00
Daniel Agar
cbc9680800
relax uorb test required avg
2017-01-02 10:14:41 +01:00
Lorenz Meier
2ec9f4a74e
uORB: Header cleanup
2016-12-27 21:00:51 +01:00
Beat Küng
76733ce54b
uorb tests: move orb metadata struct definition into cpp file
...
If they're in the header and the header is used in multiple .cpp, there
are multiple definitions. Oddly it did not lead to an error, but there
were multiple structs of the same topic but with different adresses.
This lead to a metadata mismatch, when running eg:
uorb_tests
uorb_tests latency_test
2016-09-30 13:50:51 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Lorenz Meier
630cebeabc
Relax uORB test for Darwin CI system
2016-08-07 14:05:03 +02:00
Lorenz Meier
207a04bba0
Fix uORB tests for Mac OS
2016-08-07 14:05:03 +02:00
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
2016-07-29 13:49:14 +02:00
Beat Küng
43d734ef43
orb: consistently use unsigned int for queue_size
2016-06-02 07:24:44 +02:00
Beat Küng
392c32d316
uORBTest_UnitTest.cpp: fix style
2016-06-02 07:24:44 +02:00
Beat Küng
79b3766544
orb: add unit tests for queuing, including tests with poll & notify interface
...
Both succeed under Posix & NuttX (Pixracer)
2016-06-02 07:24:44 +02:00
Daniel Agar
3de7fbb0a9
logger and uORBTest_UnitTest astyle
2016-05-14 11:27:07 +02:00
Beat Küng
eabc43d78c
orb structs: add padding bytes to align the structs where necessary
...
This is required for the logger, we just manually add the padding bytes
what would otherwise be done by the compiler. Additionally we reorder
the fields by type, so that padding is only necessary for nested types.
2016-05-14 11:27:07 +02:00
Daniel Agar
69c1ce1714
WIP logger serialization
2016-05-14 11:27:07 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Daniel Agar
008354f935
testing cleanup
2016-05-13 13:01:41 +02:00
Daniel Agar
12165ba5a4
uORB separate tests
2016-05-13 13:01:41 +02:00