px4dev
9d4d1ace43
Pick up the MAVlink headers from the right place
2013-04-26 23:09:38 -07:00
px4dev
686139c7d8
HACK: don't call the card-changed callback with interrupts disabled, as it means that timeouts don't work.
2013-04-26 23:09:11 -07: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
a7fc1b74bf
Merge branch 'export-build' of https://github.com/PX4/Firmware into fmuv2_bringup
2013-04-26 19:25:31 -07:00
px4dev
53f6bac327
Merge branch 'master' into export-build
...
Clean up some script trash and update scripts.
2013-04-26 19:16:55 -07:00
px4dev
01e427b17c
Merge working changes into export-build branch.
2013-04-26 16:14:32 -07: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
px4dev
a39d5230be
Cull .context files.
2013-04-26 15:03:46 -07:00
px4dev
ce0e4a3afd
Merge branch 'master' into export-build
2013-04-26 13:03:05 -07:00
px4dev
46085b43d1
Use the I2C bus number from the board config, not a hardcoded value.
2013-04-26 13:00:48 -07:00
px4dev
264cf65d0f
Fix an error in a #error
2013-04-26 13:00:27 -07:00
px4dev
74c62a131e
Fix the way that we idle the tone_alarm pin so that the board defines what is the 'safe' state.
2013-04-26 13:00:12 -07:00
px4dev
de412b6467
Pass -g to the link phase for PX4IO the same way we do for FMU
2013-04-26 12:59:35 -07:00
px4dev
ff15efb9c9
Build utility apps -Os to save ROM space.
2013-04-26 12:59:12 -07:00
px4dev
187f7603b9
Merge branch 'export-build' into fmuv2_bringup
...
Sync with master via export-build.
2013-04-26 12:35:45 -07:00
px4dev
3acdc9d4ce
Merge branch 'master' into export-build
2013-04-26 11:27:26 -07:00
px4dev
98a2445065
Include the correct Make.defs file
2013-04-24 17:45:08 -07:00
px4dev
8fcbb4f669
Merge SDIO changes and hack config to make it work.
...
We need to resolve the DMA-safe memory allocation story, but until then let's disable the CCM. We still have as much RAM as the v1.x boards in this mode.
2013-04-22 22:56:18 -07:00
px4dev
f45e15615a
Merge commit 'b149b834c835190fbb3f7e1914346d5e0620036d' into fmuv2_bringup
2013-04-20 15:20:33 -07:00
px4dev
7e0f8b3eda
Formatting changes to make the Python style checker happy (copied from the bootloader project).
...
Increase the erase timeout to avoid issues with large/slow flash.
2013-04-20 15:18:10 -07: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
px4dev
7e8d8f9e72
Call sub-makes with -r to make them start faster (mostly on Windows, where this inhibits an enormous amount of silly scanning for things).
...
Force non-parallel builds for the NuttX archives.
2013-04-20 12:49:56 -07:00
px4dev
5f26018365
Improve the implementation of CONFIG_FILE handling in firmware.mk
2013-04-17 22:25:50 -07:00
px4dev
212712d740
Merge branch 'fmuv2_bringup' of https://github.com/cvg/Firmware_Private into fmuv2_bringup
2013-04-17 11:55:54 -07:00
px4dev
31c6440b64
Un-ignore the *.d directories in the ROMFS directory to avoid ignoring the init.d directory and friends. This is rinky, but the alternatives are all a mess.
2013-04-17 11:54:24 -07:00
px4dev
4703a68979
Fix the default state of the peripheral power control.
2013-04-07 22:00:23 -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
8eeefcce05
Add GPIO driver access to the power supply control/monitoring GPIOs for FMUv2
2013-04-06 22:46:50 -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
d1a2e9a9c1
Fix the v2 RGB LED ID
2013-04-06 18:18:49 -07:00
px4dev
e7e35616c0
Fix the way that tone_alarm idles the GPIO and make it idle safely for v2 boards.
2013-04-06 15:47:34 -07:00
px4dev
d8e8e6cd20
Fix alt function selector for tone_alarm GPIO.
2013-04-06 14:07:00 -07:00
px4dev
52bb5e561c
Fix memory sizing so that we get the extra 64K we promised.
2013-04-06 12:57:53 -07:00
px4dev
8f1070bb42
Fix a misleading comment about the tone_alarm timers.
2013-04-06 12:28:36 -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
f82af140ae
Hand-merge F427 patches.
2013-03-31 20:56:43 -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