Lorenz Meier
fd14084768
Merged with master
2012-12-01 12:04:43 +01:00
Lorenz Meier
121a9fc490
Merge branch '#61-px4io-spektrum-decoder' into fixedwing_outdoor
2012-12-01 10:51:25 +01:00
Lorenz Meier
de88732e8e
Prevented unhealthy RC input from propagating through the system
2012-12-01 10:49:52 +01:00
Lorenz Meier
008a354391
Merge branch 'master' of github.com:PX4/Firmware
2012-12-01 09:58:11 +01:00
px4dev
ea8872f545
Merge branch 'sbus' of https://github.com/PX4/Firmware into #61-px4io-spektrum-decoder
2012-12-01 00:50:39 -08:00
px4dev
efd3b9dea6
Clean up the FMU communications init.
2012-11-30 22:36:17 -08:00
px4dev
3e036e26c9
Disable the flow control signals for USART2/3, since we use them for other things.
2012-11-30 22:31:07 -08:00
px4dev
7d9d307ab0
We don't need non-blocking I/O for this context anymore; it's OK for it to block.
2012-11-30 22:15:40 -08:00
px4dev
8c4e9de70a
Use the right constraint for the output mixer; we might end up wanting more virtual control channels.
2012-11-30 21:52:18 -08:00
px4dev
1e6e06595a
Avoid processing S.bus channels that cannot be communicated to FMU
2012-11-30 21:51:36 -08:00
px4dev
7f22811afb
Fix <termios.h> for c++ use (cannot mark speed const)
2012-11-30 21:50:55 -08:00
px4dev
2ac0cac11f
Build fix - need <termios.h>
2012-11-30 21:50:19 -08:00
Lorenz Meier
996e363122
Hotfix: general MAVLink update, including file transfer
2012-12-01 02:13:49 +01:00
Lorenz Meier
c7616f89a3
Hotfix: Made uploader more verbose on errors
2012-12-01 02:03:30 +01:00
Julian Oes
6f572637de
Fixed missing heading for mtkcustom and nmea
2012-11-30 14:26:03 -08:00
Lorenz Meier
ef4a54666d
Harmonized PPM, S.BUS and DSM input (order: first preference S.Bus, then DSM, then PPM, first available and valid source is chosen), tested with FMU, valid channel inputs
2012-11-30 14:57:54 +01:00
Freddie Chopin
e5c7ae4706
Make cpuload correct and more efficient for all configurations of NuttX
...
Currently cpuload assumes there are only 2 static threads - idle and init, this
is true only for "basic" config of NuttX, as there can be 3 more static threads:
paging, work0 and work1 - depending on config. In such cases cpuload
would mistake one of them for init (which in fact is always last), giving
incorrect results to "top"
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
2012-11-30 11:04:35 +01:00
px4dev
e0df7e6a76
save ~200 bytes of RAM by correctly positioning the S.bus decoder table in flash.
2012-11-30 01:46:14 -08:00
Lorenz Meier
31c5425e50
Merge remote-tracking branch 'origin/#61-px4io-spektrum-decoder' into sbus
2012-11-30 10:42:36 +01:00
Lorenz Meier
d16d66f990
Enabled UART3, added JTAG make target for IO, removed potentially problematic usleep
2012-11-30 10:42:27 +01:00
px4dev
c961dd8bab
Just for fun, add a (completely untested) S.bus decoder.
2012-11-30 01:34:33 -08:00
px4dev
9fa794a8fa
Rework the PX4IO software architecture:
...
- Use a separate thread for handing R/C inputs and outputs.
- Remove all PX4IO R/C receiver configuration; it's all automatic now.
- Rework the main loop, dedicate it to PX4FMU communications after startup.
- Fix several issues in the px4io driver that would cause a crash if PX4IO was not responding.
2012-11-30 00:02:47 -08:00
px4dev
e153476950
Config changes for PX4IO:
...
- enable USART3 for S.bus
- reduce the scheduling tick to 1ms
- disable RR scheduling
- reduce stdio buffer sizes (not used)
2012-11-30 00:00:02 -08:00
Simon Wilks
9924c4f425
Addressed compiler warnings and handle non-supported devices properly.
2012-11-30 08:12:20 +01:00
Simon Wilks
c149b26dd4
Code formatting cleanup.
...
Fixed code style with Tools/fix_code_style.sh
2012-11-30 08:06:19 +01:00
patacongo
f63b1d9296
ZNEO now (almost) builds in Windows native environment
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5402 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 22:27:22 +00:00
patacongo
c9230359ef
All ZNEO configurations converted to use the mconf/Kconfig tool
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5401 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 18:44:02 +00:00
px4dev
9c8101d4f1
Add some more information to comments.
2012-11-29 10:18:21 -08:00
patacongo
83b590b946
ZNEO configurations updated to use ZDS-II version 5.0.1
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5400 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 16:48:29 +00:00
Simon Wilks
2eccf5ff19
Cleanup a bit.
2012-11-29 16:48:52 +01:00
Simon Wilks
d82c62e95b
Single wire now working once moving away from UART5.
2012-11-29 16:42:13 +01:00
patacongo
cdada458a1
z8 configurations will now build in Windows native environment
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5399 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 15:24:27 +00:00
patacongo
724d3c4c0d
Patches for NSH disable background, and ARMv7M assembly from Freddie Chopin
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5398 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 13:58:53 +00:00
Lorenz Meier
20973d603c
Merge branch '#69-stm32-termios' of github.com:PX4/Firmware into sbus
2012-11-29 09:55:03 +01:00
Lorenz Meier
401c54bdd3
Merge branch '#78-px4io-firmware-updater' of github.com:PX4/Firmware into sbus
2012-11-29 09:54:23 +01:00
px4dev
d0efd1a419
Fix the DSM (spektrum) protocol decoder, and add some format auto-detection to it.
2012-11-29 00:35:21 -08:00
px4dev
3321ca0888
Don't print the status line so much; we seem to drop a lot of receive characters this way.
2012-11-29 00:34:44 -08:00
px4dev
03a82e0a03
Fix includes for debug output.
2012-11-29 00:33:44 -08:00
px4dev
8c0c979655
Better sizing for PX4IO serial buffers.
2012-11-29 00:33:20 -08:00
px4dev
92e1d5eb78
Possible fix for #78 - increase the wait timeout for discard when flashing PX4IO. It's not clear this solves the issue, but I can't reproduce it with this added.
2012-11-28 20:12:36 -08:00
Simon Wilks
d6e54c3ce4
Trying to get single wire working. Not quite there yet.
2012-11-29 02:30:46 +01:00
Lorenz Meier
00b79764d7
minor code cleanup, not changing functionality
2012-11-28 23:00:43 +01:00
Lorenz Meier
9fa628c668
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_outdoor
2012-11-28 22:28:18 +01:00
patacongo
afd86a08b5
z8 configurations all converted to use mconf tool
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5397 42af7a65-404d-4744-a932-0658087f49c3
2012-11-28 17:50:28 +00:00
patacongo
18b90c8848
Verify that z8 targets still build (under Cygwin)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5396 42af7a65-404d-4744-a932-0658087f49c3
2012-11-28 15:53:42 +00:00
patacongo
6c26fa6537
configs/many/Make.defs: Fix typo -wstrict-prototypes; Add Calypso keypad driver (Denis Cariki)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5395 42af7a65-404d-4744-a932-0658087f49c3
2012-11-28 14:08:09 +00:00
Lorenz Meier
520f335b55
fix for ground speed minimum, untested
2012-11-28 15:02:24 +01:00
Lorenz Meier
3de3b58505
Merge pull request #77 from julianoes/hotfix_windows_upload
...
Raised COM port number for windows from 18 to 32
2012-11-27 13:01:30 -08:00
Julian Oes
c2a2eb1a1a
Raised COM port number for windows from 18 to 32
2012-11-27 10:45:11 -08:00
patacongo
8cad4a664b
Fix backward conditional compilation in work_queue.c
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5394 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 17:22:32 +00:00