Commit Graph
100 Commits
Author SHA1 Message Date
px4dev 3acdc9d4ce Merge branch 'master' into export-build 2013-04-26 11:27:26 -07:00
px4dev 8224adf52a Should never have been here. 2013-03-31 15:46:17 -07:00
px4dev 335a645330 Add some help text. 2013-03-31 15:46:07 -07:00
px4dev b1da855548 Merge branch 'master' into export-build 2013-03-31 15:16:07 -07:00
px4dev 4c448a5be0 Merge branch 'master' into export-build 2013-03-21 23:41:43 -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 b7d65bf8fc HOTFIX: correct some logic errors with SPI chipselect generation.
Tested by Tridge.
2013-03-19 21:03:27 -07:00
px4dev 60eca61e41 HOTFIX: Adjust the FMU update rate adaption logic to avoid constant debug message spew when not in a PWM mode.
Fixes #229
2013-03-17 15:54:19 -07:00
px4dev a9d68b9010 Merge pull request #228 from PX4/ms5611_silencing
Silence MS5611 driver, the perf command still captures the error count /...
2013-03-17 15:44:13 -07:00
px4dev 6e71466aee Adjust the syntax of the 'pwm' command to make it easier to use. 2013-03-17 12:29:18 -07:00
px4dev 8d47b3c6d4 Merge pull request #220 from PX4/tone_alarm_PLAY
New tone_alarm driver that uses ANSI music / GWBasic PLAY strings
2013-03-17 10:39:01 -07:00
px4dev 8fe14fdfdb Silence the tone for pauses in legato tunes. Some tunes sound better now.
Add new, distinctive error/notification tones.

Reduce the amount of data space consumed by the largest tune.
2013-03-17 10:38:18 -07:00
px4dev cd207705d5 Adjust audio pattern numbers. 2013-03-17 10:36:48 -07:00
px4dev da529bb83b Fix a typo in several of the basic alarm beep tones. 2013-03-17 10:07:42 -07:00
px4dev 7011fe563b Move PWM rate configuration, etc. into a separate utility and out of the individual drivers. 2013-03-12 22:22:50 -07:00
px4dev 57429fd12c Convert HIL and FMU drivers to the new multirate PWM interface. 2013-03-12 22:22:49 -07:00
px4dev 6cf0758b24 Changes for multi-rate PWM output; default and alternate rates. ioctl protocol, PX4IO support. 2013-03-12 22:22:49 -07:00
px4dev de078b4525 Move the bson sample data out of the BSS, saves 256 bytes of RAM 2013-03-10 14:59:38 -07:00
px4dev f81d514dbd Const a small array. 2013-03-10 14:13:33 -07:00
px4dev cac392140f const the listener array, saves a little RAM. 2013-03-10 14:13:13 -07:00
px4dev 157b54ab4a Script name pointer array can be const. Fix a couple of lint errors while I'm here. 2013-03-10 13:46:55 -07:00
px4dev 712a1df0ec Mark the ROMFS as const, saves ~25KiB of RAM. 2013-03-10 13:46:23 -07:00
px4dev 4bc2ea744e more constness 2013-03-10 12:56:52 -07:00
px4dev 18d9956876 One more tune. Might be a bit big to keep. 2013-03-10 12:36:59 -07:00
px4dev 32e67883e8 Add one more tune. Improve error handling. Be less picky about tunes passed on the command-line. 2013-03-10 12:14:09 -07:00
px4dev 02fc6812d4 Add support for arbitrary user tunes on the commandline. 2013-03-10 00:29:19 -08:00
px4dev 0d9d009961 New tone_alarm driver, now features GWBasic PLAY / ANSI music string format 2013-03-10 00:05:16 -08:00
px4dev b526bab174 Remove extra spaces from mixers before processing them. This gives us some more working space on IO for mixer processing. 2013-03-04 21:46:55 -08:00
px4dev 42694a5736 Make some improvements to the ARMv7M fault decode logic. 2013-03-02 22:17:43 -08:00
px4dev e622835555 Bump the task stack up to 1200 bytes to give the mixer loader some headroom. This addresses the last reported issue with this branch. 2013-02-24 16:20:04 -08:00
px4dev 6ac7e8b7e4 Scale R/C inputs around the preset center, not the nominal center. 2013-02-24 15:56:02 -08:00
px4dev 345b1a0915 Print mapped R/C inputs as signed values (since they are zero-relative) 2013-02-24 15:55:38 -08:00
px4dev 3d9901dfaf If we have seen control input from FMU, update the FMU_OK status flag. 2013-02-24 15:31:40 -08:00
px4dev dc74eeb421 Report the control values from the FMU in the status output. Count them separately from the actuators. 2013-02-24 15:31:01 -08:00
px4dev f35c5d600a Don't mask out the enable bit when accepting R/C input config updates. 2013-02-24 14:32:04 -08:00
px4dev 93f6edfe64 Fix reporting of R/C input config 2013-02-24 14:30:56 -08:00
px4dev 776cf6093c && -> & 2013-02-24 14:06:28 -08:00
px4dev e818bcbfc2 Fix a wrong register read for the mapped channel mask 2013-02-24 13:58:52 -08:00
px4dev 858460c863 Extended PX4IO status dump 2013-02-24 13:40:46 -08:00
px4dev 3d53b1d551 Fix it here, too. 2013-02-24 11:50:57 -08:00
px4dev ccbd5a6372 No, really fix it this time. 2013-02-24 11:48:52 -08:00
px4dev 186d329722 Fix search-and-replace error. 2013-02-24 11:47:56 -08:00
px4dev 8c7c6b201c Merge branch 'px4io-i2c-memory-squeeze' of https://github.com/PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 11:43:09 -08:00
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
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
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
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
px4dev aa16a63a10 Fix assignment of relay GPIOs. 2013-02-11 20:40:06 -08:00
px4dev 3c8da27d72 Fix a misleading comment. 2013-02-09 00:57:23 -08:00
px4dev a645a388bc Fix a sign error 2013-02-09 00:53:51 -08:00
px4dev caa11f0bbb New option to ensure serial stack is always included. 2013-02-06 23:52:57 -08:00
px4dev 8cb583cf80 Assorted compile fixes. 2013-02-06 23:50:55 -08:00
px4dev 0c7c32ce95 Merge whitespace and comments so that we are closer to in sync with trunk. 2013-02-06 23:32:16 -08:00
px4dev 7791704ef2 Back out the ADC DMA support. We aren't using or maintaining it, and it doesn't work "right" either. 2013-02-06 23:32:00 -08:00
px4dev 5f52d3dc7f lib_lowprintf -> lowsyslog 2013-02-06 23:31:51 -08:00
px4dev d573cca61b Merge commit '049c93446561c6ad3e59183c139f3916230ddee5' into nuttx-merge-5596
This merges NuttX 6.25 with one post-release bugfix.
2013-02-06 21:38:33 -08:00
px4dev 3e5cd26777 Merge pull request #194 from NosDE/master
Options for Bus and BlinkM address added
2013-02-02 09:23:25 -08:00
px4dev e7bbe685b4 Add back some (currently unused) files lost in an earlier NuttX merge 2013-01-30 14:23:29 -08:00
px4dev 9197df46dd Merge branch 'master' into px4io-i2c 2013-01-28 21:58:55 -08:00
px4dev 338f769202 Merge branch 'master' into px4io-i2c 2013-01-26 21:17:39 -08:00
px4dev 43ead720a7 Now that we're mostly done with I2C, the old serial interface can be cleaned out. 2013-01-26 21:17:10 -08:00
px4dev 636e0cc56a It looks like retrying reads from the ms5611 is not safe either. 2013-01-26 20:23:19 -08:00
px4dev 6d0363faff Disarm IO at driver startup time. 2013-01-26 19:43:23 -08:00
px4dev 981477c785 Re-order register page variables to match the order registers are defined in the protocol header. 2013-01-26 19:24:18 -08:00
px4dev 666d3a401b Rename ::start to ::start_cycle to avoid confusion with the other start function.
Only enable I2C retries on operations that have no side-effects.
2013-01-26 18:55:26 -08:00
px4dev 621063ac08 Increase the number of I2C retries. 2013-01-26 17:10:04 -08:00
px4dev 33c12d13ad Defer I2C bus resets for the first couple of retries to avoid transient slave errors causing massive retry spam. 2013-01-26 17:07:58 -08:00
px4dev 7864176b5a A couple of logic fixes from Tridge. 2013-01-26 16:37:35 -08:00
px4dev 52ff9b7d43 Use multi-part transactions rather than separate transfers to avoid racing between the ioctl and thread-side interfaces. 2013-01-26 16:16:19 -08:00