Commit Graph

4596 Commits

Author SHA1 Message Date
Lorenz Meier
d84fe2913e Move IRQ restore to right position 2013-09-13 01:34:49 +02:00
Lorenz Meier
6dd4069561 Merge branch 'master' of github.com:PX4/Firmware into fat-dma 2013-09-13 00:36:08 +02:00
Lorenz Meier
3796235967 Remove accidentally comitted COM tool 2013-09-12 12:58:08 +02:00
Lorenz Meier
7010674f44 Hotfix: Setting tested defaults for AR.Drone 2013-09-12 12:56:06 +02:00
Lorenz Meier
a418498f1b Hotfix: Use sensible default gains for users not being able to read instructions. 2013-09-12 12:51:21 +02:00
Lorenz Meier
45cf5080b0 Merge branch 'master' into fat-dma 2013-09-12 10:15:30 +02:00
Lorenz Meier
5c0ec659b6 Merged 2013-09-12 10:15:09 +02:00
Lorenz Meier
a7dddc4dfd Hotfix: Do not start MAVLink as default on telemetry port 2013-09-12 10:14:33 +02:00
Lorenz Meier
5d09f48110 Disabling debug output for further testing 2013-09-12 10:03:54 +02:00
Lorenz Meier
be436d3a99 Merge branch 'master' of github.com:PX4/Firmware into fat-dma 2013-09-12 09:52:49 +02:00
Lorenz Meier
c92e3f3f4b Merge branch 'master' into fat-dma 2013-09-12 09:51:06 +02:00
Lorenz Meier
5ece19f66a Merge pull request #394 from PX4/ringbuffer_fix
Ringbuffer fix
2013-09-11 15:54:24 -07:00
Andrew Tridgell
760b3ab2e7 ringbuffer: converted to item_size units
this fixes a number of indexing bugs
2013-09-12 00:53:14 +02:00
px4dev
cefc7ac00e Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore. 2013-09-12 00:53:08 +02:00
Andrew Tridgell
a5821d2928 ms5611: converted to using RingBuffer 2013-09-12 00:53:01 +02:00
Andrew Tridgell
4b4f4fee5b lsm303d: convert to using RingBuffer 2013-09-12 00:52:53 +02:00
Andrew Tridgell
274e3aa2ca bma180: convert to using RingBuffer 2013-09-12 00:52:45 +02:00
Andrew Tridgell
b8ffb574ca mb12xx: convert to using RingBuffer class 2013-09-12 00:52:38 +02:00
Andrew Tridgell
63fb702d7f l3gd20: convert to using RingBuffer class 2013-09-12 00:52:31 +02:00
Andrew Tridgell
36b7b7bc5f airspeed: convert to using RingBuffer class 2013-09-12 00:52:21 +02:00
Andrew Tridgell
815ccee0e7 mpu6000: fixed race condition in buffer increment 2013-09-12 00:52:13 +02:00
Andrew Tridgell
37d09f0944 mpu6000: use a wrapper struct to avoid a linker error
the linker doesn't cope with us having multiple modules implementing
RingBuffer<gyro_report>

this also switches to use force() instead of put(), so we discard old
entries when the buffer overflows
2013-09-12 00:51:54 +02:00
Andrew Tridgell
3c45261117 hmc5883: use a RingBuffer to hold report queue
this simplifies the queue handling, and avoids the need for a
start()/stop() on queue resize
2013-09-12 00:51:41 +02:00
Andrew Tridgell
3329e3c38c ringbuffer: added resize() and print_info() methods
this simplifies the drivers
2013-09-12 00:51:34 +02:00
px4dev
1828b57c58 ringbuffer: added force() and use lockless methods
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
2013-09-12 00:51:24 +02:00
Andrew Tridgell
04f8e338b6 hmc5883: add perf count, and removed unnecessary checks for -32768
we've already checked that the absolute value is <= 2048
2013-09-12 00:51:13 +02:00
Andrew Tridgell
1f19a27e3c make upload on Linux much more reliable
Upload on Linux now only tries usb-3D_Robotics boards. This should
also make it handle more ports on MacOS
2013-09-12 00:47:08 +02:00
Lorenz Meier
0308f399d9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-12 00:43:27 +02:00
Lorenz Meier
5e6d3604a3 Made MS5611 startup exclusive as well 2013-09-11 22:46:00 +02:00
px4dev
514d32e961 Cut down 'tests file' for debugging 2013-09-11 13:42:29 -07:00
px4dev
ed4b34547c Make the init code compile if we don't have the granule allocator / dma allocator required 2013-09-11 13:42:29 -07:00
px4dev
f49e444ce3 Defconfig hacks to get me a console. 2013-09-11 13:42:29 -07:00
px4dev
bbac1445b0 Add DMA buffer allocation pool. 2013-09-11 13:42:29 -07:00
Lorenz Meier
3a326cb467 Guard probe / reset against other SPI drivers 2013-09-11 22:16:29 +02:00
px4dev
8755d76d1b Hotfix - fault decode typo in ARMv7M macros 2013-09-11 08:56:45 -07:00
Lorenz Meier
235378d62c Removed unused files 2013-09-10 23:53:39 +02:00
Lorenz Meier
516481aa2b Updated MAVLink version 2013-09-10 23:53:25 +02:00
Lorenz Meier
57769ec437 Reducing timeout to 0.5 seconds 2013-09-10 14:09:09 +02:00
Lorenz Meier
c3b6cea77a Hotfix for S.Bus systems with more than 8 channels 2013-09-10 13:22:56 +02:00
Lorenz Meier
465f161427 Hotfix: remove bogus commit 2013-09-10 12:49:17 +02:00
Lorenz Meier
8d497b58f9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-10 11:53:06 +02:00
px4dev
fb57d5a186 Merge pull request #389 from davidbuzz/rgbfix
the "rgbled rgb X X X" command was broken, and would set green when you ...
2013-09-09 20:50:33 -07:00
Buzz
c12955fbc0 the "rgbled rgb X X X" command was broken, and would set green when you asked for red, and blue when you asked for green, and never set red. - off by 1 error in parameter numbering. 2013-09-10 13:32:32 +10:00
Lorenz Meier
b6a0437c7c Fixed compile error 2013-09-08 22:30:56 +02:00
Lorenz Meier
a7bff9f448 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 22:27:31 +02:00
Lorenz Meier
7866b90477 Merge branch 'master' of github.com:PX4/Firmware 2013-09-08 22:07:47 +02:00
Lorenz Meier
98ac914cb0 Add setting queue depth to HMC test 2013-09-08 22:07:33 +02:00
Lorenz Meier
8bd018c561 Merge branch 'fixedwing_l1' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 21:50:14 +02:00
Lorenz Meier
11e4fbc374 Added additional vector functions, fixed seatbelt for global estimators 2013-09-08 21:49:59 +02:00
Lorenz Meier
d3ac8c9ff3 Fixed HIL mode switching, HIL works 2013-09-08 21:06:55 +02:00