Commit Graph

5379 Commits

Author SHA1 Message Date
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 feca2c077e With these fixes, the kernel build is basically functional (but there is more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5722 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 01:27:42 +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 017e07d35d Add support for multiple heaps
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5720 42af7a65-404d-4744-a932-0658087f49c3
2013-03-08 20:36:18 +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 8a774a1712 Fix a whole in the logic from the previous check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5718 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 18:43:03 +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 6feabf0fee Implement user-mode work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5712 42af7a65-404d-4744-a932-0658087f49c3
2013-03-06 00:02:07 +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 75e9291077 File missed in commit r5709
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5710 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 15:43:18 +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 95af0bc8bf Updated Open1788 calibration; More compilation fixes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5707 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 13:20:26 +00:00
patacongo b5ec8fbd44 Enable LEDs in all Open1788 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5706 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 01:26:02 +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 36299b338f Fix for compilation issues reported by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5702 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 00:00:19 +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 1920f18cc1 Add handler for bad_function_call. Petteri Aimonen patch 0015
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5691 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 19:26:17 +00:00
patacongo 59d3cbfe2e NxWidgets/NxWM updates from Petteri Aimonen (Patches 0007-0013)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5689 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 18:48:11 +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 268167a26e Add NSH configuration for the zkit-arm-1769 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5685 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 14:11:08 +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 75a1f693d1 MIPS stack alignment fix for floating point from Helmut
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5681 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 16:31:03 +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 64235de94a Add a THTTPD configuratin for zkit-arm-1769
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5675 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 16:28:30 +00:00