Commit Graph

1364 Commits

Author SHA1 Message Date
Gregory Nutt
637ac296f8 Add a tool to auto-generated documentation of NuttX configuration variables (still a work in progress) 2013-04-20 11:42:59 -06:00
Gregory Nutt
5187631e30 _exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit() 2013-04-18 16:15:20 -06:00
Gregory Nutt
7a1ee32de4 Convert configs/stm3240g-eval/ostest to use the kconfig frontends tools 2013-04-17 20:28:24 -06:00
Gregory Nutt
5ec812ff77 Fix major misthink in Cortex-M0 port: The Cortex-M0 has no BASEPRI register. We have to revert to using the nasty PRIMASK register 2013-04-16 18:00:59 -06:00
Gregory Nutt
7f21e8dc4c Initial support for the Kinetis L family and the Freedom KL25Z board from Alan Carvalho de Assis 2013-04-16 08:48:42 -06:00
Gregory Nutt
77d305673c Convert nucleus2g/usbserial to use kconfig-frontends 2013-04-12 19:55:18 -06:00
Gregory Nutt
ae9aa45835 Configure STM3210E-EVAL usbserial configuration to use kconfig-frontends tools 2013-04-12 09:21:51 -06:00
Gregory Nutt
ad2ebf1dd8 Convert olimex-lpc17stk configuration to use the kconfig-frontends tools; Fix some compile errors in the pl2303 USB device driver 2013-04-12 08:38:52 -06:00
Gregory Nutt
c05875e93a Zkit-arm-1769 board uses SSP0 to LCD and SPI to SD-Card 2013-04-10 07:31:22 -06:00
Gregory Nutt
f01b7e15c8 Fixes to the LM4F clock configuration. Errors in register handling caused everything to run at half speed 2013-04-09 17:27:13 -06:00
Gregory Nutt
5fb53f191a LPC1788 framebuffer LCD now works! From Rommel Marcelo 2013-04-08 18:35:51 -06:00
Gregory Nutt
141fb6a32b LPC17xx GPIO interrupt fixes: lpc17_setintedge() must be atomic. Can't disable interrupts from interrupt handlers because they are automatically re-enabled. Try re-configuring pin instead. 2013-04-07 13:46:05 -06:00
Gregory Nutt
1925e60dd1 fix LPC177x/8x GPIO debug instrumentation 2013-04-05 12:46:53 -06:00
patacongo
19d2d365a4 Separater LPC176x and LPC178x GPIO logic into separate files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5815 42af7a65-404d-4744-a932-0658087f49c3
2013-04-03 23:47:43 +00:00
patacongo
b99923d973 More naming changes associated with earlier renaming of LP17xx up_spiinitialize; LPC178x SSP support; Open1788 SSP and touchscreen support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5811 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 22:00:37 +00:00
patacongo
ff7a38605b LPC17xx: Hold off sleep mode while DMA is in progress. Open1788: Reverse sense of the IDLE LED
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5810 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 15:52:55 +00:00
patacongo
e185c5404a LPC17xx SPI and SSP initialization functions both called up_spiinitialize(); Changed to lpc17_spinitialize() and lpc17_sspinitialize().
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5809 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 15:02:22 +00:00
patacongo
83c4c55b12 Add support for CAN1 and CAN2 to zkit-arm-1769. From M. Kannan
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5808 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 14:10:54 +00:00
patacongo
0bfa1b75e2 Add support for STM32 F427/437 chips. From Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5807 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 13:43:31 +00:00
patacongo
7430e9b629 Open1788 SDCard DMA works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5805 42af7a65-404d-4744-a932-0658087f49c3
2013-03-31 21:11:29 +00:00
patacongo
bc247a45a0 FAT fixes for extending directory entries with long file names. From RonenV
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5802 42af7a65-404d-4744-a932-0658087f49c3
2013-03-31 13:06:22 +00:00
patacongo
49de19ed4b Completes coding of the LPC17 DMA driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5801 42af7a65-404d-4744-a932-0658087f49c3
2013-03-30 17:36:46 +00:00
patacongo
6b255474e3 Start LPC17 DMA support for SDCARD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5800 42af7a65-404d-4744-a932-0658087f49c3
2013-03-29 22:22:28 +00:00
patacongo
50546cb1a2 Add nxlines configuratin for the Open1788
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5795 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 18:29:22 +00:00
patacongo
fa1d47e4f0 Add apps/system/ramtest. I will use this for the LPC1788 SDRAM bringup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5791 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 00:03:25 +00:00
patacongo
ebf9960deb convert Kwikstik K40 configurations to use kconfig-frontends tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5784 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 17:33:41 +00:00
patacongo
2b55633338 Fix configured SRAM size for LM4F120 LaunchPad; add an NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5783 42af7a65-404d-4744-a932-0658087f49c3
2013-03-24 21:37:42 +00:00
patacongo
c568203ddc Fix LM4F120 LaunchPad serial output. Add support for all 7 LM4F120 UARTs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5782 42af7a65-404d-4744-a932-0658087f49c3
2013-03-24 20:40:40 +00:00
patacongo
fde971ed5d Add kernel build support for Stellaris, Kinetis, LPC43, and NUC1xx MCUs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5781 42af7a65-404d-4744-a932-0658087f49c3
2013-03-24 17:28:38 +00:00
patacongo
82b86f9c4a binfmt_execmodule() calls to sched_releasttcb() was not updated to use the second, thread type parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5779 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 19:06:40 +00:00
patacongo
a1344d8a44 Rework of kernel build signal dispatch to user-space handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5778 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 14:46:02 +00:00
patacongo
6c6df1208f Add a OS test kernel build configuration for the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5775 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 16:19:59 +00:00
patacongo
d7c53aa6e4 Add kernel build support to the STM32 family and to the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5774 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 14:49:21 +00:00
patacongo
ee885b45d8 Copy siginfo_t to step before calling a user-space signal handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5769 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 20:02:14 +00:00
patacongo
170952d6e8 Add a up_stack_frame() interface to allocate a frame of data on a task's stack.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5768 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 17:35:08 +00:00
patacongo
cce585e320 Fix syscall parameter passing for the case where the number of parameters is >4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5767 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 00:25:17 +00:00
patacongo
f58faf514e In the kernel build, allocate the stacks for kernel threads from the kernel heap so that they are protected from medddling by the applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5766 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 20:27:08 +00:00
patacongo
3bf2c1b355 Change prototypes of up_create_stack and up_release_stack to include a task type parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 18:22:21 +00:00
patacongo
d5d9fa89ab Fix a FAT error when trying to create file in a non-existent directory. Reported by Andrew Tridgell.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5764 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 15:26:50 +00:00
patacongo
6c2fb4405c Directories where the same source files are used to build different objects need to keep those objects in separate directories; LPC17xx updates from Chris Taglia
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5762 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 23:40:07 +00:00
patacongo
a5a4c35954 Add workaround for ADC errata from Chris Taglia
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5760 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 14:45:26 +00:00
patacongo
aaa240782b In KERNEL mode, need to explicitly set the privilege in the CONTROL register on return from exceptions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5757 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 00:16:27 +00:00
patacongo
854dbf19e5 Add support for ram vectors to the ARMv7-M architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5756 42af7a65-404d-4744-a932-0658087f49c3
2013-03-18 21:10:08 +00:00
patacongo
730dc3e202 Add missing implementation of O_NONBLOCK for serial writes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5755 42af7a65-404d-4744-a932-0658087f49c3
2013-03-18 16:04:29 +00:00
patacongo
1a67cb9e1e Fix for trailing %n bug in sscanf (with help from Lorenz Meier)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5754 42af7a65-404d-4744-a932-0658087f49c3
2013-03-18 00:41:42 +00:00
patacongo
3185d5492b LPC1788 SD Card driver updates from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5753 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 23:40:53 +00:00
patacongo
56ce985e7f Add support for nested system calls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5752 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 16:13:28 +00:00
patacongo
4ebca78ada There kernel-side signal handler trampoline needs to run in privileged mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5751 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 01:10:23 +00:00
patacongo
76d1ad21f2 Fix bad conditional logic in mkconfig.c; Add user-mode pthread start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5748 42af7a65-404d-4744-a932-0658087f49c3
2013-03-16 17:37:40 +00:00
patacongo
6239b70352 Prep for 6.26 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5745 42af7a65-404d-4744-a932-0658087f49c3
2013-03-15 18:07:34 +00:00