px4-firmware/cmake/configs
Carlo Wood 03d176d097 Bug fixes, typos, indentation.
Over time I made a few changes unrelated to what I'm really working on.
These changes are hereby committed first. The bug fixes are related to
what I'm doing in that I need them to be fixed for future commits.

Tools/sitl_run.sh: rename label to rcS_dir and fix usage help.
cmake/common/px4_base.cmake: Remove the check on OUT_UNPARSED_ARGUMENTS,
  and a few typos and indentation issues.
cmake/configs/posix_sitl_replay.cmake: Set the correct variable
  (config_sitl_rcS_dir) to the correct directory.
cmake/nuttx/px4_impl_nuttx.cmake: typos and indentation issues,
  and removal of a redundant FORCE (INTERNAL implies FORCE).
cmake/posix/px4_impl_posix.cmake: typos and indentation issues.
cmake/qurt/px4_impl_qurt.cmake: typos and indentation issues.
src/modules/mavlink/mavlink_ftp.cpp : possible strict-aliasing breakage.

NOTES

The second argument passed to sitl_run.sh is the value of
config_sitl_rcS_dir. This fact is missing from the usage help.
I renamed 'label' to 'rcS_dir' to better reflect this.
Also, for the 'replay' config the wrong variable was set causing
the call to sitl_run.sh to skip an argument and fail (ie the
debugger was passed as rcS_dir and so on).

The check on OUT_UNPARSED_ARGUMENTS in px4_parse_function_args
basically causes every passed IN variable to be REQUIRED and is
therefore a bug. The test for the presence of the REQUIRED arguments
follows directly after and is sufficient for this job. This bug went
unnoticed because currently every argument to OPTIONS, ONE_VALUE,
and MULTI_VALUE is actually passed to the function(s) calling
px4_parse_function_args (them being REQUIRED or not).

The changes in mavlink_ftp.cpp are to avoid a possible aliasing bug
and (mostly) to avoid the compiler warning/error: dereferencing type-
punned pointer will break strict-aliasing rules [-Werror=strict-aliasing].
2016-09-13 16:31:08 +02:00
..
nuttx_asc-v1_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
nuttx_crazyflie_default.cmake Syslink for battery, RSSI, and initial radio control 2016-09-04 19:12:08 +02:00
nuttx_mindpx-v2_default.cmake vmount: add mount and ROI implementation 2016-09-06 11:33:18 +02:00
nuttx_px4-stm32f4discovery_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
nuttx_px4fmu-v1_default.cmake vmount: add mount and ROI implementation 2016-09-06 11:33:18 +02:00
nuttx_px4fmu-v2_default.cmake Remove SRF02 driver to make flash space 2016-09-07 13:29:41 +02:00
nuttx_px4fmu-v2_test.cmake cmake px4fmu-v2: disable vmount for now, due to flash overflow 2016-09-06 11:33:18 +02:00
nuttx_px4fmu-v4_default.cmake vmount: add mount and ROI implementation 2016-09-06 11:33:18 +02:00
nuttx_tap-v1_default.cmake vmount: add mount and ROI implementation 2016-09-06 11:33:18 +02:00
posix_bebop_default.cmake Add DF wrapper for BebopBus driver 2016-09-07 08:24:08 +02:00
posix_eagle_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_eagle_hil.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_eagle_legacy_driver_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_eagle_muorb.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_excelsior_default.cmake cmake: added some comments about eagle/excelsior 2016-05-05 09:11:59 +02:00
posix_rpi_common.cmake Sync estimator CMake configs for all boards 2016-08-07 10:40:17 +02:00
posix_rpi_cross.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_rpi_native.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_sdflight_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
posix_sitl_broadcast.cmake Improvements to SITL to make paths more flexible. (#5181) (#5255) 2016-08-25 21:47:45 +02:00
posix_sitl_default.cmake cmake posix sitl: add vmount driver 2016-09-06 11:33:18 +02:00
posix_sitl_ekf2.cmake Improvements to SITL to make paths more flexible. (#5181) (#5255) 2016-08-25 21:47:45 +02:00
posix_sitl_lpe.cmake Improvements to SITL to make paths more flexible. (#5181) (#5255) 2016-08-25 21:47:45 +02:00
posix_sitl_replay.cmake Bug fixes, typos, indentation. 2016-09-13 16:31:08 +02:00
qurt_eagle_default.cmake cmake: re-use the QURT build as well 2016-05-05 09:12:46 +02:00
qurt_eagle_hello.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
qurt_eagle_hil.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
qurt_eagle_legacy_driver_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
qurt_eagle_muorb.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
qurt_eagle_test.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
qurt_eagle_travis.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00
qurt_excelsior_default.cmake cmake: re-use the QURT build as well 2016-05-05 09:12:46 +02:00
qurt_sdflight_default.cmake Path cleanup, low impact changes (#5340) 2016-08-18 15:37:23 -04:00