Commit Graph

879 Commits

Author SHA1 Message Date
patacongo d3e4a31ac5 configs/stm32f4discovery/nsh converted to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5573 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 20:05:29 +00:00
patacongo b4db7635d8 Add configs/stm32f4discovery/usbnsh
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5572 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 19:17:56 +00:00
patacongo e96d8f046b Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 15:52:58 +00:00
px4dev 24f6c6b121 Merge branch 'master' into px4io-i2c 2013-01-25 19:29:29 -08:00
Simon Wilks bd5887b4ca Move the config param to a more sane location (I hope). 2013-01-25 10:44:21 +01:00
Simon Wilks 23f0be6b02 Merge branch 'ioctl' into hott 2013-01-24 23:57:54 +01:00
Simon Wilks 0669d2aee0 Merge remote-tracking branch 'upstream/master' into hott 2013-01-24 23:27:27 +01:00
Simon Wilks b9009390d7 Merged and tested against the single wire implementation added to Nuttx r5554. 2013-01-24 23:26:12 +01:00
patacongo 888306f728 Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:39:53 +00:00
Lorenz Meier f21d406cbe Added additional example 2013-01-24 16:53:31 +01:00
patacongo ad65a04617 Convert configs/olimex-lpc1766stk/nettest to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5555 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 14:14:44 +00:00
px4dev 35febbe844 Merge Nuttx r5554 2013-01-23 23:56:24 -08:00
px4dev b60a744b77 Merge pull request #175 from tridge/apps_bindir
px4: enable APPS_BINDIR support
2013-01-23 23:18:16 -08:00
px4dev dc88dd0abb Merge branch 'master' into px4io-i2c 2013-01-23 18:58:19 -08:00
px4dev 1ce1d4460b Merge pull request #183 from PX4/nuttx-merge-5527
Nuttx merge 5527
2013-01-23 18:46:12 -08:00
patacongo 340a72b7cd Add logic to retain child task exit status if so configured
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 22:23:46 +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
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
Andrew Tridgell 96fa586589 px4: enable APPS_BINDIR support
useful for APM startup script
2013-01-21 07:43:47 +11:00
px4dev 044e1a325a Merge branch 'master' into px4io-i2c 2013-01-19 11:43:03 -08: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
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 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
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 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
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
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 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
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
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 dadd5d01f9 Now that sem_timedwait works, we can turn on interrupt-driven I2C. 2013-01-13 19:05:00 -08:00
px4dev c51b130f17 Enable DMA 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 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
px4dev 41987c7848 Recover fix for and enabling of interrupt-driven I2C. 2013-01-11 02:33:02 -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 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 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 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
px4dev c137ceba7d Remove more redundant CMSIS pieces from here. 2013-01-07 23:03:57 -08: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
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
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 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
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 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
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 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 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 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 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 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