Commit Graph

322 Commits

Author SHA1 Message Date
Carlo Wood 900026818b Makefile cleanup.
Doesn't really do anything, but while working on understanding
things I did this cleanup, making the Makefile a lot shorter
and more flexible for future changes ;).
2016-09-13 16:31:08 +02:00
Daniel Agar 446f8e3a36 make quick_check even quicker 2016-09-09 18:50:51 -04:00
Andreas Antener cbbf5e2e7c filtering files for code check seperately to enable fast use of git pre-commit hook to check code style
ask user to install pre-commit hook when code style is checked
2016-09-07 11:25:51 +02:00
Tim Dyer b65ff53b00 Initial build for Crazyflie 2.0
Working crazyflie firmware build

* Console on USART3
* Could not disable building PX4IO firmware, currently commented out

Don't build PX4IO firmware if the board doesn't ask for it

Added crazyflie motor driver

Fixed wrong register

CLK_SEL is in PWR_MGMT_1

Initial I2C/SPI MPU9250 device

* Tested with I2C
* Need to add error checking
* Intermittent crash on stop call

Working ak8963 mag driver

Functional lps25h driver. Work in progress.

Works well enough to probe and allow sensors task to start.

Added serial port test module

HACK! Get sensors module working

Set crazyflie PWM range

Extend baudrate for Crazyflie's NRF radio

Added dummy tone alarm to allow for init

Added autostart script for Crazyflie
2016-09-04 19:12:08 +02:00
Lorenz Meier f511d49cc2 Improvements to SITL to make paths more flexible. (#5181) (#5255)
* Path cleanup for SITL.

* Restructured sitl scripts dir.

* Set integration tests to use ekf2 for vtol.

* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
Lorenz Meier 5d0f57d61e Update Makefile to build for QGC 2016-08-12 13:55:16 +02:00
Daniel Agar 968a3d499b add make format (check_code_style_all.sh --fix) 2016-08-07 10:40:17 +02:00
Lorenz Meier 61d5d8ce2a Makefile: Remove remaining EKF2 config bits 2016-08-07 10:39:51 +02:00
Daniel Agar 2a15578f8d FW implement MAV_CMD_DO_GO_AROUND 2016-08-06 20:56:53 +02:00
Lorenz Meier 40ba3f5131 Initial config for ASC module 2016-08-06 20:45:11 +02:00
Lorenz Meier 102f5b54d7 Revert "Improvements to SITL to make paths more flexible. (#5181)"
This reverts commit 699b6a2cb3.
2016-08-05 21:29:49 +02:00
James Goppert 699b6a2cb3 Improvements to SITL to make paths more flexible. (#5181) 2016-08-05 06:23:59 -04:00
Lorenz Meier 5b06b40ed9 Set SITL as default target now that Pixhawk is not necessarily the default HW 2016-08-03 23:04:35 +02:00
Daniel Agar 390a7165dd make tests (#5163)
* make tests use px4 instead of mainapp

* commander_tests ALTCTL - not rotary requires altitude
2016-07-29 11:46:47 -04:00
Lorenz Meier 6ab9dc0acf Testing cleanup from Daniel Agar 2016-07-29 13:49:14 +02:00
James Goppert 05315abc89 Optical flow simulator and install cleanup. (#5132)
sitl CI is having some issue cloning, but I have verified it locally for various configs
2016-07-24 13:07:14 -04:00
Julian Oes fa614a3cc1 RPi: just use RPI instead of RPI2.
The reason for this change is that RPi2 and RPi3 are compatible, and
hopefully all differences coming up can be resolved without ifdefs but
at runtime.
2016-07-16 15:51:00 +01:00
Julian Oes 2bf40efe8b RPi2: fuse mainapp/common and navio2
We currently only support Navio2, so let's fuse the two configurations.
2016-07-16 15:51:00 +01:00
Julian Oes 1939b88a33 RPi2: use cross/native instead of release/default 2016-07-16 15:51:00 +01:00
Beat Küng e9726af54c Makefile: check for 'replay' env variable and change build dir accordingly
For replay with the new logger, we want a separate build dir so that the
parameters file and orb rules don't get mixed up.
2016-07-11 09:25:07 +02:00
Lorenz Meier 332f669d9b Add tap-v1 config 2016-07-06 13:34:35 +02:00
Hidenori 506d1855ff rename files and add navio target 2016-07-01 23:08:17 +02:00
Eike 04e8b40a5c Posix LPE target (#4911) 2016-06-27 08:43:39 +02:00
Daniel Agar 422acc0b69 travis-ci add check_format to qgc_firmware 2016-06-26 17:42:00 -04:00
Daniel Agar b247dac120 travis-ci optimizations (#4870)
* move gcc 4.9 build to circleci

* travis-ci update to xcode 7.3

* travis-ci limit git fetching for OSX

* Makefile split firmware targets for CI

* OSX ccache
2016-06-22 17:42:49 -04:00
Lorenz Meier dff50072e9 Add new airframe meta files 2016-06-17 22:44:42 +02:00
Eric Ye c446304751 Update makefile to ask for cmake 3.4.3 (#4831) 2016-06-17 10:47:06 -04:00
Daniel Agar 2f5357be7a travis-ci use px4io docker images (#4696) 2016-06-14 01:06:43 -04:00
Lorenz Meier 7a6ff4742d Add Solo sim model (#4761) 2016-06-07 21:25:35 +02:00
Daniel Agar 7524474c7b make distclean ignore eclipse project files 2016-06-03 16:58:35 -04:00
Daniel Agar de5bf60b07 make submodulesclean sync recursively 2016-06-03 16:58:23 -04:00
Michael Schäuble d9422e0296 Add Parrot Bebop as build target (#4698)
* Add parrot bebop build structure

* Add upload functionality to bebop build

* Add modules and commands to bebop build
2016-05-31 13:04:22 +02:00
Lorenz Meier 4a0d7808a5 Remove LPE config 2016-05-29 16:34:23 +02:00
Lorenz Meier ff5a481c34 Remove unneeded EKF2 configs 2016-05-28 11:34:08 +02:00
David Sidrane acdcb14d79 In support of merging Spread the checks multiline lists (#4626)
* Insupport merging Spread the checks multiline lists

* Removed long line of checks
2016-05-25 22:24:01 +02:00
jwilson 64c3b330ee Partial fix for Snapdragon HITL mode 2016-05-23 17:58:59 +02:00
Daniel Agar c57bc26d5b fully restore px4fmu-v2_lpe 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Daniel Agar 97fd951d4a cleanup after rebase 2016-05-13 13:01:42 +02:00
Daniel Agar 51298c1eb1 remove unused 2016-05-13 13:01:42 +02:00
Daniel Agar d804f5727e run tests in posix sitl with gazebo 2016-05-13 13:01:42 +02:00
Daniel Agar 008354f935 testing cleanup 2016-05-13 13:01:41 +02:00
Daniel Agar 39d388051a WIP posix_sitl_test 2016-05-13 13:01:41 +02:00
Daniel Agar 2bc74fd5d9 restore px4fmu-v2_test 2016-05-13 13:01:41 +02:00
Daniel Agar 875dbb92e5 check code style parallel 2016-05-13 13:01:41 +02:00
Daniel Agar 770c6b3bd1 travis-ci build px4fmu-v2 ekf2 and lpe 2016-05-13 13:01:41 +02:00
Daniel Agar be391b4fe5 unittests stop building in tree 2016-05-13 13:01:41 +02:00
Mark Charlebois e2c3ea064e Remove release configs (#4454)
* Removed release configs for eagle

These configs are only built for internal testing

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Removed release build for eagle from Makefile

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-06 07:18:57 +02:00
Lorenz Meier 29550a4cee Strip LPE config, as it has become part of the default config 2016-05-05 18:23:33 +02:00
Julian Oes 01ad1b642b Makefile: whitespace only 2016-05-05 09:11:29 +02:00
jwilson c87a8bedb6 Adding config changes to allow PX4 to be built for the Excelsior board. 2016-05-05 08:34:31 +02:00
Daniel Agar 553818b646 make submodulesclean proper order
-can't sync after deinit
2016-05-04 23:21:17 -04:00
jwilson fb97edd8af Adding new CMake config files which will be used to generate a build which uses the legacy sensor drivers. This is only temporary until integration with the corresponding PX4 DriverFramework drivers is complete. 2016-04-21 07:57:30 +02:00
jwilson 5211da9f5b Adding new CMake config files which will be used to generate a build which uses the legacy sensor drivers. This is only temporary until integration with the corresponding PX4 DriverFramework drivers is complete. 2016-04-18 23:36:35 +02:00
Daniel Agar 8290f59247 travis-ci use make check 2016-04-17 20:41:48 -04:00
Daniel Agar 19c78f583a make check_format check version
-run Tools/fix_code_style.sh with no argument to check astyle version
2016-04-17 16:20:51 -04:00
Daniel Agar 0b54bb99f9 NuttX quiet build
cmake combine NuttX copy and export

-NuttX wasn't recopying if it fails to compile
2016-04-17 16:02:28 -04:00
Lorenz Meier e8cd89eb01 Add make broadcast jmavsim SITL build 2016-04-17 21:54:37 +02:00
Daniel Agar c80918acef add mindpx-v2_default to make check 2016-04-17 19:03:09 +02:00
Julian Oes 994947ea84 Makefile/cmake/Tools: add easy Snapdragon upload
This adds a a target `make eagle_default` to build both the POSIX and
the QURT side in one command. Also, it adds an upload target for both to
push the files over adb to the device. This doesn't just push the
executables and lib files, but also the startup config files.
2016-04-01 11:36:27 +02:00
Felix Hu bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
Daniel Agar 319fb6b9f9 make submodulesclean deinit 2016-03-19 19:12:16 +04:00
Daniel Agar fc54d2c305 Makefile submodulesclean force clean 2016-03-14 09:15:02 +01:00
Daniel Agar dcd44ea4bb unit tests use ninja and ctest 2016-03-14 09:15:02 +01:00
Daniel Agar a67546d232 Makefile add package_firmware 2016-03-14 09:15:02 +01:00
Daniel Agar c82e7d6ae9 make check build everything and run tests 2016-03-14 09:15:02 +01:00
Daniel Agar e029ad41ef Makefile add travis-ci vectorcontrol build 2016-03-14 09:15:02 +01:00
Daniel Agar c37236ecb5 Makefile add distclean and submodulesclean 2016-03-14 09:15:02 +01:00
Daniel Agar 1e2be407dd unit tests cleanup
-launch using top level make tests
-ignore generated files
2016-03-14 09:15:02 +01:00
Lorenz Meier de14678452 Makefile: Add gazebo plane config 2016-03-11 16:42:17 +01:00
Lorenz Meier 1401629ab8 Update header in Makefile 2016-03-11 12:30:41 +01:00
Lorenz Meier cf89e82e95 Makefile: Be less verbose on build 2016-03-11 12:07:39 +01:00
Lorenz Meier b937618e59 Improved CMAKE return value checking and ensured that fresh checkouts initialize the GIT submodules correctly 2016-03-11 11:59:49 +01:00
Julian Oes dcf022f480 Submodules: use submodule sync --recursive
This should make changes where the submodule repository changes trouble
free for users.
2016-03-03 14:22:37 +01:00
Lorenz Meier fcb70d1e21 Enable replay target 2016-02-27 11:48:31 +01:00
Julian Oes 23171b97fb Makefile: don't do any git submodule magic
Let's do all the submodule stuff in check_submodules.sh
2016-02-23 17:03:30 +01:00
Mark Charlebois 16a7597a16 Removed duplicate target in Makefile
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 1d59e2c6fb Whitespace fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 4c9492e10f Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 957e67ed85 Removed duplicate target in Makefile
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 50d0771dc0 Whitespace fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois da8519b44d Removed duplicate target in Makefile
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 20f7d3d49f Whitespace fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 65d89b5b97 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 7d9a14dab5 Removed duplicate target in Makefile
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 8ca3e8e057 Whitespace fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Lorenz Meier d2041b0ef3 Fix initial build error for new users 2016-02-14 17:37:28 +01:00
Lorenz Meier c5b1e791bd Update git check script. Fixes #3733 2016-02-13 00:50:06 +01:00
Lorenz Meier b4b385cc13 Add Iris optical flow SITL config 2016-02-10 09:24:39 +01:00
Lorenz Meier 9169a585bf Deprecate ROS target 2016-01-24 15:21:17 +01:00
Mohammed Kabir 37ffb61afd changes to rpi2 configs 2016-01-18 22:42:35 +01:00
Mohammed Kabir 4351eb147c Add native RPi2 build config 2016-01-18 22:42:29 +01:00
tumbili 0d1872f223 support building standard vtol plane in SITL gazebo 2016-01-14 16:07:01 +01:00
Lorenz Meier e9dd2aec48 Further git submodule improvements 2016-01-12 10:18:05 +01:00
Lorenz Meier 365ef883e3 Check submodules during each build 2016-01-12 10:14:15 +01:00
Lorenz Meier f99d052582 Fix submodule force. Fixes #3490. 2016-01-11 09:27:48 +01:00
Lorenz Meier ba90ba14b0 NuttX configs: added px4fmu-v2_ekf2 target for EKF2 development on Pixhawk 2016-01-02 17:17:47 +01:00
Lorenz Meier 735c823b57 Remove unmaintained NuttX config 2016-01-02 03:13:49 -08:00