Commit Graph

15635 Commits

Author SHA1 Message Date
px4dev 044e1a325a Merge branch 'master' into px4io-i2c 2013-01-19 11:43:03 -08:00
patacongo 1094575ce5 Fix a bug where recv[from]() would hang when remote host gracefully closed connection
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5539 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 19:18:44 +00:00
Lorenz Meier 4b9916eded Made threshold a bit nicer, still a magic number 2013-01-19 19:32:44 +01:00
jgoppert effc3001f4 Merge branch 'master' of git://github.com/PX4/Firmware into fault_detection 2013-01-19 13:04:02 -05:00
patacongo 070651221f Add split package logic to improve TCP send performance with delayed ACKs
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5538 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 16:40:43 +00:00
Lorenz Meier 2542722102 Fixed selective publication update 2013-01-19 17:11:12 +01:00
Lorenz Meier c9c64b3f25 Added missing flag, tested 2013-01-19 17:03:35 +01:00
Lorenz Meier d637842825 Fixed a number of smaller issues with log changes, ready to merge 2013-01-19 16:59:56 +01:00
Lorenz Meier 5fe1a12612 Merge branch 'master' of github.com:PX4/Firmware into log_improvements 2013-01-19 15:55:12 +01:00
Lorenz Meier 6cc840a95b Merge pull request #168 from PX4/i2c_workaround
I2C driver workaround for NuttX
2013-01-19 06:33:30 -08:00
Lorenz Meier a10ff0fe1c First round of testing successful - back to I2C code from Dec / Nov 2012 2013-01-19 14:52:33 +01:00
Lorenz Meier f119d9fbda Added home position concept, uORB struct and MAVLink announcement of home position 2013-01-19 14:46:26 +01:00
Lorenz Meier c15093bb55 Bringing back old I2C code, just temporary workaround 2013-01-19 12:52:25 +01:00
Lorenz Meier d463c94ea1 Enable / disable logging while running, enabled black box logging (ringbuffer needed), enabled GPS KML logging (does not yet write outputs) 2013-01-19 12:45:23 +01:00
Lorenz Meier 3128529c3b Added logging improvements for microSD 2013-01-19 01:31:05 +01:00
patacongo 53e8b454bf Add configuration for Wave Share Open1788 (fragmentary)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5537 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 22:42:37 +00:00
patacongo eb1e5b46af Add vectors for the LPC1788 - from Rommel Marcelo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5536 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 21:05:17 +00:00
patacongo a79a2bfbd6 More LPC1788 register definitions from Rommel Marcelo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5535 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 20:25:32 +00:00
patacongo 40041c8792 Refactor all lpc17xx header files (more like STM32 header file structure now)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5534 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 19:16:44 +00:00
patacongo 3ff155d048 Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 16:37:37 +00:00
James Goppert 4b2d1690d3 Set kalman_demo to only publish when it has valid info. 2013-01-18 10:21:20 -05:00
patacongo 55b9700d59 STM32 I2C changes from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5532 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 13:34:09 +00:00
px4dev bc35bb23dd HOTFIX: disable interrupt-driven I2C mode, configure pessimistic I2C timeout, correct handling of the NAK generation for I2C master reads.
This looks like it addresses the recent I2C lockup issue, unfortunately it also increases CPU consumption by ~5% for the I2C sensor bus.
2013-01-18 00:43:57 -08:00
patacongo 76753ad9cb Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 01:52:42 +00:00
Julian Oes 9ca472bbc7 Ubx configuration working again, gps app is still complicated and big but should be wrking better now 2013-01-17 16:54:32 -08:00
Julian Oes ebaa38ad1b ubx with 38400 working, all messages seem to arrive, configuration procedure is still funny (work in progress) 2013-01-17 16:54:32 -08:00
Julian Oes dce9b2d045 The CFG-NAV5 dynamic model is now checked as well 2013-01-17 16:54:32 -08:00
Julian Oes 80eb66c7a3 The config message was wrong, corrected (not tested) 2013-01-17 16:54:32 -08:00
Julian Oes c5ecf88bfb Added ubx configuration CFG-NAV5 to airborne with less than 2g acceleration (compiling, not tested) 2013-01-17 16:54:32 -08:00
patacongo 2f653578c6 Misc bug fixes related to NSH file execution
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5530 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 20:25:32 +00:00
Lorenz Meier dc5ddb9370 Defaulting to full auto in auto mode 2013-01-17 14:18:33 -05:00
patacongo 19e43efe23 NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
James Goppert 13bb814f20 Prevented attitude correction from changing velocity when pos not init. 2013-01-17 12:18:20 -05:00
James Goppert c2c0baf843 Increased process noise. 2013-01-17 12:16:21 -05:00
James Goppert 612385a231 Merge branch 'master' of git://github.com/PX4/Firmware into fault_detection 2013-01-17 10:50:08 -05:00
patacongo e9d0885500 Add logic to automatically unload module on exit; Several patches from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5528 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 14:43:55 +00:00
px4dev 8685f63c72 Some gentle massaging to get things building again. 2013-01-17 01:18:18 -08:00
px4dev 1a532d16dd Merge NuttX r5527 2013-01-17 01:00:46 -08:00
px4dev 7d7c352fb4 Merge pull request #162 from PX4/windows_build_fix
Windows build fix attempt
2013-01-17 00:07:51 -08:00
patacongo caeef71797 Change the way thread priority is handled in binfmt/ to better match the way that priority is set up for the builtin tasks
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5527 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 00:30:12 +00:00
patacongo e7e1c6aee0 convert configs/sim/nsh to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5526 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 21:38:00 +00:00
px4dev af9b26f04d Merge branch 'master' into px4io-i2c 2013-01-16 13:03:45 -08:00
px4dev 4b07a9abd3 Add RC input configuration, update at startup and on parameter change (max 2 per second). 2013-01-16 13:02:49 -08:00
patacongo a568e1e63a Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 19:08:23 +00:00
James Goppert 34d70bea4b Control tuning. 2013-01-16 13:55:49 -05:00
James Goppert ded442fd19 Added position initialization. 2013-01-16 13:27:04 -05:00
patacongo 38efdf0ce3 Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 17:05:00 +00:00
patacongo 4f7967b4c6 apps/builtin/binfs.c moved to nuttx/fs/binfs/fs_binfs.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5523 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 15:41:27 +00:00
patacongo 77efc9f9cd BINFS now supports open, close, and FIOC_FILENAME ioctl
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5522 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 14:14:14 +00:00
px4dev ab0459c1f4 Pass the absolute path to the compiler/assembler so that error messages include enough information for an IDE to find the file. 2013-01-15 23:03:47 -08:00