Commit Graph

288 Commits

Author SHA1 Message Date
Lorenz Meier 3eb115c821 Merge pull request #7 from skelly/l3gd20h_support
Enabled MS5611, nsh on USB by default.
2013-07-02 11:06:53 -07:00
px4dev 90c458cb61 Checkpoint: interface abstraction for px4io driver 2013-06-25 23:08:34 -07:00
Sam Kelly b1f3a5c92b Enabled MS5611 by default on FMUv2. 2013-06-25 14:01:27 -07:00
Julian Oes 9b6c9358ed First try for an ESC calibration tool 2013-06-20 01:13:49 +02:00
Lorenz Meier 92e0687022 Merge branch 'master' of github.com:PX4/Firmware into integration 2013-06-17 08:44:07 +02:00
Anton Babushkin 4c6cf3037d Merge commit 'b714c5c9d1d38132df5cf4bff9a1fd92163be550' into seatbelt_multirotor 2013-06-15 11:49:14 +04:00
samuezih b789e01a0f Add PX4Flow board modules and corresponding ORB msgs. 2013-06-14 17:31:46 +02:00
Lorenz Meier f28cec350c Hotfix: Excluded sdlog app from standard build, still keeping code in place for now 2013-06-13 12:44:11 +02:00
Lorenz Meier 9444def5f8 Merge branch 'master' into fmuv2_bringup 2013-06-10 15:01:44 +02:00
Anton Babushkin afb34950a3 Merge branch 'master' into seatbelt_multirotor 2013-06-10 16:21:10 +04:00
Lorenz Meier 048967fb6f merged 2013-06-07 21:33:49 +02:00
Lorenz Meier 5a9e52a287 Merge branch 'master' of github.com:PX4/Firmware 2013-06-07 21:16:40 +02:00
Lorenz Meier 66879e6ff6 Hotfix: Make maxoptimization configurable from the shell via MAXOPTIMIZATION=-O0 V=1 make archives 2013-06-07 21:16:31 +02:00
Lorenz Meier ebc12eebd0 Merged 2013-06-07 13:04:49 +02:00
px4dev 4302f76402 Hotfix: fix building firmware parallel 2013-06-06 22:49:49 -07:00
Lorenz Meier 34b6a91860 Merge branch 'master' of github.com:PX4/Firmware into integration 2013-06-06 19:22:34 +02:00
Lorenz Meier 2aa16dc447 Hotfix: Disable instrumentation on IO 2013-06-06 19:12:10 +02:00
Lorenz Meier 6015809d89 Merged 2013-06-06 17:37:41 +02:00
Lorenz Meier 382c9a69e4 Removed big RAM consumer (inactive filter) 2013-06-06 17:13:10 +02:00
Lorenz Meier 106f4910be Merge pull request #284 from limhyon/master
Nonlinear complementary SO(3) filter has been implemented.
2013-06-06 04:39:39 -07:00
px4dev 971e810301 Adjust upload target name for v1.x FMU 2013-06-02 00:11:56 +02:00
Lorenz Meier 198df9c82e All apps compiling and linked (listed in NSH help), but not executing yet 2013-06-01 15:14:53 +02:00
Anton Babushkin b344f23daf Merge branch 'master' into sdlog2 2013-06-01 13:34:49 +04:00
Lorenz Meier 5375bb5b86 Cleanup, WIP, needs a NuttX checkout to Firmware/NuttX now 2013-06-01 01:04:32 +02:00
Anton Babushkin 234b9c8f67 Merge branch 'master' into seatbelt_multirotor 2013-05-28 19:04:29 +04:00
Hyon Lim (Retina) 13faf0d555 Merge remote-tracking branch 'upstream/master'
- Mikrokopter BLCTRL seems to be updated
 - HMC5883L calibration problem has been corrected.
    (This is because of RAM mis allocation?)
    See https://groups.google.com/forum/?fromgroups#!topic/px4users/yTYJiDBBKfo
 - Fixed wing control updated
    https://groups.google.com/forum/?fromgroups#!topic/px4users/s7owpvZN8UI
 - GPIO module has been removed.
 - STM32 DRV updated
2013-05-28 11:09:58 +10:00
px4dev eab01a2efd Hotfix: Generate map files for modules as well for more in-depth memory-use debugging. 2013-05-26 20:51:20 +02:00
Lorenz Meier fba92f357c Merge pull request #267 from DrTon/gpio_led
gpio_led app added: drive LEDs by GPIO_EXT1 pin of PX4FMU
2013-05-26 09:00:41 -07:00
Anton Babushkin e211352604 sdlog2 logger app added. New flexible log format, compatible with APM. 2013-05-25 22:16:43 +04:00
Anton Babushkin f8900f002c Merge branch 'master' into seatbelt_multirotor 2013-05-24 12:52:02 +04:00
px4dev f30695e1df Hotfix: fix section attribute for the ROMFS, moving it back into .rodata where it belongs. 2013-05-23 23:58:59 +02:00
px4dev 318d2baba0 Reinstate mapfile generation. 2013-05-23 23:58:25 +02:00
Hyon Lim (Retina) cd7b0f7aab I missed to add build command 2013-05-23 16:20:38 +10:00
px4dev 2135628254 Hotfix: dependency scanning for modules was totally broken. Fix it so that changes to depended headers correctly cause modules to be rebuilt. 2013-05-23 00:08:35 +02:00
Lorenz Meier cb1fbecd09 Merged master from main repo 2013-05-22 12:25:13 +02:00
Lorenz Meier 03eac33a3d Merge branch 'master' of github.com:cvg/Firmware_Private into fmuv2_bringup 2013-05-22 12:16:41 +02:00
px4dev 5576e321fa Use the new prebuilt-library support to wrap the ARM CMSIS DSP library, and update to the version shipped with CMSIS 3.0 r3p2 2013-05-20 00:30:43 +02:00
px4dev 3a1c9f14f6 Teach the PX4 build system how to handle pre-built libraries. 2013-05-20 00:26:41 +02:00
px4dev b7d430e3c0 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup
Fix px4iov2 build issue by selecting the correct NuttX config.
2013-05-19 21:51:35 +02:00
Anton Babushkin 2f280bb4ca Merge branch 'master' into gpio_led 2013-05-17 12:48:46 +04:00
Anton Babushkin c21ba6c500 position_estimator_inav added to config_px4fmu_default.mk 2013-05-17 12:32:07 +04:00
px4dev 0c43315c1e Hotfix: better error messages for missing modules 2013-05-13 22:20:08 -07:00
Lorenz Meier f8c199062a Merge branch 'master' of github.com:PX4/Firmware 2013-05-13 08:34:18 +02:00
Lorenz Meier 1ff6c80866 More example fixes 2013-05-13 08:28:36 +02:00
px4dev edb0e01dfd HOTFIX: simplify symbol names going into the ROMFS object, hopefully this avoids inconsistent symbol naming on Windows. 2013-05-12 14:04:57 -07:00
Lorenz Meier 6ea204c813 Added fixed wing controller example 2013-05-12 20:08:09 +02:00
px4dev 0ee738e9c9 Fix ROMFS dependency scan, add a warning if ROMFS_ROOT appears to be empty. 2013-05-12 10:51:25 -07:00
px4dev 196ee8b16f Change the way modules are built so that object paths are relative and use vpath for locating sources (so source paths are also shorter).
Add some basic documentation for the build system files while we're at it.
2013-05-11 11:32:05 -07:00
Anton Babushkin 9a9e41f7a2 Merge branch 'master' into gpio_led 2013-05-09 22:41:09 +04:00
Lorenz Meier 614bbb1510 Merged ETS airspeed driver 2013-05-09 15:58:23 +02:00
Lorenz Meier 3152dae3dc Merged with master 2013-05-09 15:52:36 +02:00
Lorenz Meier b944962a73 Merge branch 'export-build' of github.com:PX4/Firmware into export-build 2013-05-09 15:45:45 +02:00
Lorenz Meier 296a19072d Enabled leds on FMU again 2013-05-09 15:39:54 +02:00
px4dev 1caffca358 whitespace 2013-05-08 22:50:18 -07:00
px4dev 3b65281f00 Remove EXTRAFLAGS compatibility hack. 2013-05-05 17:19:23 -07:00
px4dev 3bf26ac51f Obsolete bogus EXTRAFLAGS, add language-specific flags overrides. 2013-05-05 16:48:05 -07:00
Lorenz Meier 8c6abe717d Moved BLCTRL driver to new world 2013-05-05 11:24:31 +02:00
Andrew Tridgell aa9275c29c build: allow additional flags to be passed via EXTRAFLAGS
this allows for flags needed for the APM build
2013-05-04 11:44:38 +10:00
Andrew Tridgell 6e8c1148d5 build: allow absolute paths for module sources 2013-05-04 11:44:38 +10:00
px4dev 03eb16f874 Remove some naked command invocations. 2013-04-28 12:49:08 -07:00
px4dev edf96fc808 Remove some naked command invocations. 2013-04-28 12:47:34 -07:00
Lorenz Meier a1503a8dd7 Merge branch 'public-export-build' into fmuv2_bringup 2013-04-28 14:54:57 +02:00
Lorenz Meier 6479ebcc73 General app cleanup for FMU 2013-04-28 14:54:06 +02:00
Lorenz Meier 1df5e98aa5 XXX: WIP: Disabled mixer on IOv2 due to CXX compile issue 2013-04-28 14:50:05 +02:00
Lorenz Meier 13d58afd0a Updated FMUv2 config 2013-04-28 11:03:25 +02:00
Lorenz Meier 6aefe5fddf Merged export-build 2013-04-28 10:40:00 +02:00
Lorenz Meier b1de6c0eaf Excluded examples from default build 2013-04-28 10:38:45 +02:00
Lorenz Meier 25612cebc2 Cleaned up NuttX appconfig, added examples to config 2013-04-28 10:37:07 +02:00
Lorenz Meier 13fc670386 Moved last libs, drivers and headers, cleaned up IO build 2013-04-28 09:54:11 +02:00
Lorenz Meier d07631d056 Merge branch 'public-export-build' into fmuv2_bringup 2013-04-28 01:30:46 +02:00
Lorenz Meier f57439b90e Moved all drivers to new world, PX4IO completely in new world 2013-04-28 01:30:14 +02:00
Lorenz Meier 86cf4d075d Makefile cleanup 2013-04-27 19:50:25 +02:00
Lorenz Meier f03ba89557 Config adjustments for v2 2013-04-27 18:27:17 +02:00
Lorenz Meier f1b8e4e5b3 Merged move of additional apps out of NuttX folders 2013-04-27 15:50:07 +02:00
Lorenz Meier 7ca82801bd Moved multirotor controllers 2013-04-27 14:42:12 +02:00
Lorenz Meier 988bf1eb0a Moved all fixed wing controllers to new world 2013-04-27 14:28:47 +02:00
Lorenz Meier 76a30108d2 Moved James Gopperts EKF to the new world 2013-04-27 14:16:34 +02:00
Lorenz Meier 5974c37abb Moved the bulk of sensor drivers to the new world 2013-04-27 14:06:23 +02:00
Lorenz Meier 1becedfe01 Minor config file rearrangement 2013-04-27 13:41:40 +02:00
Lorenz Meier a85eb8cdc1 Updated config file to reflect current app state 2013-04-27 13:40:11 +02:00
Lorenz Meier 852e6e2f49 Merged with upstream export-build branch 2013-04-27 13:26:25 +02:00
Lorenz Meier c89f46f590 Moved sensors app to new world 2013-04-27 13:16:24 +02:00
Lorenz Meier e6ed8268ee Moved position_estimator_mc, px4io driver and sdlog app to new style build 2013-04-27 12:59:47 +02:00
Lorenz Meier 574e765321 Moved all system commands to the new world 2013-04-27 11:50:10 +02:00
Lorenz Meier d8a3454538 Cut over MAVLink to new build system 2013-04-27 11:45:46 +02:00
Lorenz Meier 3d6aff38da Merged 2013-04-27 11:38:06 +02:00
Lorenz Meier 2289c0bb21 Moved all system commands to new build system 2013-04-27 11:30:41 +02:00
px4dev 1c78e365ce Merge branch 'export-build' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-04-26 20:43:07 -07:00
px4dev 4748bba35a Move the 'tests' app to the new world. 2013-04-26 20:02:12 -07:00
px4dev 01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
Lorenz Meier c71f4cf869 Cut over MAVLink to new style build system 2013-04-27 00:10:20 +02:00
px4dev 4fe9e1c447 Avoid spurious += in INCLUDE_DIRS 2013-04-26 15:05:12 -07:00
px4dev 68c8de4cf1 Document INCLUDE_DIRS 2013-04-26 15:04:04 -07:00
Lorenz Meier 9169ceb3f4 Cut over commander app to new build system 2013-04-26 11:10:39 +02:00
Lorenz Meier aa85fba979 Ported AR.Drone interface to new style config 2013-04-26 11:01:47 +02:00
Lorenz Meier 3ecdca41e5 Cut over attitude estimator to new-style config for all boards 2013-04-23 12:36:26 +02:00
Lorenz Meier 17e01eb9cb Merged 2013-04-22 13:13:08 +02:00
px4dev 5f14815d51 Merge branch 'fmuv2_bringup' of https://github.com/cvg/Firmware_Private into fmuv2_bringup 2013-04-20 15:05:20 -07:00
px4dev a7cf9e2a36 Make 'make upload' work 2013-04-20 14:57:15 -07:00
px4dev 754a11f4fc Use a .elf suffix for the ELF object file (seems more sensible that way)
Detect the case where PX4_BASE contains spaces and stop before we cause any more damage.

Call sub-makes with -r to improve startup time.
2013-04-20 12:51:07 -07:00
Lorenz Meier 94084ec22a Enable support for RAMTRON, enable support for EEPROM on FMU 1.x 2013-04-18 22:27:55 +02:00
px4dev 5f26018365 Improve the implementation of CONFIG_FILE handling in firmware.mk 2013-04-17 22:25:50 -07:00
Julian Oes 76497502cb Moved the L3GD20 driver to the new driver, working on FMU v1 and v2 2013-04-17 12:41:56 -07:00
Julian Oes 0eddcb3357 Tried to collect some changes that I needed to build for FMUv2 into a commit 2013-04-17 12:41:56 -07:00
px4dev 2557f0d2de Rename the 'device' directory back to 'drivers', it's less confusing that way.
Move the fmuv2 board driver out into the new world.
2013-04-06 23:04:32 -07:00
px4dev c355275669 Make the 'fmu' command build for v2. Should be enough to get the FMU-side PWM outputs working, but untested. 2013-04-06 19:20:08 -07:00
px4dev 706dcb6a53 Move the FMU driver from the old universe to the new universe so that we can teach it about v2. 2013-04-06 18:38:32 -07:00
px4dev 29324cc97f Add the SoC chip and common directories to the NuttX-related include paths. 2013-04-06 18:33:32 -07:00
px4dev aa09ebd7d3 Share the ROMFS prototype betwen FMUv1 and v2 2013-04-06 11:16:54 -07:00
px4dev e5fa9dbcea Move the LSM303D driver over into the new world. 2013-04-06 11:16:24 -07:00
px4dev aa369dfef1 Fix command registration for modules. 'rgbled test' works now. 2013-04-06 10:20:03 -07:00
px4dev c558ad15ab Add the RGB LED driver as an example. 2013-04-06 01:00:07 -07:00
px4dev c1f6f81e9d wchar_t is indeed a builtin type that should not be overridden. 2013-04-06 00:56:26 -07:00
px4dev 8b9b41fd50 Populate INCLUDE_DIRS with some likely candidates.
Implement __EXPORT and such for modules, as well as symbol visibility.

Don't use UNZIP to point to unzip, as it looks there for arguments.
2013-04-06 00:51:59 -07:00
px4dev 2e5809d051 Fix the remaining pieces so that we can build a firmware image for FMUv2 2013-04-06 00:04:59 -07:00
px4dev 976f1334ef More config for fmuv2 2013-04-04 23:17:21 -07:00
px4dev f243f6ef66 Scratch in a mostly-building board config for fmuv2 2013-04-01 01:23:05 -07:00
px4dev a457a45239 Pass the module name in to the module makefile.
Refer to the module command name with MODULE_COMMAND to avoid confusion with the module's actual name.
2013-03-20 23:55:30 -07:00
px4dev 08bed2c31f Add extra cleaning power. 2013-03-20 23:22:48 -07:00
px4dev db91dffb23 Merge branch 'master' into export-build 2013-03-20 23:05:19 -07:00
px4dev f7b14b2e23 Add builtin command defintions for the commands currently in the NuttX export archive. 2013-02-23 22:01:00 -08:00
px4dev b6218794c6 Stick copyrights on the major moving parts of the build system 2013-02-23 22:01:00 -08:00
px4dev ddc405935e Cosmetic tweaks to variable output.
Comment on the need to retain the double-slash at the WORK_DIR boundary.
More toolchain documentation.
2013-02-23 22:01:00 -08:00
px4dev cde70da262 We don't have to get fancy with builtin_commands.c now, since we put all of the object files into the link loop (ordering is less important now) 2013-02-23 22:01:00 -08:00
px4dev 6b215be739 Use indirect calls for all commands (echo, make, etc.)
Replace our dependency on xxd with a toolchain call, and implement the backend using objcopy evil for the default toolchain.
2013-02-23 22:01:00 -08:00
px4dev d24599931a APP -> MODULE
remove as many duplicate slashes, etc. as seems practical
2013-02-23 22:01:00 -08:00
px4dev 8d7621079a Checkpoint: application framework makefile done 2013-02-23 22:00:59 -08:00
px4dev 3494039d90 Get a bit fancier with the builtin app specifications, so that we can generate them from apps as well as the config. 2013-02-23 22:00:59 -08:00
px4dev 50739c1843 platform -> board 2013-02-23 22:00:59 -08:00
px4dev abe48bd714 Auto-generate builtin command prototypes.
Tidy up path configuration, etc.
2013-02-23 22:00:59 -08:00
px4dev a7a1cc4625 Add support for per-config ROMFS generation. 2013-02-23 22:00:59 -08:00
px4dev 963621c1f3 Rename makefiles to help categorise them. 2013-02-23 22:00:59 -08:00
px4dev 8440e4f709 Simplify the PLATFORM/CONFIG handling a little. 2013-02-23 22:00:59 -08:00
px4dev e9f2197bfa Move upload functionality out into a separate makefile. 2013-02-23 22:00:59 -08:00
px4dev e692ccc44e Move more functionality into firmware.mk. Now we build the px4 bundles in a way that will let external builders generate them too.
Pass the platform define into the firmware builder.
2013-02-23 22:00:59 -08:00
px4dev 0140457d03 Minor fixes to the toolchain definitions. 2013-02-23 22:00:58 -08:00
px4dev d2d9800c2e Recover commits lost in the previous merge. Syllableise PX4_BASE like its peers. 2013-02-23 22:00:58 -08:00
px4dev b80575fcff Break up the firmware build into a 'make export' phase for NuttX on a per-board basis, and then a separate per-config phase that allows us to avoid re-building NuttX all the time, and ship more than one firmware config for a given board.
This is a first cut; it builds one firmware for each of FMU and IO.
2013-02-23 22:00:58 -08:00