Commit Graph

1994 Commits

Author SHA1 Message Date
Gregory Nutt
fae527deef The Kinetis GPIO logic had some of the same issues as did the Kinetis L 2013-05-06 11:49:28 -06:00
Gregory Nutt
7628d3aa57 Fixes LEDs on the Freedom KL25Z board 2013-05-06 11:07:53 -06:00
Gregory Nutt
f1298f03a1 Convert configs/pirelli_dpl10/nsh_highram to use the kconfig-frontends tools 2013-05-05 10:38:02 -06:00
Gregory Nutt
ca5641f2d7 Make Pirelli-DLP10 a true board configuration; Calypso no compiles without errors 2013-05-05 09:10:47 -06:00
Gregory Nutt
b934926bd2 Repartitioning of header files for Kinetis L 2013-05-02 09:24:36 -06:00
Gregory Nutt
0d1cf112cf Changes to remove some warning sduring compilation for ZKit-arm-1769 Board. 2013-05-02 06:28:59 -06:00
Gregory Nutt
1cf695cbec Freedom KL25Z pin mux'ing fixes from Alan Carvalho de Assis 2013-05-02 06:08:50 -06:00
Gregory Nutt
ba52f8d3ec Misc changes for clean built od mikroe-stm32f4 configurations 2013-05-01 09:21:13 -06:00
Gregory Nutt
fad8a2b555 LPC17: Interrupts not being re-enabled in the initialization function 2013-04-30 08:08:02 -06:00
Gregory Nutt
b630e6a153 Useless TIOCSERGSTRUCT logic in most serial drivers is not compiled unless CONFIG_DEBUG and CONFIG_SERIAL_TIOCSERGSTRUCT are defined 2013-04-25 15:52:48 -06:00
Gregory Nutt
86b815373a Remove up_assert_code 2013-04-25 15:19:59 -06:00
Gregory Nutt
e9a29d9465 KL15Z: Fix GPIO base addresses; remove GCR header file 2013-04-25 12:24:11 -06:00
Gregory Nutt
a7ea7dbee0 KL25Z typos: AIPS, not APS or AIP 2013-04-25 11:10:58 -06:00
Gregory Nutt
3d4ee6f061 KL25Z: No Ethernet, no SDHC. TPM instead of FTM 2013-04-25 10:35:18 -06:00
Gregory Nutt
2b411b516a KL25Z: Fix serial driver; freedom-kl25z/nsh configuration now works 2013-04-25 10:23:47 -06:00
Gregory Nutt
50d1a961bc KL25Z: Fix some memory mapp and register definitions; no UART3-5 2013-04-25 09:06:58 -06:00
Gregory Nutt
2e04ad2608 Fix KL25Z clock definitions in board.h 2013-04-24 18:29:26 -06:00
Gregory Nutt
7fe5a2b78d Minor Freedom-KL25Z updates 2013-04-24 16:46:38 -06:00
Gregory Nutt
69d3978837 Adding missing registration of /dev/zero; Condition registration of /dev/null. From Ken Petit 2013-04-24 07:17:49 -06:00
Gregory Nutt
a8e2ff3420 Correction to ARM RAM vectors logic from Paul Y. Zhang 2013-04-23 09:32:11 -06:00
Gregory Nutt
25270695ee LPC17xx ADC: Configure all ADC pins in the set, not just one. From MKannan 2013-04-23 08:47:21 -06:00
Gregory Nutt
b553609351 New Kconfig convention: Extra indentation in comments will render as HTML preformatted text 2013-04-22 09:10:58 -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
32dbe33498 Cosmetic updates 2013-04-18 11:38:51 -06:00
Gregory Nutt
02a9ce65c3 Fix typo in the STM32 F IRQ file -- from Paul Zhang 2013-04-17 20:27:43 -06:00
Gregory Nutt
a5f5bc72ba cosmetic change to kl_clockconfig 2013-04-17 20:25:33 -06:00
Gregory Nutt
313d1005a8 Fix Freedom KL25Z SysTick rate 2013-04-17 12:44:13 -06:00
Gregory Nutt
504b25ee2b Update authorship 2013-04-17 07:39:32 -06:00
Gregory Nutt
e709b43fb0 Addition cleanup after last switch from BASEPRI to PRIMASK for Cortex-M0 2013-04-16 18:29:01 -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
10394cb48e Fix KL25Z interrupt enable/disable logic 2013-04-16 14:54:08 -06:00
Gregory Nutt
8e5ae3886d Some clocking fixes for the Freedom KL25Z 2013-04-16 14:06:16 -06:00
Gregory Nutt
51debd1cf5 Misc changes for clean compilation of freedom-kl25z config 2013-04-16 09:53:15 -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
f0bcd23f9c Cosmetic renaming of LPC178x GPIO macros -- mostly from Rommel Marcelo 2013-04-12 17:48:50 -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
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
f8675d96b2 Back out the LPC1788 GPIO typemask logic that was just checked in. This is not necessary 2013-04-08 18:58:50 -06:00
Gregory Nutt
5fb53f191a LPC1788 framebuffer LCD now works! From Rommel Marcelo 2013-04-08 18:35:51 -06:00
Gregory Nutt
560c30892c Use default optimization of -Os for all ARMv6-M tools 2013-04-08 18:34:16 -06:00
Gregory Nutt
7bd3ffd3b5 Minor improvements to comments and debug output 2013-04-08 09:55:12 -06:00
Gregory Nutt
333b49f555 LPC178x SYSCON matrix definitions from Rommel Marcelo 2013-04-07 16:30:47 -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
a3906f2f72 cosmetic 2013-04-07 08:44:15 -06:00
Gregory Nutt
9f017b4979 Executable extension was being applied twice 2013-04-07 08:43:44 -06:00
Gregory Nutt
bd4a3a2847 LPC178x GPIO update from Rommel Marcelo 2013-04-07 08:43:08 -06:00
Gregory Nutt
f4692eb34e Fix heap size for the STM32 F427/F437 -- from Mike Smith 2013-04-06 14:30:15 -06:00
Gregory Nutt
c346e6d323 Fix LPC178x I2C mode GPIO configuration 2013-04-06 08:04:17 -06:00
Gregory Nutt
9bed2a5906 More updates to the LPC17x/18x GPIO driver from Rommel Marcelo 2013-04-05 18:22:31 -06:00
Gregory Nutt
1925e60dd1 fix LPC177x/8x GPIO debug instrumentation 2013-04-05 12:46:53 -06:00
Gregory Nutt
f66e89b8cf Redesign of the LPC178x GPIO logic by Rommel Marcelo 2013-04-05 07:58:30 -06:00
Gregory Nutt
e94faba7f5 Move LPC17xx IOCON register definitions from lpc17_gpio.h to lpc17_iocon.h; fix a few more .gitignore files 2013-04-04 18:12:44 -06:00
Gregory Nutt
db78b76102 Mostly updates and corrections to .gitignore files 2013-04-04 15:39:50 -06:00
Gregory Nutt
23db0682b7 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -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
1b3b5db765 Fix error in encoding LPC1788 interupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5814 42af7a65-404d-4744-a932-0658087f49c3
2013-04-03 20:08:23 +00:00
patacongo
e1daee1930 Several fixes for LPC1788 GPIO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5813 42af7a65-404d-4744-a932-0658087f49c3
2013-04-03 19:35:21 +00:00
patacongo
e1e8f4debe SSP driver fixes for the LPC178x; Fixes for Open1788 touchscreen driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5812 42af7a65-404d-4744-a932-0658087f49c3
2013-04-02 16:36:19 +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
70af8aa6a0 LPC1788 LCD fixes from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5806 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 13:10:14 +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
ee3c2a24dd Several fixes for open1788 SDCARD DMA (more files)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5804 42af7a65-404d-4744-a932-0658087f49c3
2013-03-31 18:15:19 +00:00
patacongo
27858becc2 Several fixes for open1788 SDCARD DMA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5803 42af7a65-404d-4744-a932-0658087f49c3
2013-03-31 18:13:19 +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
b793ec9c78 Fixes for LPC1788 compile when SDCARD DMA is enabled (still missing DMA logic)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5799 42af7a65-404d-4744-a932-0658087f49c3
2013-03-29 17:36:17 +00:00
patacongo
366a0e6986 In LPC1788 24-bit color mode, we need to tell NX that the resolution if 32 bpp; Add interfaces to control Open1788 backlight
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5798 42af7a65-404d-4744-a932-0658087f49c3
2013-03-28 17:12:11 +00:00
patacongo
0af8e9642a Missing parenthesis in NXGL code; add debug output to LPC1788 LCD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5797 42af7a65-404d-4744-a932-0658087f49c3
2013-03-28 15:04:01 +00:00
patacongo
8f5c161ba2 Misc fixes to get SDRAM support and RAM test to build for the Open1788 platform
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5793 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 14:28:43 +00:00
patacongo
edc4fd3f96 Patches for LPC17xx SSP driver from Chris Taglia; patch for RAM test from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5792 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 12:39:21 +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
2215873d8a Change the way that BPP is configured for the LPC17xx LCD so that all possible BPP options can be selected
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5790 42af7a65-404d-4744-a932-0658087f49c3
2013-03-26 22:34:15 +00:00
patacongo
8fb673e7ee Default 24bpp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5789 42af7a65-404d-4744-a932-0658087f49c3
2013-03-26 21:34:23 +00:00
patacongo
d9992b32c7 LPC17 LCD driver is code complete and in need of testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5788 42af7a65-404d-4744-a932-0658087f49c3
2013-03-26 20:06:53 +00:00
patacongo
c539bd5037 More lpc17xx LCD logic (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5787 42af7a65-404d-4744-a932-0658087f49c3
2013-03-26 18:18:50 +00:00
patacongo
b3637d57a2 Some initial LCD logic for the lpc1788 (still a work-in-progress)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5786 42af7a65-404d-4744-a932-0658087f49c3
2013-03-26 16:56:09 +00:00
patacongo
a60a090907 twr-k60n512 configurations converted to use the kconfig-frontends tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5785 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 18:18:04 +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
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
0b6910fe7c Fix an compilation error recently introduced into stm32_vectors.S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5780 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 23:06:51 +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
2a77c20228 A few fixes related to dispatched signals in kernel mode (there are still issues)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5777 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 21:59:05 +00:00
patacongo
eaee3fc423 Fix some errors in stm32_allocateheap.c for STM32 F1 and F3 that crept in recently
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5776 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 18:26:03 +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
a31d1f331b Corrections needed after further test of stack-based task arguments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5771 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 23:37:11 +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
7f8958d651 Fix various typos assocated with LM4F
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5763 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 03:39:17 +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
3c141dd850 If the PRIMASK is used to disable interrupts, then additional logic is required to handle hard faults in the kernel build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5761 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 16:11:23 +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
cb74c76617 More LPC1788 updates from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5759 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 13:33:00 +00:00
patacongo
c8e9fcbe69 Fields of vector offset table appear to vary with MCU
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5758 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 01:28:50 +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
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
b3890db5ce Add support for calling to and returning from signal handlers in in user-mode threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5750 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 00:40:49 +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
8bba3440a3 More MPU-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5746 42af7a65-404d-4744-a932-0658087f49c3
2013-03-16 00:34:43 +00:00
patacongo
5b98834f2f Fix more compile errors and warnings introduced in recent commits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5744 42af7a65-404d-4744-a932-0658087f49c3
2013-03-15 01:32:47 +00:00
patacongo
c5b85860ba Fix a compile error introduced in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5743 42af7a65-404d-4744-a932-0658087f49c3
2013-03-15 00:27:26 +00:00
patacongo
3e8bfb1fe1 Switch to user-mode before starting a new task
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5742 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 22:44:06 +00:00
patacongo
d960ca3b8d itoa() from Ryan Sundberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5741 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 18:30:06 +00:00
patacongo
d64396b44b Rename g_heapbase to g_idle_topstack; Fix kernel build heap allocation which cannot use g_heapbase
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5739 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 14:42:52 +00:00
patacongo
14298ad8b8 Fixe to kernel build and syscalls.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5738 42af7a65-404d-4744-a932-0658087f49c3
2013-03-13 17:32:37 +00:00
patacongo
93967f8b7f Fix some ARMv7-M syscall logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5736 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 21:53:18 +00:00
patacongo
e6c40405c4 More updates to MPU control logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5735 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 17:50:59 +00:00
patacongo
73ef58fda6 A few early fixes in kernel build testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5734 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 16:02:48 +00:00
patacongo
23c8c591e9 Updated LPC1788 SDCARD logic from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5733 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 00:19:30 +00:00
patacongo
1549b649a6 Reorganize some AT91SAM3U files; Add an NSH kernel build configuration to the WaveSahhare Open1788 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5732 42af7a65-404d-4744-a932-0658087f49c3
2013-03-11 20:26:55 +00:00
patacongo
00db9fae42 Add MPU support for the LPC17xx family
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5731 42af7a65-404d-4744-a932-0658087f49c3
2013-03-11 17:51:42 +00:00
patacongo
2b64d4742a Fix a typo that crept into lpc17_allocateheap.c in the recent kernel allocator changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5729 42af7a65-404d-4744-a932-0658087f49c3
2013-03-11 13:21:33 +00:00
patacongo
2433c1461b Remove user_map.h; replace with a header at the beginning of the user-space blob. User work queue no started by os_brinup() on behalf of the application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5727 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 23:42:49 +00:00
patacongo
18ca1965b6 AT91SAM3 now supports kernel-mode heap; SAM3U-EK knsh configuration converted to use kconfig-frontends tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5726 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 19:31:10 +00:00
patacongo
1ef904003e Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 15:32:33 +00:00
patacongo
1c52dce216 More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo
43d8762499 ZKIT-ARM-1769 support for ADC and DAC from Rashid
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5723 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 13:29:47 +00:00
patacongo
0db8dc83ee up_addregion should use kmm_addregion; move garbage kmm*.c file to mm/. for now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5721 42af7a65-404d-4744-a932-0658087f49c3
2013-03-08 22:01:50 +00:00
patacongo
45ce321f51 Move all memory manager globals to a structure. Pass structure pointer as a handler because MM APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5719 42af7a65-404d-4744-a932-0658087f49c3
2013-03-08 18:29:56 +00:00
patacongo
4b3ad32ee5 Fix network poll() issue: don't interrupt poll if socket not connected. Listen sockets are not connected and the poll() is waiting for connection events.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5717 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 17:59:21 +00:00
patacongo
f66f0c3d24 More kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5716 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 14:27:47 +00:00
patacongo
c74bef7053 More LPC1788 changes from Rommel Marcelo + a few kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5715 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 01:52:30 +00:00
patacongo
a9bb78df4e Correct some assembly language errors in the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5714 42af7a65-404d-4744-a932-0658087f49c3
2013-03-06 20:54:59 +00:00
patacongo
466efbd35c Fix some bad syscall dispatching log. This change is not testable until these is a tested NuttX kernel build.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5713 42af7a65-404d-4744-a932-0658087f49c3
2013-03-06 19:56:32 +00:00
patacongo
4134862fb2 Move work queue logic from sched/ to libc/wqueue. It is not core logic and will be extended to support user-space work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5711 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 18:57:51 +00:00
patacongo
e393fa648a Updates to the LPC1788 SDIO support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5709 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 15:37:50 +00:00
patacongo
6b95b83d47 Open1788 uses SDIO-based SD card (not SPI); clone STM32 SDIO interface to LPC17xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5708 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 14:46:04 +00:00
patacongo
88e169bcf4 Add LM4F120 pin configuration header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5705 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 00:31:43 +00:00
patacongo
9ee24b19de LPC1788 updates -- OS test configuration now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5704 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 18:00:07 +00:00
patacongo
0449f2f22e Bugs reported by Mike Smith fixed; ZKIT-ARM-1769 CAN support from Rashid Fatah
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5703 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 14:53:41 +00:00
patacongo
493102b322 Two fixes from Mike Smith: (1) use -m install of --mode in install commands, (2) fix typo in stm32_exti.h introduced with the STM32 F3 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5701 42af7a65-404d-4744-a932-0658087f49c3
2013-03-03 21:41:21 +00:00
patacongo
69939381a5 Add System Control register definitions for the LM4F120
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5700 42af7a65-404d-4744-a932-0658087f49c3
2013-03-03 21:31:28 +00:00
patacongo
fbdfc2d5ae Minor clean-up - Open1788 and LPC17xx serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5699 42af7a65-404d-4744-a932-0658087f49c3
2013-03-02 21:05:18 +00:00
patacongo
311d30655e Corrections for LPC178x UART baud calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5698 42af7a65-404d-4744-a932-0658087f49c3
2013-03-02 17:01:08 +00:00
patacongo
8be18c005a More lpc1788 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5697 42af7a65-404d-4744-a932-0658087f49c3
2013-03-02 14:23:17 +00:00
patacongo
309c3c2ff5 LPC1788 updates from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5696 42af7a65-404d-4744-a932-0658087f49c3
2013-03-02 00:59:28 +00:00
patacongo
9d0aa8b44f Handle LM4F GPIO -- fewer ports
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5695 42af7a65-404d-4744-a932-0658087f49c3
2013-03-02 00:11:43 +00:00
patacongo
03ed16b39f Fix to STM32 F2/F4 DMA driver from Yan T.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5694 42af7a65-404d-4744-a932-0658087f49c3
2013-03-01 22:15:44 +00:00
patacongo
d7df13c66a Add interrupt vector logic for the LM4F120
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5693 42af7a65-404d-4744-a932-0658087f49c3
2013-03-01 21:41:29 +00:00
patacongo
860a1e8a48 Add a configuration to begin development of an LM4F120 LaunchPad port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5692 42af7a65-404d-4744-a932-0658087f49c3
2013-03-01 19:10:02 +00:00
patacongo
7d20a67179 Fixes to STM32 SPI, USB MSC class driver, and MMC/SD SPI driver from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5688 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 17:34:57 +00:00
patacongo
d0f21192e0 STM32 OTF FS device patches from Petteri Aimonen (patches 0001-0003)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5687 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 16:53:16 +00:00
patacongo
be1b67a1a2 Add debug output when memory allocations fail
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5686 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 15:31:58 +00:00
patacongo
083d2054e7 Fix error in NUC120 SysTick source clock setting; switch to core clock as SysTick clock source
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5684 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 23:14:48 +00:00
patacongo
d621681866 Some NuTiny-SDK-NUC120 size reduction; All serial driver vtables should be static const
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5683 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 22:24:49 +00:00
patacongo
f239368efa The NuTiny-SDK-NUC120 basic port is complete and functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5682 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 20:34:57 +00:00
patacongo
753dfdba14 Correct some ARMv6-M NVIC addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5680 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 16:19:07 +00:00
patacongo
e6298a7a4c Fix NuTiny-SDK-NUC120 LEDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5679 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 15:16:46 +00:00
patacongo
ca83133f2b Add an NSH configuration for the NuTiny-SDK-NUC120. Still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5678 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 21:53:12 +00:00
patacongo
1f8a453878 Cortex-M0/NUC120 now passes OS test; calibration NuTiny-NUC120 delay loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5677 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 20:53:21 +00:00
patacongo
ab03a3f0fd Another Cortex-M0 fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5676 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 19:55:12 +00:00
patacongo
149f975109 More Cortex-M0 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5671 42af7a65-404d-4744-a932-0658087f49c3
2013-02-25 23:00:19 +00:00
patacongo
00f407ed39 More Cortex-M0/NUC120 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5670 42af7a65-404d-4744-a932-0658087f49c3
2013-02-25 18:36:25 +00:00
patacongo
491e03e420 More Cortex-M0/NUC120 progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5669 42af7a65-404d-4744-a932-0658087f49c3
2013-02-24 17:30:55 +00:00
patacongo
8d9d416f76 A few more NuTiny-SDK-NUC120 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5668 42af7a65-404d-4744-a932-0658087f49c3
2013-02-24 00:31:45 +00:00
patacongo
2c9d402ad4 A few NuTiny-SDK-NUC120 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5667 42af7a65-404d-4744-a932-0658087f49c3
2013-02-23 23:42:06 +00:00
patacongo
5515b31748 Fixes for NuTiny-NUC120 configuration and build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5666 42af7a65-404d-4744-a932-0658087f49c3
2013-02-23 15:04:49 +00:00
patacongo
350299f43b Buildroot now builds armv6-m toolchain; NuTiny configuration now uses buildroot toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5665 42af7a65-404d-4744-a932-0658087f49c3
2013-02-23 02:25:53 +00:00
patacongo
0b046f1136 Add NUC120 config FLASH definitions; documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5664 42af7a65-404d-4744-a932-0658087f49c3
2013-02-22 23:05:34 +00:00
patacongo
457df52cd3 Converted the EKK-LM3S9B96 configurations to use kconfig-frontend tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5663 42af7a65-404d-4744-a932-0658087f49c3
2013-02-22 21:24:11 +00:00
patacongo
e55a062be3 Changes for a clean NuvoTon NuTiny-SDK-NUC120 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5662 42af7a65-404d-4744-a932-0658087f49c3
2013-02-22 19:01:57 +00:00
patacongo
dbad14380b Finishes basic UART and serial console code for NUC120
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5661 42af7a65-404d-4744-a932-0658087f49c3
2013-02-22 17:53:47 +00:00
patacongo
0c948a5bf1 More LPC1788 updates from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5660 42af7a65-404d-4744-a932-0658087f49c3
2013-02-19 00:45:30 +00:00
patacongo
539e1a6799 More files for the Cortex-M0/NUC120 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5659 42af7a65-404d-4744-a932-0658087f49c3
2013-02-18 20:24:20 +00:00
patacongo
98f37596d8 LPC1788 updates from Rommel Marcelo; NUC120 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5658 42af7a65-404d-4744-a932-0658087f49c3
2013-02-17 23:53:44 +00:00
patacongo
8d21407872 Add NUC120 memory map
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5657 42af7a65-404d-4744-a932-0658087f49c3
2013-02-16 19:19:01 +00:00
patacongo
79fa90aa7c Add Nuvoton chip selection logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5656 42af7a65-404d-4744-a932-0658087f49c3
2013-02-16 18:13:12 +00:00
patacongo
d48a57e163 First cut at support for Cortex-M0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5655 42af7a65-404d-4744-a932-0658087f49c3
2013-02-16 16:32:19 +00:00
patacongo
255534f9bb LPC1788 PLL configuration from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5654 42af7a65-404d-4744-a932-0658087f49c3
2013-02-16 12:46:09 +00:00
patacongo
0e8e460780 More STM32 F4 USB patches from Petteri
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5653 42af7a65-404d-4744-a932-0658087f49c3
2013-02-15 19:48:53 +00:00
patacongo
d932e56dca STM32 F4 patches from Petteri Aimonen (mostly USB)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5652 42af7a65-404d-4744-a932-0658087f49c3
2013-02-15 14:37:37 +00:00
patacongo
35a73c2f2c Missing stdbool.h inclusion; fixes LPC17xx compile error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5651 42af7a65-404d-4744-a932-0658087f49c3
2013-02-13 17:29:28 +00:00
patacongo
23858176d6 A few more fixes for LPC1788 compilation (still more needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5650 42af7a65-404d-4744-a932-0658087f49c3
2013-02-13 15:59:10 +00:00
patacongo
b92f43793f A few fixes for LPC1788 compilation (more needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5649 42af7a65-404d-4744-a932-0658087f49c3
2013-02-13 15:19:47 +00:00
patacongo
c61fead107 LPC1788 header file updates from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5647 42af7a65-404d-4744-a932-0658087f49c3
2013-02-13 00:32:00 +00:00
patacongo
b93957d3b3 Add LED, button definition, and more EMC logic for the LPC1788
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5646 42af7a65-404d-4744-a932-0658087f49c3
2013-02-12 21:27:51 +00:00
patacongo
60d520dce0 Add LPC1788 EMC initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5645 42af7a65-404d-4744-a932-0658087f49c3
2013-02-12 18:44:41 +00:00
patacongo
45de5876d0 Add EMC register definitions for the LPC1788
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5644 42af7a65-404d-4744-a932-0658087f49c3
2013-02-12 16:28:33 +00:00
patacongo
6593c13962 Fix start-up of USB monitor in STM32F3Discovery configuration; Back out back checkin of STM32 F1/F3 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5641 42af7a65-404d-4744-a932-0658087f49c3
2013-02-12 00:25:27 +00:00
patacongo
69fd9e1415 Add a driver for the SST30VF NOR FLASH parts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5640 42af7a65-404d-4744-a932-0658087f49c3
2013-02-11 21:44:00 +00:00
patacongo
bd08bbfc25 Fix some errors in how STM32 USB F3 state was being handled. Fix is correct, but does not change behavior
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5639 42af7a65-404d-4744-a932-0658087f49c3
2013-02-11 14:31:37 +00:00
patacongo
19fcd020d7 Fixes to get USB working on STM32 F3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5638 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 23:31:11 +00:00
patacongo
57be52caf1 Minor fixes for STM32 F3 USB still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5637 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 22:34:13 +00:00
patacongo
8315fd7ce5 Add STM32 F3 I2C register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5636 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 20:35:34 +00:00
patacongo
059aa5135a Many STM32 header files updated for F3 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5635 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 19:07:13 +00:00
patacongo
5abde71611 Complete some missing logic for STM32 F3 DMA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5634 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 01:39:22 +00:00
patacongo
ad447766ff Fix a readline bug. If a NUL is received, it would return end-of-file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5633 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 00:46:27 +00:00
patacongo
319c9f7783 For STM32 F3, need to use ICR register to clear some U[S]ART interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5632 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 19:13:01 +00:00
patacongo
94676be7b4 Updates for STM32 F3 SPI and RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5631 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 16:39:59 +00:00
patacongo
3458ee74a4 Removed stm32_internal.h; Changes for clean compile of STM32F3Discovery configuration with SPI and USB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5630 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 15:03:49 +00:00
patacongo
26f6f91e03 Fixes to get STM32F3Discovery running
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5627 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 21:42:23 +00:00
patacongo
84471ee66b Add STM32 F3 USART definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5626 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 19:14:09 +00:00
patacongo
153984b9c9 Several patches from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5625 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 15:28:07 +00:00
patacongo
2df878981d More stm32f3discovery updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5624 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 14:42:18 +00:00
patacongo
426f8f0214 LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 00:17:54 +00:00
patacongo
2ec780a017 STM32F3Discovery port is complete, builds, and is ready for testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5622 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 22:11:40 +00:00
patacongo
21e8b6f9cf Fixes for STM32 F3 GPIO, pinmap, DMA, and heap allocation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5621 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 18:27:47 +00:00
patacongo
1d6f0cbbd3 Some fixes needed for STM32 build after recent scheduler changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5620 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 16:58:43 +00:00
patacongo
2996aaa874 Add STM32 F3 pinmap file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5619 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 16:03:38 +00:00
patacongo
6d332c2e1b More updates for the STM32F3Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5617 42af7a65-404d-4744-a932-0658087f49c3
2013-02-06 23:09:09 +00:00
patacongo
7672d51571 Beginnings of support for the STM32F3Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5616 42af7a65-404d-4744-a932-0658087f49c3
2013-02-06 22:30:57 +00:00
patacongo
b48009644f Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
2013-02-04 18:46:28 +00:00
patacongo
ad2cddb6e2 Updated LPC78x GPIO logic from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5606 42af7a65-404d-4744-a932-0658087f49c3
2013-02-03 19:22:48 +00:00
patacongo
4587760eee Additional patches from Petteri Aimonen for FAT, STM32 SPI, and AT25
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5593 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 15:32:39 +00:00
patacongo
1b94639432 Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo
bca9260b06 Missing calls to class SUSPEND/RESUME methods in all USB drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5590 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 19:20:26 +00:00
patacongo
d512869b62 With the last fixes to the STM32 OTG FS driver, the old poll hack no longer seems necessary
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5588 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 23:22:51 +00:00
patacongo
097f0e372e The STM32 F2/4 OTG FS device driver seems to be functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5587 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 22:25:25 +00:00
patacongo
7f13b6edaf LM4F update from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5586 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 18:48:13 +00:00
patacongo
51b20403c6 Add LM3S/4F family definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5585 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 16:44:26 +00:00
patacongo
ff98a2b830 Remove the g_iocon[] arrary
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5584 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 14:42:10 +00:00
patacongo
66ecae2f65 LPC1788 updated from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5583 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 13:24:45 +00:00
patacongo
ad430fc198 Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
6d6ca37571 Beginning of apps/system/usbmonitor (incomplete); more LM4F changes from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5577 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 18:45:09 +00:00
patacongo
328b6d41a0 Misc SYSLOG and STM32 serial fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5576 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 17:43:55 +00:00
patacongo
40717da192 Serial driver needed even when no console; Fix user LED settings in all STM32 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5575 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 15:03:17 +00:00
patacongo
a71843ef91 Move stream data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 22:25:21 +00:00
patacongo
ff293217de Move file data from TCB to task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5567 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 20:17:29 +00:00
patacongo
a59665cddc Fix poll/select issue reported by Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5559 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 19:19:38 +00:00
patacongo
eebf74006e Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5558 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:41:46 +00:00
patacongo
44c3becee8 Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:39:53 +00:00
patacongo
88ee088073 Add option to used keyboard CODEC in apps/examples/keypadtest
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5554 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 23:11:13 +00:00
patacongo
3736ae6ba9 Add logic to retain child task exit status if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 22:23:46 +00:00
patacongo
685d2dfebe Add single-wire UART support to STM32 serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5552 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 14:38:13 +00:00
patacongo
d613ee8501 Missed changed from last lpc1788 check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5551 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 00:19:46 +00:00
patacongo
8c8744ed8c Add lpc178x_iocon.h from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5550 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 23:54:31 +00:00
patacongo
21817ecc38 lpc1788 update from Rommel Marcelo; Beginning of logic to retain child exit status
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5549 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 23:42:51 +00:00
patacongo
be066e6fa6 Use of BASEPRI to control ARM interrupts is now functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5548 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 16:09:10 +00:00
patacongo
f0c357cd5a More logic to use BASEPRI to control interrupts -- still doesn't work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5547 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 14:37:17 +00:00
patacongo
b3ed93854b Add option to use BASEPRI instead of PRIMASK to disable interrupts in all ARMv7-M architectures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5546 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 01:25:40 +00:00
patacongo
621dfb4a5b Add configuration for Wave Share Open1788 (fragmentary)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5537 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 22:42:37 +00:00
patacongo
849cc03ccf Add vectors for the LPC1788 - from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5536 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 21:05:17 +00:00
patacongo
71d3e9d80c More LPC1788 register definitions from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5535 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 20:25:32 +00:00
patacongo
18f5e8b52c Refactor all lpc17xx header files (more like STM32 header file structure now)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5534 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 19:16:44 +00:00
patacongo
29cdbe6143 Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 16:37:37 +00:00
patacongo
457b768f43 STM32 I2C changes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5532 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 13:34:09 +00:00
patacongo
4a801e4904 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: svn://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
patacongo
8c3c7314a8 Implement vfork() for the MIPS32 architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5520 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 15:40:18 +00:00