Commit Graph

238 Commits

Author SHA1 Message Date
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