Commit Graph

1596 Commits

Author SHA1 Message Date
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
patacongo c0ced89e2d README update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5412 42af7a65-404d-4744-a932-0658087f49c3
2012-12-04 14:34:48 +00:00
patacongo c2fa801660 Progress toward a z80 native Windows build -- still needs some work
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5411 42af7a65-404d-4744-a932-0658087f49c3
2012-12-03 20:12:59 +00:00
patacongo 66c7e430cf Convert configs/z80sim/ostest to Kconfig/mconf tool
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5409 42af7a65-404d-4744-a932-0658087f49c3
2012-12-03 15:33:24 +00:00
patacongo 995d13a484 Add dummy Toolchain.defs files for z80 arch family
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5408 42af7a65-404d-4744-a932-0658087f49c3
2012-12-03 14:13:23 +00:00
patacongo d128c03666 Fix the fat, flat line bug
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5407 42af7a65-404d-4744-a932-0658087f49c3
2012-12-02 17:34:08 +00:00
px4dev ad6c60c77c Merge pull request #90 from PX4/#89-BlinkM-driver
BlinkM driver
2012-12-01 22:59:36 -08:00
px4dev b02c69243d Merge pull request #75 from PX4/delay_test
Added delay test to measure comm delays with a led / scope
2012-12-01 22:55:55 -08:00
px4dev 2a8ef50df4 A driver and shell command for the BlinkM I2C LED controller. 2012-12-01 19:29:36 -08:00
patacongo 3f5c105156 Another random number generator update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5406 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 18:44:57 +00:00
patacongo 6fa076a171 Correct some errors in lib_rand.c from last check-in
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5405 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 18:04:10 +00:00
patacongo b0b339c242 Add one to internal result of random number generator to avoid the value zero, from Freddie Chopin
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5404 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 16:32:03 +00:00
patacongo 7f7356cdc9 standard keypad inteface and apps/examples/keypadtest from Denis Carikli
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5403 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 15:43:51 +00: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 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 7f22811afb Fix <termios.h> for c++ use (cannot mark speed const) 2012-11-30 21:50:55 -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 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
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
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
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
px4dev 8c0c979655 Better sizing for PX4IO serial buffers. 2012-11-29 00:33:20 -08: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
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
patacongo 3c20b3a3cd Add chip ID funcitions for Shenzhou and Cloudctrl boards; Extened NSH ifconfig command and improve DHCPC -- All from Darcy Gong
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5393 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 16:26:54 +00:00
Lorenz Meier f88feceab6 Hotfix: Number of files pre process was causing uorb topics not to be published in MAVLink 2012-11-27 17:26:37 +01:00
patacongo 8c5b57d449 configs/z8f64200100kit/ostest at same level as ez80 configurations; nuttx/arch/arm/src/lpc17xx/lpc17_i2c.cuninitialization fix
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5392 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 15:09:12 +00:00
Lorenz Meier 4d6fb3a037 Added delay test to measure comm delays with a led / scope 2012-11-27 12:45:17 +01:00
patacongo 285cd25599 ez80f910200zco/ostest supports native windows build; other configurations also updated
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5391 42af7a65-404d-4744-a932-0658087f49c3
2012-11-26 18:39:49 +00:00
patacongo aca95c7730 ez80f910200zco/ostest now uses Kconfig
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5390 42af7a65-404d-4744-a932-0658087f49c3
2012-11-26 17:07:34 +00:00
patacongo f1883fb2da Misc build fixes, some from Mike some for ez80 native build
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5389 42af7a65-404d-4744-a932-0658087f49c3
2012-11-26 15:06:50 +00:00
patacongo 7d61592105 STM32 FLASH pre-fetch is no long enabled unless it is so configured
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5388 42af7a65-404d-4744-a932-0658087f49c3
2012-11-26 13:22:51 +00:00
patacongo 7a88e307e8 A few native window build updates
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5387 42af7a65-404d-4744-a932-0658087f49c3
2012-11-25 20:58:39 +00:00