Commit Graph

379 Commits

Author SHA1 Message Date
Gregory Nutt
708c14b8be Add platform-specific interfaces needed to support the shared memory feature 2014-09-23 12:16:44 -06:00
Gregory Nutt
8050d9fe25 Initial integration of kernel stack (does not work) 2014-09-14 11:19:34 -06:00
Gregory Nutt
3d0f6aca5d Add the initial implementation of the process kernel stack logic. Not yet integrated into the main OS logic nor tested. 2014-09-14 09:53:54 -06:00
Gregory Nutt
6fd14f0e21 Rename everything associated with the dynamic process stack to ustack to make room in the name space for a kstack 2014-09-14 09:10:09 -06:00
Gregory Nutt
d288bdfe36 Update porting guide to include stack address environment functions 2014-09-13 14:31:41 -06:00
Gregory Nutt
c3c4c48d3e Add logic to initialize the per-process user heap when each user process is started 2014-09-10 15:55:36 -06:00
Gregory Nutt
2cecc4f857 There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing. 2014-09-01 15:39:34 -06:00
Gregory Nutt
83047cedb6 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt
953584777c Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
4d7b338178 Rename up_addrenv_assign() to up_addrenv_clone() and generalize its arguments so that can be used for other purposes 2014-08-26 12:16:05 -06:00
Gregory Nutt
3b1136cf2f Misc changed to get the SAMA5 ELF configuration with address environments working 2014-08-25 13:28:13 -06:00
Gregory Nutt
a641b354b7 addrenv interface changes: up_addrenv_create() may need to create .text and .bss/.data separately because of differing access privileges (read/execute vs read/write). And, as a consequence, up_addrenv_vaddr() needs to be split into up_addrenv_vtext(0 and up_addrenv_vdata(). 2014-08-24 11:54:14 -06:00
Gregory Nutt
0c9f651e62 Add addrenv.h; First cut at Cortex-A address environment structures; Add configuration options to setup address enviornment 2014-08-24 09:57:53 -06:00
Gregory Nutt
e86d5d4bcb Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support 2014-08-24 06:42:11 -06:00
Gregory Nutt
84d5334cd2 An address environment is the property of a task group, not of a thread 2014-08-22 12:32:34 -06:00
Gregory Nutt
f0afe30277 Add support for statically allocated watchdog timer structures 2014-08-22 08:46:34 -06:00
Gregory Nutt
6f51404469 wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide. 2014-08-21 11:16:55 -06:00
Gregory Nutt
3b2b2fb7d0 Tickless: If using an ALARM, then really should report time of expiration 2014-08-12 10:00:32 -06:00
Gregory Nutt
e8ac4d18d6 Define interfaces to use an alarm instead of an interval timer with the tickless option 2014-08-12 07:28:41 -06:00
Gregory Nutt
974d0dc92f Cosmetic 2014-08-10 16:09:45 -06:00
Gregory Nutt
9f76ac7f4a Fix errors in documentation and comments related to the Tickless OS. From Vijay Kumar 2014-08-09 06:41:38 -06:00
Gregory Nutt
cd9195c771 Minor documentation update 2014-08-08 11:29:17 -06:00
Gregory Nutt
8743a1772e Update porting guide 2014-08-08 09:17:25 -06:00
Gregory Nutt
baf2c2098e Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems 2014-08-07 13:42:47 -06:00
Gregory Nutt
208985b8b7 NET: Misc naming clean-up 2014-07-02 17:23:25 -06:00
Gregory Nutt
6fb9f5d4ae NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
baa668f56c Rename uip_driver_s net_driver_s 2014-06-27 16:48:12 -06:00
Gregory Nutt
a2e9779c27 Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h 2014-06-24 09:28:44 -06:00
Gregory Nutt
e8f6f93ab0 Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
Gregory Nutt
aaaf4f96b7 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
e74812260e Typo fixes to NuttX porting guide from Vijay Kumar 2014-03-18 07:41:16 -06:00
Gregory Nutt
083c2af576 Support for the older, manual configurations has been completely removed from the NuttX build system 2014-03-06 13:00:50 -06:00
Gregory Nutt
c820279548 Remove the unusable m68332evb configuration 2014-02-16 07:54:23 -06:00
Gregory Nutt
2d075f1546 Correct document date 2014-01-27 07:16:26 -06:00
Gregory Nutt
98b8e3dcef Improve documentation of naming conventions 2014-01-25 08:56:40 -06:00
Gregory Nutt
0eb222231e rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
58e3d09c96 Minor documentation updates and other cosmetic changes 2014-01-20 13:10:30 -06:00
Gregory Nutt
0b0d1b3f59 Remove all configuration variable documentation from configs/README.txt and Docuemntation/NuttXPortingGuidle.html. The current NuttX configuration is documented in Kconfig files and in Documentation/NuttXSonfigVariables.html. The older configuration variable documentation is not being maintained and, hence, is a liability 2013-12-20 18:25:36 -06:00
Gregory Nutt
a2a8768a2d Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
babb9b4308 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
135cfd8351 Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h 2013-11-15 11:22:23 -06:00
Gregory Nutt
fb993ca794 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
b6703a660c Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
066b940223 Add a new method to the USB host driver interface: getdevinfo. This method will return information about the currently connected device. At present, it only returns the device speed. The speed is needed by the enumeration logic in order to set a credible initial EP0 max packet size 2013-08-26 15:46:16 -06:00
Gregory Nutt
592863ce2b Separate wait() and enumerate() methods from struct usbhost_driver_s and move to new interface, struct usbhost_connection_s. This is part of the necessary restructuring of the USB host interface to support multiple root hub ports. 2013-08-13 15:03:46 -06:00
Gregory Nutt
92e9591952 First of several changes needed to support multiple USB host root hubs 2013-08-12 14:44:06 -06:00
Gregory Nutt
7258eaab49 Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
cf9861cc6e Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
ebcd80a92c SAM4S: Add macros to manage peripheral clocks 2013-06-11 15:42:30 -06:00
Gregory Nutt
bee032fc84 Add an optional byte-oriented write method to the MTD interface 2013-05-01 10:59:57 -06:00
Gregory Nutt
b219b37048 Remove up_assert_code 2013-04-25 15:19:59 -06:00
Gregory Nutt
3975faf911 Documentation now expects autogenerated configuration variable documenation at Documentation/NuttXConfigVariables.html 2013-04-22 16:46:15 -06:00
Gregory Nutt
f6678fc062 Fix comments, references to the old SVN, and links to the old SVN. Replace with equivalent GIT info 2013-04-19 18:35:06 -06:00
patacongo
831c8482cf 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
6602e6c180 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
d81b2e8828 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
7cf9041082 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
f6a88f0d75 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
db94a10f56 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
1bd587bb37 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
55c309f587 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
79ce472642 Use SIGCHLD with waitpid(); implemented wait() and waitid()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 18:53:00 +00:00
patacongo
d771538bc5 Fix a *critical* bug in the task exit logic. Implements SIGCHILD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
2013-01-12 19:58:45 +00:00
patacongo
fc53817aaf Rename LM3S files, variables, and types from lm3s_ to lm_; Rename configuration variables from CONFIG_LM3S_ to CONFIG_LM_
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5497 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 14:48:55 +00:00
patacongo
fccd51cdac Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5491 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 00:04:12 +00:00
patacongo
e47a801fd1 Correct some errors in the LPC17xx SYSCON register bit definitions (from Rommel Marcello)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5479 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 13:19:53 +00:00
patacongo
bff4d8ee60 Add tools/configure.c and configure.bat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5478 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 21:37:31 +00:00
patacongo
bf0e0a5151 Add support for key release events
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5464 42af7a65-404d-4744-a932-0658087f49c3
2012-12-27 14:01:59 +00:00
patacongo
cceff4e3bb Implement encoding the usbhost HID keyboard driver; configre olimex-lpc1766stk HID keyboard configuration to use the kconfig-frontends tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5461 42af7a65-404d-4744-a932-0658087f49c3
2012-12-26 18:54:59 +00:00
patacongo
b2afcd2b14 Incorporate address environment interfaces in binfmt/ logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5443 42af7a65-404d-4744-a932-0658087f49c3
2012-12-19 17:54:26 +00:00
patacongo
c25382c41b Restructre address environment interfaces in preparation for incorporation into binfmt/ logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5442 42af7a65-404d-4744-a932-0658087f49c3
2012-12-18 16:15:27 +00:00
patacongo
66ff566f2f Integrate PATH traversal logic and binary format logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5441 42af7a65-404d-4744-a932-0658087f49c3
2012-12-17 14:43:31 +00:00
patacongo
5e3ca97297 Add support for the Z180 MMU and generic hooks for processes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5428 42af7a65-404d-4744-a932-0658087f49c3
2012-12-11 18:04:04 +00:00
patacongo
e58df6672a Add tools/link.bat, unlink.bat, and copydir.bat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5419 42af7a65-404d-4744-a932-0658087f49c3
2012-12-08 16:37:43 +00:00
patacongo
f0614cb6b6 Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
aac006ebda move lib/ to libc/ to make room for a true lib/ directory. Rename libraries to match
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5328 42af7a65-404d-4744-a932-0658087f49c3
2012-11-10 15:47:45 +00:00
patacongo
6f1b104a8c Add documentation for the binary loader
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5278 42af7a65-404d-4744-a932-0658087f49c3
2012-10-30 14:32:52 +00:00
patacongo
3f9679d472 Update documentation to at least reference the ELF loader.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5276 42af7a65-404d-4744-a932-0658087f49c3
2012-10-29 21:18:51 +00:00
patacongo
9e0847e56b Part I of port of Rhombus math library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5269 42af7a65-404d-4744-a932-0658087f49c3
2012-10-28 14:31:57 +00:00
patacongo
b6a412518b Minor tweaks to memset
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5245 42af7a65-404d-4744-a932-0658087f49c3
2012-10-21 05:38:24 +00:00
patacongo
10ff47a699 Optimized memset() can be configured to do 64-bit stores
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5243 42af7a65-404d-4744-a932-0658087f49c3
2012-10-21 01:31:56 +00:00
patacongo
8595dd344a Add a versin of memset() optimized for speed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5242 42af7a65-404d-4744-a932-0658087f49c3
2012-10-21 00:41:44 +00:00
patacongo
a2b8f82b1f Update documentation for recently added configuration options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5241 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 21:42:19 +00:00
patacongo
93fdd141d3 Updates for new web site
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5221 42af7a65-404d-4744-a932-0658087f49c3
2012-10-08 18:12:53 +00:00
patacongo
906b527dec Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
2012-10-05 23:01:51 +00:00
patacongo
70386a1fa3 Upate some pathes for the new NuttX repository
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5156 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 19:33:42 +00:00
patacongo
5c8d7a9e4a Fix MMC/SD support for Wildfire board; Granule allocator can now be used from intrrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5134 42af7a65-404d-4744-a932-0658087f49c3
2012-09-12 15:18:56 +00:00
patacongo
495aab4704 Misc ENC28J60 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5132 42af7a65-404d-4744-a932-0658087f49c3
2012-09-12 00:12:18 +00:00
patacongo
3aec146b75 Update to granule allocator; Update to ENC28j60 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5130 42af7a65-404d-4744-a932-0658087f49c3
2012-09-11 20:33:58 +00:00
patacongo
893aeacbdb Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5128 42af7a65-404d-4744-a932-0658087f49c3
2012-09-11 16:50:16 +00:00
patacongo
703209c711 Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
e8307875d5 Remove several unused configuration values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5113 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 04:29:48 +00:00
patacongo
e26e61c95c Removed delay after receiving in recvfrom(). This was killing network performance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5107 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 16:51:53 +00:00
patacongo
a72d4f0cca Add support for multiple work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 00:54:09 +00:00
patacongo
a2aa09e9ab Documentation: nuttx.org no longer re-directs to nuttx.sourceforge.net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5078 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 18:37:38 +00:00
patacongo
1d28db3742 Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking?
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5074 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 00:26:37 +00:00
patacongo
19dbcea073 Add configurable application entry point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5070 42af7a65-404d-4744-a932-0658087f49c3
2012-08-30 20:13:50 +00:00
patacongo
0a5cb6db67 Ooops... forgot to add lib_perror.c to the Make.defs file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5062 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:43:42 +00:00
patacongo
17007aee76 Add perror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5061 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:01:14 +00:00
patacongo
1ebb6bd95a Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5060 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 14:40:12 +00:00