Commit Graph

22 Commits

Author SHA1 Message Date
ksschwabe 500a1c808d ROMFS list files explicitly instead of using GLOB_RECURSE (#9107)
* Lists ROMFS files explicity instead of using GLOB_RECURSE

Previously, when ROMFS files that were not airframes were touched, the ROMFS
would not be rebuilt. The ROMFS files are now specified explicityl in a
CMakeLists.txt file that is located in the root ROMFS directory.

Now when one of the ROMFS files is touched the whole ROMFS is rebuilt.

When new files are added to the ROMFS, they need to be explicity added to
the CMakeLists in the ROMFS root directory.

* ROMFS: adds individual CMakeLists files in each subdirectory

Also moves the temporary ROMFS build directory to ${PX4_BINARY_DIR}/ROMFS/genromfs
so that the cmake_install.cmake files and the CMakeFiles directories (generated whenever
are not add_subdirectory() is called) are not generated in the temporary ROMFS directory
from which the ROMFS binary is created.

* cmake ROMFS generate add px4_add_romfs_files function

* ROMFS CMakeLists: adds explanatory comment to px4_add_romfs_files function

* ROMFS CMakeLists: updates copyright headers
2018-03-26 11:19:00 -04:00
David Sidrane a14d256a2f tap_common:Add passivly starting the PWM rgbled driver
Board builds may now inclulde both the PWM and I2C RGB LED
    To add the PWM RGB LED driver:The board must define
    BOARD_HAS_LED_PWM and include rgbled_pwm the moulde list.

    This change attempts to start the either rgbled driver, that
    may or may not be present. If it is not present the +e
    setting allows the start up to continue.
2017-08-26 03:44:59 -10:00
Lorenz Meier 04f9b0400e Add airframe class to hexa 2017-06-27 11:07:03 +02:00
Lorenz Meier f5ff283f17 Quad: Add vehicle class 2017-06-27 11:07:03 +02:00
Matthias Grob bfb4de0e66 startup scripts/mc_pos_control: renamed parameters after refactor 2017-03-22 15:21:34 +01:00
Julian Oes 78b0d1a01f tap: add landing gear capability
This configures the PWM output for the landing gear.
2016-10-20 23:17:05 +02:00
David Sidrane 1152b68a28 Use RAM storage in dataman 2016-10-18 00:23:58 +02:00
Daniel Agar 6d655d2d6e startup remove old EKF PE_ params (#5533) 2016-09-26 22:51:43 +02:00
Lorenz Meier 5786b73772 Tweak startup order for memory 2016-08-15 19:53:21 +02:00
Lorenz Meier 39303aa87a Set default battery config 2016-08-12 13:55:16 +02:00
Lorenz Meier 64e47f2fae Boot improvements for TAP 2016-08-12 13:55:16 +02:00
Lorenz Meier b8c377b91a Temporarily disable new logger 2016-08-09 16:00:42 +02:00
Lorenz Meier a664747d0a Remove unused sensors 2016-08-09 16:00:28 +02:00
Lorenz Meier 393acf2231 Start ESC drivers 2016-08-07 11:15:48 +02:00
Lorenz Meier 0e9c352927 Simplify TAP config 2016-08-07 11:15:48 +02:00
David Sidrane e8ae0fe13c Made the MPU6000 driver a highbread using both hrt for SPI or workqueue for I2C 2016-08-07 11:15:48 +02:00
Vasily Evseenko 49844f52d5 Fix SF10a driver. Add support for SF11c and rename to SF1xx 2016-08-04 15:09:33 +02:00
David Sidrane 33e4f38d82 Add GPS and Compass (#5066) 2016-07-14 08:26:40 -10:00
David Sidrane 78bc7d850b Fix Syntax error - but I suspect the USE_IO logic can be simplified 2016-07-13 07:52:58 -10:00
Beat Küng 68e14ceb29 tap startup script: add -t param for logger 2016-07-11 10:01:16 +02:00
Lorenz Meier 703141d650 Estimator cleanup 2016-07-06 13:37:46 +02:00
Lorenz Meier 332f669d9b Add tap-v1 config 2016-07-06 13:34:35 +02:00