Commit Graph

224 Commits

Author SHA1 Message Date
Gregory Nutt
7055bce8b4 Add ADDRENV support to ALL implementations of up_unblock_task() 2014-08-27 16:15:46 -06:00
Gregory Nutt
5bf114e604 Add ADDRENV support to all implementations of up_block_task() 2014-08-27 15:36:52 -06:00
Gregory Nutt
6455f60c60 Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures 2014-08-08 18:39:28 -06:00
Gregory Nutt
4dc151097e Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h 2014-08-08 17:53:55 -06:00
Gregory Nutt
c98ece6bec Move task control files from sched/ to sched/task 2014-08-08 16:44:08 -06:00
Gregory Nutt
1c99d53bb1 Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
Gregory Nutt
39183d37b8 Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors 2014-08-07 18:00:38 -06:00
Gregory Nutt
594083d870 Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined. 2014-08-06 16:26:01 -06:00
Gregory Nutt
bac1ab9a34 Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith 2014-05-20 17:48:39 -06:00
Gregory Nutt
af2bb81ac2 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
ae82fa65a6 Fix spelling, only one t in exiting 2014-04-27 15:49:38 -06:00
Gregory Nutt
25d4ff745b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
c708eff608 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
33d5d24964 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
66df3afd46 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
5b9f1f54c2 Add option to dump buffered USB trace data on an assertion 2014-03-20 10:56:30 -06:00
Gregory Nutt
892c86df3c configs/us7032evb1/ostest: Configuration converted to use the kconfig-frontends tools 2014-03-06 09:17:11 -06:00
Gregory Nutt
597c60a72d configs/skp16c26/ostest: Configuration converted to use the kconfig-frontends tools 2014-03-06 08:28:49 -06:00
Gregory Nutt
a26b03d0d0 rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
b8085906b9 Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane 2013-11-01 11:16:51 -06:00
Gregory Nutt
4aaee6fb3c Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
5693f4b8b0 Remove empty README.txt files 2013-08-31 13:17:04 -06:00
Gregory Nutt
2f772c84fd Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
8ff1402958 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
f0c36e422f Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files 2013-05-30 14:45:31 -06:00
Gregory Nutt
3aa94411be Remove up_assert_code 2013-04-25 15:19:59 -06:00
Gregory Nutt
91e6580aff Adding missing registration of /dev/zero; Condition registration of /dev/null. From Ken Petit 2013-04-24 07:17:49 -06:00
Gregory Nutt
65fec0683a _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
1694955188 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
e29d6479c9 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
c496b7aad9 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
a7b37da2d9 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
c86f502f2e 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
020cc2248e 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
c85fcaecdb 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
3dc5b1fa9f 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
e47c64204c 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
9207732f18 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
f84c45c220 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
bc69dc2c5a 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
b27ce2030e 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
b1aa82fcca 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
1b8979d24f 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
6cfe0a45e9 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
43659b5840 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
71a8d7d104 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
1a4baed866 Mostly costmetic updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5452 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 17:32:41 +00:00
patacongo
cd20adb63d Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00
patacongo
27aa26c2db Change how UARTs are enabled for i.MX, M16C, and ez80 to make them compatible with other chips
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5374 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 19:59:40 +00:00
patacongo
00d2b645e6 Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
756e84977b Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
7163ac74fa 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
856f320736 Simple window natives OS test build now works; Probabaly more to do for other configs; clean targets still have problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5355 42af7a65-404d-4744-a932-0658087f49c3
2012-11-14 20:59:36 +00:00
patacongo
0a8e570a3b More native build fixes -- still problems in apps/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5352 42af7a65-404d-4744-a932-0658087f49c3
2012-11-14 15:55:07 +00:00
patacongo
fbdc3246fd A few more build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5340 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 01:54:54 +00:00
patacongo
bf8f1e986c Correct some issues with last check-in; ez80 still does not build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
fac751de6b Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 15:42:12 +00:00
patacongo
31fcfae567 Remove bash fragments that test for board/Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5334 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 14:36:01 +00:00
patacongo
9b822f3086 arch/../src/Makefiles now use only libraries in lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5333 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 13:52:31 +00:00
patacongo
51793af904 Change = to += in setting of LDFLAGS in all architecture Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5311 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 21:04:30 +00:00
patacongo
5acf2fe3e1 Resync new repository with old repo r5166
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
3a262416d6 Remove executable property from source and make files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5146 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:46:10 +00:00
patacongo
36df84c843 Email address change in nuttx/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
4f469e6316 Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5118 42af7a65-404d-4744-a932-0658087f49c3
2012-09-09 15:43:18 +00:00
patacongo
432a33715c Remove some old logic in the arm, x86, hc, and sh linker scripts that was kicked off when CONFIG_BOOT_RUNFROMFLASH=y.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5117 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 19:13:29 +00:00
patacongo
40888af331 Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
faf4bad3f1 Change all values in all limits.h for all architectures to signed decimal; the hex values were not sign extending appropriate in most uses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4911 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 23:45:57 +00:00
patacongo
5804060da5 More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4628 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 22:54:31 +00:00
patacongo
8779fb2f5f More Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4625 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 21:23:10 +00:00
patacongo
3cd260900e More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4623 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 00:24:19 +00:00
patacongo
af842f28b9 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4616 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 15:45:33 +00:00
patacongo
8948524fd3 Include libgcc.a inside of the group of recursively linked libraries in all Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4573 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 13:03:26 +00:00
patacongo
3635befa76 Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
d79a3b09f4 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo
b365ff099e Change STM32 so that stm32_pmstop.c and stm32_pmstandby are built even if CONFIG_PM is not defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4502 42af7a65-404d-4744-a932-0658087f49c3
2012-03-22 14:07:45 +00:00
patacongo
b4852fca75 Move serial header files to include/nuttx/serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4500 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 19:47:23 +00:00
patacongo
bab4616a8d Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
a174bb35c7 Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4417 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 18:42:36 +00:00
patacongo
d2e05ac96f Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 20:27:49 +00:00
patacongo
8b9f3616cb Fix some typos and compilation errors introduced in the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4384 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 02:53:01 +00:00
patacongo
8595411e4a Add logic to re-direct debug output to a sysloggin device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 14:20:40 +00:00
patacongo
667290b144 Add logic so that a RAM log can be used in place of a console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4380 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 03:50:52 +00:00
patacongo
50138c565e Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 20:07:16 +00:00
patacongo
394d468661 Fix issue with multilib build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3926 42af7a65-404d-4744-a932-0658087f49c3
2011-08-30 12:49:24 +00:00
patacongo
625d8a33bd Add an 'export' target to the NuttX top-level Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3771 42af7a65-404d-4744-a932-0658087f49c3
2011-07-11 22:52:51 +00:00
patacongo
b2cc33b615 Add kernel mode hooks and reminders for other architectures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3484 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 18:42:26 +00:00
patacongo
7bb3b4c8a1 current_regs should be volatile; add support for nested interrupts; enable interrupts during syscall processing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3475 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 23:01:06 +00:00
patacongo
f37cd2e046 Remove user_initialize(); Make sure all integer types are signed that need to be
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 17:48:56 +00:00
patacongo
6191dc4d20 Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 20:41:49 +00:00
patacongo
6abb81797f Pass __KERNEL__ define (or not) to all makes to handle small differences in user-/kernel-builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3459 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 18:42:33 +00:00
patacongo
434a24d88f Stubs are working/Proxies are close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3451 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 21:36:17 +00:00
patacongo
167040b9e1 First cut at x86 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3336 42af7a65-404d-4744-a932-0658087f49c3
2011-03-04 22:25:03 +00:00
patacongo
13ac4eb82d Fix a signal trampoline bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3053 42af7a65-404d-4744-a932-0658087f49c3
2010-10-27 01:46:08 +00:00
patacongo
c5c7249061 Remove unused lpc17_usbinitialize()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2915 42af7a65-404d-4744-a932-0658087f49c3
2010-09-03 15:36:09 +00:00
patacongo
39c5565d0e Argument to up_udelay() should be type useconds_t
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2400 42af7a65-404d-4744-a932-0658087f49c3
2009-12-20 22:24:02 +00:00
patacongo
ea846fca33 M16C build with stdint.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2379 42af7a65-404d-4744-a932-0658087f49c3
2009-12-17 22:39:59 +00:00
patacongo
563c0601ab Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2361 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 20:59:06 +00:00
patacongo
2698550594 Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2357 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 16:05:08 +00:00
patacongo
65afaa684a Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2335 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 15:46:55 +00:00
patacongo
005ed42a22 Need limits of signed and unsigned pointer-sized integers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2334 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 13:48:27 +00:00