patacongo
b10238efee
Missed changed from last lpc1788 check-in
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5551 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 00:19:46 +00:00
patacongo
3cb33101a9
Add lpc178x_iocon.h from Rommel Marcelo
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5550 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 23:54:31 +00:00
patacongo
336f91b4e6
lpc1788 update from Rommel Marcelo; Beginning of logic to retain child exit status
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5549 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 23:42:51 +00:00
Simon Wilks
8ba3fbd0a3
Merged
2013-01-22 22:16:41 +01:00
patacongo
7dad51762d
Use of BASEPRI to control ARM interrupts is now functional
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5548 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 16:09:10 +00:00
patacongo
9375b285f2
More logic to use BASEPRI to control interrupts -- still doesn't work
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5547 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 14:37:17 +00:00
patacongo
4742f55507
Add option to use BASEPRI instead of PRIMASK to disable interrupts in all ARMv7-M architectures
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5546 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 01:25:40 +00:00
patacongo
e504d643fc
Beginning of support for LCD1602
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5545 42af7a65-404d-4744-a932-0658087f49c3
2013-01-21 22:46:37 +00:00
Simon Wilks
ecd01dc2e8
We aren't using RS485 but single wire.
2013-01-21 23:31:12 +01:00
patacongo
41b7f883e5
LM3S OpenOCD configuration from Jose Pablo Carballo
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5544 42af7a65-404d-4744-a932-0658087f49c3
2013-01-21 16:56:29 +00:00
patacongo
aa88fc315e
poll was not checking if the socket was still connected
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5543 42af7a65-404d-4744-a932-0658087f49c3
2013-01-21 14:17:11 +00:00
Andrew Tridgell
96fa586589
px4: enable APPS_BINDIR support
...
useful for APM startup script
2013-01-21 07:43:47 +11:00
Andrew Tridgell
724252768c
stdio: added vdprintf() for printf to a file descriptor
2013-01-21 07:41:56 +11:00
patacongo
70cab4d797
Centralize TCP loss-of-connection bit twiddling
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5542 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 17:21:42 +00:00
patacongo
28a0cf4aa0
Yet another repair for the previouis botched recvfrom() fix; Fix telnet driver: It needs to break out of the read loop if 0 (meaning not conneced) of a value < 0 (an error) is encountered.
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5541 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 00:41:33 +00:00
patacongo
598b4b2879
Minor tweak to last bugfix
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5540 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 19:45:08 +00:00
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
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
a10ff0fe1c
First round of testing successful - back to I2C code from Dec / Nov 2012
2013-01-19 14:52:33 +01:00
Lorenz Meier
c15093bb55
Bringing back old I2C code, just temporary workaround
2013-01-19 12:52:25 +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
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
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
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
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
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
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
Lorenz Meier
07114f0a32
Windows build fix attempt
2013-01-15 23:17:12 +01:00
patacongo
fcb316906d
Implement redirection of output from NSH builtin commands to a file in a mounted volume
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5521 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 21:01:37 +00:00
patacongo
90a72e97d3
Implement vfork() for the MIPS32 architecture
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5520 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 15:40:18 +00:00
px4dev
8da9a2c149
Merge branch 'master' into px4io-i2c
2013-01-14 21:20:17 -08:00
patacongo
f55cabeb59
Don't build drivers/mtd unless CONFIG_MTD is defined (Denis Carikli)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5519 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 00:03:58 +00:00
patacongo
87b33d3546
Configre configs/ubw32/ostest to use kconfig-frontends
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5518 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 22:06:19 +00:00
patacongo
cc3614dfe8
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 19:22:32 +00:00
patacongo
930f9a1351
Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 15:42:03 +00:00
px4dev
5e91a36623
Drop the 'nonstop' flag since we can infer it when we need it. Submitted this version of the serial DMA changes for integration into mainline NuttX.
2013-01-13 19:05:01 -08:00
px4dev
5e35491a38
We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, and since USART2 is going back to being ignored once I2C works, let's make the call.
...
Turn off the debug output on I2C for now.
2013-01-13 19:05:01 -08:00
px4dev
469d13fdfe
Implement serial receive DMA for the F1xx. This is not quite working right yet. Some clients work, others not so much.
2013-01-13 19:05:00 -08:00
px4dev
e2f7a46812
Clear the interrupting condition when we take the DMA interrupt.
2013-01-13 19:05:00 -08:00
px4dev
770f2545fb
Implement non-stop DMA mode (circular) for the F1x DMA driver.
2013-01-13 19:05:00 -08:00
px4dev
bd543fd7fc
A couple of minor tracing fixes; print the state names in the trace dump, and set the timestamp for each entry (not really a useful number yet…)
2013-01-13 19:05:00 -08:00
px4dev
dadd5d01f9
Now that sem_timedwait works, we can turn on interrupt-driven I2C.
2013-01-13 19:05:00 -08:00
px4dev
81115166a7
Fix clock_time2ticks to round up, not down. This makes sem_timedwait for at least the necessary period.
2013-01-13 19:05:00 -08:00
px4dev
7c7112a157
Implement stm32_dmaresidual for the F1 DMA driver.
2013-01-13 19:04:59 -08:00
px4dev
7c2445f74d
Don't waste time printing when we have errors - that causes the master to time out
2013-01-13 19:04:59 -08:00
px4dev
c51b130f17
Enable DMA
2013-01-13 19:04:59 -08:00
px4dev
3725292e62
Actually only one DMA on F100
2013-01-13 19:04:59 -08:00
px4dev
811790a14f
Checkpoint I2C slave work on IO
2013-01-13 19:04:59 -08:00
patacongo
b3f3dd123c
Use SIGCHLD with waitpid(); implemented wait() and waitid()
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 18:53:00 +00:00
patacongo
ffda55b34a
Cosmetic cleanup from SIGCHLD changes
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5514 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 00:35:47 +00:00
patacongo
b58281cab8
Fix a *critical* bug in the task exit logic. Implements SIGCHILD
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
2013-01-12 19:58:45 +00:00
patacongo
db161f73bc
Documentation update
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5512 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 21:51:54 +00:00
patacongo
43e22b2b98
Fix an error handling bug in the fread logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5511 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 19:08:51 +00:00
patacongo
e7a5090e55
Various changes while debugging posix_spawn
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5510 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 16:53:44 +00:00
Simon Wilks
64925c33cd
Merged
2013-01-11 16:52:42 +01:00
patacongo
b26d1e1453
Update STM32 F1 DMA to parity with F2/F4
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5509 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 13:30:23 +00:00
px4dev
41987c7848
Recover fix for and enabling of interrupt-driven I2C.
2013-01-11 02:33:02 -08:00
px4dev
fbf4c44230
Fix a compile error in the i2c reset code.
2013-01-11 02:32:29 -08:00
px4dev
f127495caa
Manually fixup merge botches via direct comparison with NuttX r5447.
2013-01-11 02:14:43 -08:00
px4dev
d796a3b43b
Merge commit 'b3f037e876055ff4f5169fb5df1639d50d7d5976' into nuttx-merge-5447
2013-01-11 00:45:53 -08:00
px4dev
ca305933a1
Merge commit 'eaf1d8063cc707b1041e8583663d9edd45f42c5d' into nuttx-merge-5447
...
Build system updates to sync with NuttX upstream.
2013-01-11 00:45:25 -08:00
px4dev
ccf9882dc5
Merge branch 'master' into nuttx-merge-5447
2013-01-11 00:39:22 -08:00
px4dev
6de688676d
Suppress annoying C++ ABI portability warnings
...
This suppresses an otherwise not useful warning when mixing C++ and va_list
2013-01-10 18:53:26 -08:00
patacongo
7609c9a192
Fix problem with initialization of file actions
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5508 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 23:06:23 +00:00
patacongo
f011bd7ef6
Added a test of posix_spawn()
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 21:39:57 +00:00
patacongo
6f241ed044
Add interfaces to dynamically change symbol tables used by posix_spawn, execv, and execl. This is needed for testing.
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5506 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 20:00:08 +00:00
patacongo
9f8f8fc6dc
Add missing support for signal masks to posix_spawn.
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5505 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 18:31:08 +00:00
patacongo
322e9d18c7
Completes implementation of posix_spawn. Still untested and undocumented
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5504 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 17:37:29 +00:00
patacongo
91cfebc978
Removed posix_spawn signal masks - they cannot be supported in NuttX; Add skeleton for posix_spawn proposer - still incomplete
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5503 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 15:26:09 +00:00
patacongo
35c5bb8e0f
Fix rounding in clock_time2ticks(). From Mike Smith.
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5502 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 14:07:30 +00:00
patacongo
5ac907eb39
Add spawn attribute logic which will eventually be needed to support posix_spawn()
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5501 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 00:45:11 +00:00
patacongo
44fdf6fc7a
Add file action logic which will eventually be needed to support posix_spawn()
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5500 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 21:31:36 +00:00
patacongo
d844f61f8a
Re-partition Stellaris vector logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5499 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 19:49:16 +00:00
patacongo
35cc14be43
Change naming of all Stellaris pre-processor symbols from LM3S_ to LM_ to make room in the namespace for LM4F
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5498 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 18:15:02 +00:00
patacongo
51fc8af31f
Rename LM3S files, variables, and types from lm3s_ to lm_; Rename configuration variables from CONFIG_LM3S_ to CONFIG_LM_
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5497 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 14:48:55 +00:00
patacongo
8156a2bed1
Use kconfig- prefix to avoid tool name conflicts (from Jose Pablo Carballo)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5496 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 12:55:13 +00:00
patacongo
3f4d206288
Rename arch/arm/src/lm3s to arch/arm/src/lm to allow a namespace that will include the lm4f
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5495 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 20:56:40 +00:00
patacongo
23cc9f459c
Eliminate arch/arc/src/lm3s/lm3s_internal.h; replace with several header files
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5494 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 19:27:38 +00:00
patacongo
fd45b36c04
Documentation update
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5493 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 16:51:22 +00:00
patacongo
14f72f7a21
Add execv() and execl(); Move lm3s header files for compatibility
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5492 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 16:25:30 +00:00
px4dev
c137ceba7d
Remove more redundant CMSIS pieces from here.
2013-01-07 23:03:57 -08:00
patacongo
3d160e45b6
Documentation update
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5491 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 00:04:12 +00:00
patacongo
a9f2c6fa8a
Fixed ARM vfork; re-enabled vfork OS test
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5490 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 23:50:25 +00:00
patacongo
5a9162f017
Disable the vfork() OS test... it fails
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5489 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 23:09:09 +00:00
patacongo
66cdd288ab
Add ostest vfork test (does not work yet)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5488 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 21:41:20 +00:00
patacongo
a5f001189e
This initial vfork() check-in was a little pollyanna-ish
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5487 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 19:35:47 +00:00
patacongo
876062fe3a
Implement a simple vfork(). ARM only for now
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5486 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 15:20:21 +00:00
px4dev
91dba46524
Fix fallout from removing the spurious CMSIS
2013-01-06 19:20:22 -08:00
px4dev
e88a981093
Merge commit '23e8d0b4675e1101a5dd38fa48f96ec3c13ca68b' into local/mathlib
...
Fix the controllib test_params build.
2013-01-06 15:23:12 -08:00
px4dev
faced6bfe3
Merge James's controllib bits into a separate library module.
...
Add a top-level mathlib header to avoid having to dig around for specific headers.
2013-01-06 15:04:30 -08:00
px4dev
43ccb257a8
Move the math library pieces out of systemlib into mathlib
2013-01-06 13:56:49 -08:00
jgoppert
23e8d0b467
Added kalman_demo. This is an attitude/position EKF example.
2013-01-06 16:05:06 -05:00
px4dev
95aa959571
Merge commit '4f3b17f53b120cd54112097f4217a90863013c1f' into local/mathlib
2013-01-06 12:57:28 -08:00
px4dev
4447282260
Integrate the interesting parts of the CMSIS 3.01 (r3p1) DSP library
2013-01-06 12:52:05 -08:00
jgoppert
84d7f19d7d
Added control library to build.
2013-01-06 15:47:07 -05:00
jgoppert
4f3b17f53b
Added math library to build.
2013-01-06 14:20:24 -05:00
patacongo
fe4b34bded
Fix SEM_INITIALIZER
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5483 42af7a65-404d-4744-a932-0658087f49c3
2013-01-06 17:34:03 +00:00
patacongo
0d86268de6
Remove CONFIG_BUILTIN_APPS_START
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5482 42af7a65-404d-4744-a932-0658087f49c3
2013-01-06 17:00:08 +00:00
Lorenz Meier
34d078b556
Merged latest master
2013-01-06 11:32:08 +01:00
px4dev
6ae9f03544
Merge commit '375d3c14d742248b434c080527886a95ea1d563f'
2013-01-06 02:01:53 -08:00
px4dev
5cc76018ff
Merge commit '920608bf3671662f94b4939ffdaf6fde2b08edff'
2013-01-06 02:01:41 -08:00
px4dev
0a4ef92b75
Merge commit '890b1ac0689984cb6bc4638cc2aa8ec869d14f91'
2013-01-06 01:55:37 -08:00
px4dev
9df2aaf312
Merge branch 'master' into #111-px4io-integrated-mixing
...
Fix a botched merge for #106 at the same time.
2013-01-06 00:40:17 -08:00
Lorenz Meier
8eb8909a3c
Merge branch 'master' of github.com:PX4/Firmware into px4io-adc-integration-battery-msg
2013-01-06 00:50:51 +01:00
Andrew Tridgell
375d3c14d7
increase the UART buffer sizes to 256
...
The most critical one is the GPS serial port receive buffer size,
which needs to be at least 128 to support the UBLOX protocol, but it
seems a good idea for people running a FMU without a IO board to
increase the UART buffer sizes generally
2013-01-06 06:33:44 +11:00
patacongo
362d3bb5d2
Extend tools/configure.c for better compatibility with configure.sh
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5481 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 16:07:37 +00:00
patacongo
3e91a8a290
Clean up a few tools/ build issues
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5480 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 14:57:43 +00:00
patacongo
470c2e71df
Correct some errors in the LPC17xx SYSCON register bit definitions (from Rommel Marcello)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5479 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 13:19:53 +00:00
px4dev
91ca80e634
Fix the handling of FIONREAD/FIONWRITE; thanks Tridge.
2013-01-04 21:28:26 -08:00
patacongo
5c572a3cb5
Add tools/configure.c and configure.bat
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5478 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 21:37:31 +00:00
Andrew Tridgell
920608bf36
added vdprintf() library function
2013-01-05 07:58:50 +11:00
patacongo
b66a46decc
Working on configure.c
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5477 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 16:50:15 +00:00
patacongo
c504d9e32e
Renaming some files in tools/
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5476 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 16:00:38 +00:00
patacongo
19752b4453
The default should be CONFIG_LIB_KBDCODEC=n
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5475 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 16:18:44 +00:00
patacongo
60bd93728b
Fix bad conditional in nuttx/libc/misc/Make.defs
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5474 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 15:45:57 +00:00
patacongo
8d75785fad
STM32 FLASH changes from Freddie Chopin
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5473 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 13:39:16 +00:00
Andrew Tridgell
73b787a8dd
serial: fixed up FIONREAD and FIONWRITE
...
the device ioctl returns -ENOTTY when it hasn't handled the command
2013-01-03 20:42:36 +11:00
px4dev
3916230d8f
Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only.
2013-01-03 19:35:44 +11:00
px4dev
e787fa5bce
Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only.
2013-01-03 00:33:22 -08:00
patacongo
d0d3328d9c
Misc fixes for LM3S kconfig-frontends build
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5472 42af7a65-404d-4744-a932-0658087f49c3
2013-01-02 14:02:07 +00:00
Andrew Tridgell
890b1ac068
build: cope better with absolute paths
2013-01-02 17:38:52 +11:00
px4dev
b3f037e876
Forgot to save this one; more build system tweaks.
2013-01-01 20:35:07 -08:00
px4dev
eaf1d8063c
Build system updates to match the NuttX merge.
2013-01-01 19:39:17 -08:00
px4dev
dc50d96b5d
Merge commit '0f2decb70f505b108999fcdb80e89d7aae6760ce' into nuttx-merge-0f2decb
2013-01-01 15:33:39 -08:00
patacongo
41731a71ef
All lm3s6965-ek configurations converted to use kconfig-frontends
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5470 42af7a65-404d-4744-a932-0658087f49c3
2013-01-01 16:33:47 +00:00
patacongo
29da58a677
Updates from Darcy Gong for UG-2864SWEG01 OLED
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5469 42af7a65-404d-4744-a932-0658087f49c3
2013-01-01 14:55:01 +00:00
patacongo
167854a980
Remove non-functional WLAN examples, configurations
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5468 42af7a65-404d-4744-a932-0658087f49c3
2012-12-31 13:44:36 +00:00
px4dev
476db46869
kill off the NuttX ADC driver config; we're not going to use it
2012-12-31 01:26:58 -08:00
patacongo
e88ff3cdfa
Fix the nxlines configuration for the zp214xpa board
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5467 42af7a65-404d-4744-a932-0658087f49c3
2012-12-30 21:12:43 +00:00
patacongo
e1eacb2254
Add ZP213X/4XPA nxlines configuration (needs a little more work)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5466 42af7a65-404d-4744-a932-0658087f49c3
2012-12-30 16:39:25 +00:00
px4dev
d5da457e29
Fix PX4IO to run C++ static ctors
2012-12-29 12:57:29 -08:00
patacongo
e0be95b9a0
Add board support at configs/zp214xpa for the The0.net ZP213X/4XPA board with the LPC2148; Add configurations sim/nxlines. convert mcu123-lpc214x/nsh to use the kconfig-frontends.
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5465 42af7a65-404d-4744-a932-0658087f49c3
2012-12-28 23:40:54 +00:00
px4dev
3c865c7261
Build the mixer library for PX4IO as well
2012-12-27 15:12:09 -08:00
patacongo
954529e8c5
Add support for key release events
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5464 42af7a65-404d-4744-a932-0658087f49c3
2012-12-27 14:01:59 +00:00
patacongo
88bccb641e
Verified USB HID KBD driver encoding of special characters; apps/examples/hidkbd now decodes encoded keyboar characters.
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5463 42af7a65-404d-4744-a932-0658087f49c3
2012-12-26 21:37:50 +00:00
patacongo
8ed19bb07d
Add UG_2965SWEG01 driver from Darcy Gong; fix logic error in how waiters are reawakened in the USB HID keyboard driver
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5462 42af7a65-404d-4744-a932-0658087f49c3
2012-12-26 20:04:57 +00:00
patacongo
373e145e54
Implement encoding the usbhost HID keyboard driver; configre olimex-lpc1766stk HID keyboard configuration to use the kconfig-frontends tool
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5461 42af7a65-404d-4744-a932-0658087f49c3
2012-12-26 18:54:59 +00:00
patacongo
292d4db37a
Add logic to serialize and marshal out-of-band keyboard commands
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5460 42af7a65-404d-4744-a932-0658087f49c3
2012-12-25 17:22:58 +00:00
patacongo
6953365d30
Fix several build issues noted by Mike Smith
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5459 42af7a65-404d-4744-a932-0658087f49c3
2012-12-24 20:22:14 +00:00
patacongo
7c73fe57c6
Fixes for l3s, USB composite, nfsmount, apps context build problems
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5458 42af7a65-404d-4744-a932-0658087f49c3
2012-12-24 17:49:58 +00:00
patacongo
5859e0d353
Correct round-to-ticks logic in sigtimedwait()
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5457 42af7a65-404d-4744-a932-0658087f49c3
2012-12-24 14:31:02 +00:00
patacongo
3fe53af6be
Remove .context kludge from apps/ directory
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5455 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 22:17:09 +00:00
patacongo
5cfde412bb
Rename namedapp as simply builtin
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5454 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 20:22:41 +00:00
patacongo
c62d3d93de
Mostly costmetic updates
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5452 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 17:32:41 +00:00
patacongo
f2a0267b07
Fix errors and omissions in last checkin
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5451 42af7a65-404d-4744-a932-0658087f49c3
2012-12-22 16:51:01 +00:00
patacongo
e975043dd3
Add tools/kconfig.bat
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5450 42af7a65-404d-4744-a932-0658087f49c3
2012-12-22 16:47:02 +00:00
patacongo
247ad37c4b
configs/sim/nxwm now uses kconfig-frontends
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5449 42af7a65-404d-4744-a932-0658087f49c3
2012-12-21 21:30:33 +00:00
patacongo
c67fdb87f7
Patches from Petteri Aimonen (plus a few other things)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5448 42af7a65-404d-4744-a932-0658087f49c3
2012-12-21 20:09:32 +00:00
patacongo
0f2decb70f
Prep for release 6.24
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5447 42af7a65-404d-4744-a932-0658087f49c3
2012-12-20 20:22:21 +00:00
patacongo
c2a284d25e
Fix make export target
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5446 42af7a65-404d-4744-a932-0658087f49c3
2012-12-20 14:08:21 +00:00
patacongo
db3e7613bc
Verify PATH variable in apps/examples/elf
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5445 42af7a65-404d-4744-a932-0658087f49c3
2012-12-19 22:18:30 +00:00
patacongo
272fc3b523
Some minor fixes for CONFIG_ADDRENV=y
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5444 42af7a65-404d-4744-a932-0658087f49c3
2012-12-19 21:16:03 +00:00
patacongo
56a6504618
Incorporate address environment interfaces in binfmt/ logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5443 42af7a65-404d-4744-a932-0658087f49c3
2012-12-19 17:54:26 +00:00
patacongo
8ae8d43ae2
Restructre address environment interfaces in preparation for incorporation into binfmt/ logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5442 42af7a65-404d-4744-a932-0658087f49c3
2012-12-18 16:15:27 +00:00
patacongo
fe4bf6f555
Integrate PATH traversal logic and binary format logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5441 42af7a65-404d-4744-a932-0658087f49c3
2012-12-17 14:43:31 +00:00
patacongo
14a896b205
Add basic hooks to support a PATH variable (more is needed)
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5440 42af7a65-404d-4744-a932-0658087f49c3
2012-12-16 21:15:27 +00:00
patacongo
8fc05d82fc
Documentation update
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5439 42af7a65-404d-4744-a932-0658087f49c3
2012-12-15 16:03:45 +00:00
patacongo
a202ca65d1
Add z180 system timer
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5438 42af7a65-404d-4744-a932-0658087f49c3
2012-12-15 15:03:35 +00:00
patacongo
67b2e69b23
More z180 serial logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5437 42af7a65-404d-4744-a932-0658087f49c3
2012-12-14 19:15:07 +00:00
patacongo
9ef2bd0745
Add framework for z180 SCC driver
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5436 42af7a65-404d-4744-a932-0658087f49c3
2012-12-14 15:32:26 +00:00
patacongo
7dcb78d3c4
Finsh Z80181/182 register bit definition
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5435 42af7a65-404d-4744-a932-0658087f49c3
2012-12-13 21:49:11 +00:00
patacongo
b922099dc2
Add special register definitions needed for z80181 and z80182
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5434 42af7a65-404d-4744-a932-0658087f49c3
2012-12-13 18:13:22 +00:00
patacongo
e9e7bacfa2
Add z180 interrupt initialization logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5433 42af7a65-404d-4744-a932-0658087f49c3
2012-12-12 17:06:47 +00:00
patacongo
a71e9d8104
Add z180 interrupt vectors
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5432 42af7a65-404d-4744-a932-0658087f49c3
2012-12-12 16:38:50 +00:00
patacongo
092c435c46
Fix typo in z80-family Makefiles
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5431 42af7a65-404d-4744-a932-0658087f49c3
2012-12-12 00:07:15 +00:00
patacongo
7eb3401791
Fix some early z180 compile errors
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5430 42af7a65-404d-4744-a932-0658087f49c3
2012-12-11 22:51:20 +00:00
patacongo
b09b1b66b0
configs/p112: Add a configuration for the Z180 P112 board
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5429 42af7a65-404d-4744-a932-0658087f49c3
2012-12-11 21:42:15 +00:00
patacongo
7978ac907b
Add support for the Z180 MMU and generic hooks for processes
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5428 42af7a65-404d-4744-a932-0658087f49c3
2012-12-11 18:04:04 +00:00
patacongo
97ddd5100f
Add arch/z80/src/z180/z180_iomap.h
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5427 42af7a65-404d-4744-a932-0658087f49c3
2012-12-10 22:39:18 +00:00
patacongo
5f72f975b3
Add source files for z180
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5426 42af7a65-404d-4744-a932-0658087f49c3
2012-12-10 18:40:01 +00:00
patacongo
2b1f75ced6
Add header files for z180
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5425 42af7a65-404d-4744-a932-0658087f49c3
2012-12-10 17:03:34 +00:00
patacongo
8cb01b42d0
README update
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5424 42af7a65-404d-4744-a932-0658087f49c3
2012-12-09 19:07:01 +00:00
patacongo
50909ac4e2
Some initial changes for 8051 build update
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5423 42af7a65-404d-4744-a932-0658087f49c3
2012-12-09 18:20:49 +00:00
patacongo
200ce6d7ff
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
2012-12-09 17:34:53 +00:00
patacongo
93683ae1b5
configs/xtrs/ostest converted to kconfig-frontend and Windows native
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5421 42af7a65-404d-4744-a932-0658087f49c3
2012-12-08 23:21:34 +00:00
patacongo
9ba1a8f55d
Fixes for configs/z80sim/pashello Windows native build
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5420 42af7a65-404d-4744-a932-0658087f49c3
2012-12-08 21:31:43 +00:00
patacongo
c5d9112de1
Add tools/link.bat, unlink.bat, and copydir.bat
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5419 42af7a65-404d-4744-a932-0658087f49c3
2012-12-08 16:37:43 +00:00
patacongo
2ca319a5cf
configs/z80sim/nsh and pashello converted to kconfig-frontends and Windows native build
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5418 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 22:02:51 +00:00
patacongo
10bda33ba3
Verify redesigned Z80 build on native Windows
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5417 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 20:45:07 +00:00
patacongo
cb393b2757
Redesign z80 build so that mkhpbase.sh bash script is not needed; remove support for older SDCC toolchains; Re-verify z80 build on Linux
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5416 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 19:02:57 +00:00
patacongo
756aa6b909
Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00
Simon Wilks
097aeddcad
Push single wire operations into stm32_serial.c and added a test to verify HoTT telemetry setup.
2012-12-06 17:24:27 +01:00
patacongo
4c98d2e732
z80sim/ostest now builds okay under Linux with SDCC 3.2.1
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5414 42af7a65-404d-4744-a932-0658087f49c3
2012-12-05 16:28:33 +00:00
patacongo
ccae1c4fb2
Progress toward natvie z80 SDCC build -- still issues
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5413 42af7a65-404d-4744-a932-0658087f49c3
2012-12-05 15:01:11 +00:00