15166 Commits

Author SHA1 Message Date
px4dev
f245d6b1a7 Use hrt_elapsed_time() in cases where we can't be sure the timestamp won't change under us. 2013-02-24 11:42:34 -08:00
px4dev
923a7cc505 Add an interrupt-safe way of comparing a timestamp with the current time.
Add an interrupt-safe way of storing the current time into a timestamp.
2013-02-24 11:41:26 -08:00
Lorenz Meier
35369471db working on better status reporting, removed unneeded fake PWM generation from FMU 2013-02-24 20:24:21 +01:00
Lorenz Meier
bde6204b33 Merge branch 'px4io-i2c-memory-squeeze' of github.com:PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 20:14:17 +01:00
Lorenz Meier
8740349545 Removed 1 Hz output 2013-02-24 20:13:45 +01:00
px4dev
a11a71ec9c Hotfix: discard NUL characters in readline, rather than faking EOF on the console. 2013-02-24 11:00:16 -08:00
px4dev
641bfd88b6 Hotfix: discard NUL characters in readline, rather than faking EOF on the console. 2013-02-24 10:54:22 -08:00
Thomas Gubler
2707d2c1dd more fixes for the airspeed readout 2013-02-24 16:01:08 +01:00
px4dev
2e321f273c Don't try to print the idle stack usage (we need to fix it up before the code can be adapted to measure it). 2013-02-24 00:17:19 -08:00
px4dev
8c7e2546ed Simplify the PX4IO main loop to cut down on memory consumption. 2013-02-24 00:09:37 -08:00
px4dev
4ed7e92689 Kill off a couple of files that should never have been checked in. 2013-02-23 22:20:30 -08: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
d3a6f448c9 Git zombies must die. 2013-02-23 22:00:59 -08:00
px4dev
eece05a287 We need a stub ROMFS header so that the client can supply their own bits. 2013-02-23 22:00:59 -08:00
px4dev
c3ed120d01 Back out deletion of the /etc/init.d scripts; we need these. 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
0695135105 Ignore NuttX export archives and anything in the Build directory. 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
2ebcd0fdcc Switch to optimising some things for size rather than speed. 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
px4dev
085d08ce6c It seems to be safe to build these for any config. 2013-02-23 22:00:58 -08:00
px4dev
c45bf1ab81 Fix a couple of things that break 'make export'. 2013-02-23 22:00:58 -08:00
Lorenz Meier
5aa5645fb0 Disabled MAVLink debug app 2013-02-23 12:02:58 +01:00
Lorenz Meier
0561fab4e3 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-23 12:02:13 +01:00
Lorenz Meier
a704acc2a2 Out of memory warning, flash and RAM optimizations 2013-02-23 12:02:00 +01:00
Julian Oes
0eca49a4f6 Checkpoint: Separated all bools in vehicle status into conditions and flags, they should be protected 2013-02-22 19:46:47 -08:00
px4dev
8e66268c35 Hotfix: Add support for 9-channel Spektrum/DSM setups.
Tested by Felipe Reis <felipereis87@gmail.com>
2013-02-22 19:13:04 -08:00
Julian Oes
f731b6f4e5 Merge remote-tracking branch 'upstream/px4io-i2c' into new_state_machine 2013-02-22 15:53:07 -08:00
Julian Oes
793b482e00 Checkpoint: Navigation states and arming seem to work 2013-02-22 15:52:13 -08:00
Thomas Gubler
2c2c65d446 corrected some wrong units (used in airspeed calculation) 2013-02-22 22:53:38 +01:00
Julian Oes
cbfa64b59e Checkpoint: Added switch handling 2013-02-22 11:54:41 -08:00
Julian Oes
36f9f8082e Checkpoint: Added flag checks inside navigation state update 2013-02-22 09:32:49 -08:00
Julian Oes
be7aeb754b Checkpoint: Added flag checks inside arming state update 2013-02-21 20:01:54 -08:00
Julian Oes
c056410f84 Checkpoint: Added arming check function 2013-02-21 18:10:34 -08:00
Julian Oes
ebe0285ce7 Checkpoint: navigation state machine as discussed with Lorenz 2013-02-21 13:06:56 -08:00
Simon Wilks
a69b09d2bf Merge remote-tracking branch 'upstream/master' into px4io-i2c 2013-02-21 22:04:29 +01:00