Commit Graph

342 Commits

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