Commit Graph

142 Commits

Author SHA1 Message Date
Gregory Nutt
9db4b4ca7e Rename board_led_initialize to board_autoled_initiaize 2015-11-01 09:01:59 -06:00
Gregory Nutt
4f2119b3f4 STR7: Correct some spacing issues 2015-10-07 14:22:01 -06:00
Gregory Nutt
7a63e976ad Remove TABs 2015-10-04 16:00:42 -06:00
Gregory Nutt
6fc6d17760 Fix some spacing problems 2015-10-04 14:59:08 -06:00
Gregory Nutt
36726b1bc4 Standardize the width of all comment boxes in header files 2015-10-02 17:42:29 -06:00
Gregory Nutt
2913aac866 Eliminate warnings 2015-09-08 10:20:41 -06:00
Paul A. Patience
a0dc724a5d Correct #if to #ifdef when the macro can be undefined. Fix bug in AT32UC3 clock initialization: AVR32_CLOCK_PLL_OSC1 should be AVR32_CLOCK_PLL0_OSC1 and AVR32_CLOCK_PLL1_OSC1. 2015-09-01 13:47:06 -04:00
Gregory Nutt
fb926e7283 Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt
c07a9632cc Clean up and review of header files for conformance to standards 2015-06-12 19:17:42 -06:00
Gregory Nutt
d77a19f0a2 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt
ae15c6963c Make some file section headers more consistent with standard 2015-04-08 08:04:12 -06:00
Gregory Nutt
429863f348 arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions 2015-02-27 17:19:38 -06:00
Gregory Nutt
f0d318c124 Big, very risky change: Remove all occurrences of up_maskack_irq() that disable and enable interrupts with up_ack_irq() that only acknowledges the interrupts. This is only used in interrupt decoding logic. Also remove the logic that unconditionally re-enables interrupts with the interrupt exits. This interferes with the drivers ability to control the interrupt state. This is a necessary, sweeping, global change and unfortunately impossible to test. 2015-02-09 16:12:11 -06:00
Gregory Nutt
30b141e2c8 Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless 2015-01-24 06:49:51 -06:00
Gregory Nutt
e8f266001d Add CONFIG_STACK_COLORATION that does the same thing as CONFIG_DEBUG_STACK but without enabling debug. From David Sidrane 2015-01-24 06:03:39 -06:00
Gregory Nutt
2c1f018e85 More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. 2014-11-25 13:15:09 -06:00
Gregory Nutt
db9901e2f9 Update everything under nuttx/arch to use the corrected syslog interfaces 2014-10-08 12:48:47 -06:00
Gregory Nutt
31b8137956 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
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
1c99d53bb1 Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -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
25d4ff745b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
82c9694c5b All ARM Make.defs files should build up_checkstack.c if DEBUG_STACK is enabled 2014-03-23 10:07:52 -06:00
Gregory Nutt
216859842a configs/olimex-strp711/nettest: Converted to use kconfig-frontends tools 2014-03-03 10:52:02 -06:00
Gregory Nutt
b3792fcd86 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
a26b03d0d0 rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
d01808c603 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
cb3f394d53 Improve some ARMv7-A/M floating point register save time; Add floating point register save logic for ARMv7-A 2013-07-23 17:52:06 -06:00
Gregory Nutt
dd556fbded 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
3aa94411be Remove up_assert_code 2013-04-25 15:19:59 -06: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
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
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
a8dd4ebde0 This initial vfork() check-in was a little pollyanna-ish
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5487 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 19:35:47 +00:00
patacongo
6e428b0924 Implement a simple vfork(). ARM only for now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5486 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 15:20:21 +00:00
patacongo
ecca51d044 ARM and ARMv7-M ELF support; STM32F4Discovery ELF loader test configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5264 42af7a65-404d-4744-a932-0658087f49c3
2012-10-26 19:53:20 +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
fbaeb32b0f More configuration files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4588 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 02:04:59 +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
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
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
e8baad01bd More debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2649 42af7a65-404d-4744-a932-0658087f49c3
2010-05-03 03:46:21 +00:00
patacongo
ee2303e970 XTI interrupt enable/disable logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2647 42af7a65-404d-4744-a932-0658087f49c3
2010-05-03 00:29:13 +00:00
patacongo
465f3284a9 Fix pending interrupt clear logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2646 42af7a65-404d-4744-a932-0658087f49c3
2010-05-02 22:15:32 +00:00
patacongo
366c4b78ea Add XTI support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2645 42af7a65-404d-4744-a932-0658087f49c3
2010-05-02 21:58:00 +00:00
patacongo
688f37574e Fixes for recent header file reorganization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2451 42af7a65-404d-4744-a932-0658087f49c3
2009-12-28 23:54:11 +00:00
patacongo
265e49fc38 Fixes for recent header file reorganization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2450 42af7a65-404d-4744-a932-0658087f49c3
2009-12-28 23:35:21 +00:00
patacongo
c23f8334c8 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@2359 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 20:05:51 +00:00
patacongo
33a6b7807e Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
patacongo
85df93d997 misc updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1869 42af7a65-404d-4744-a932-0658087f49c3
2009-06-10 12:27:44 +00:00
patacongo
8ee33e36cc Backout cool but useless lost interrupt logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1867 42af7a65-404d-4744-a932-0658087f49c3
2009-06-09 00:17:32 +00:00
patacongo
4d9cb196c3 USB updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1866 42af7a65-404d-4744-a932-0658087f49c3
2009-06-09 00:09:34 +00:00
patacongo
6afe1a4873 Back out lost interrupt kludge
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1863 42af7a65-404d-4744-a932-0658087f49c3
2009-06-08 14:42:42 +00:00
patacongo
c15f971c67 Move board specific files from examples/nsh to board source directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1861 42af7a65-404d-4744-a932-0658087f49c3
2009-06-08 13:24:26 +00:00
patacongo
696571a749 Drastic measures to work around missed interrupts -- must be a better way
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1860 42af7a65-404d-4744-a932-0658087f49c3
2009-06-07 15:48:01 +00:00
patacongo
275e43aba2 More STR7x serial changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1859 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 18:30:58 +00:00
patacongo
540ab99c57 More UART GPIO pin/interrupt fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1858 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 16:01:38 +00:00
patacongo
75a1c1b2f3 Add logic to avoid spurious interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1857 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 14:12:50 +00:00
patacongo
9a01d358b8 Fix UART pin configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1856 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 14:05:23 +00:00
patacongo
d381777660 back out assertion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1855 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 01:58:43 +00:00
patacongo
aff991ef70 Need to set UART interrupt priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1854 42af7a65-404d-4744-a932-0658087f49c3
2009-06-06 01:54:11 +00:00
patacongo
f5784bcd66 Fixes to SPI header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1853 42af7a65-404d-4744-a932-0658087f49c3
2009-06-05 21:45:42 +00:00
patacongo
2dc845eba6 Fix compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1851 42af7a65-404d-4744-a932-0658087f49c3
2009-06-05 14:46:11 +00:00
patacongo
a66e4faf0b Timer interrupts work; examples/ostest passes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1849 42af7a65-404d-4744-a932-0658087f49c3
2009-06-05 01:42:15 +00:00
patacongo
1abc828bc9 Remove RUNFROMFLASH option from str-p711
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1845 42af7a65-404d-4744-a932-0658087f49c3
2009-06-01 20:50:50 +00:00
patacongo
d8653d9584 Fix UART configuration issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1843 42af7a65-404d-4744-a932-0658087f49c3
2009-06-01 19:29:14 +00:00
patacongo
35d3c22576 Make sure all ARM targets still compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1798 42af7a65-404d-4744-a932-0658087f49c3
2009-05-19 18:46:14 +00:00
patacongo
2be531b092 Debug Cortex-M3 interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1787 42af7a65-404d-4744-a932-0658087f49c3
2009-05-17 17:18:19 +00:00
patacongo
16b0f03dc6 First cut at lm3s6918 serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1772 42af7a65-404d-4744-a932-0658087f49c3
2009-05-12 15:43:16 +00:00
patacongo
94c66ad0eb Fix some UART initialization problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1771 42af7a65-404d-4744-a932-0658087f49c3
2009-05-12 13:01:01 +00:00
patacongo
a4fd9ce320 Add low-level console support for LM3S3918
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1770 42af7a65-404d-4744-a932-0658087f49c3
2009-05-11 22:54:50 +00:00
patacongo
29efc4726f Add option to copy to RAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1689 42af7a65-404d-4744-a932-0658087f49c3
2009-04-08 23:24:59 +00:00
patacongo
17520520af Change configuration name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1226 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:37:02 +00:00
patacongo
8e0de5260d reconcile architectures w/o interrupt controllers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1153 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 16:59:36 +00:00
patacongo
0a5d9e9262 Handle no console case
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1151 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 16:27:50 +00:00
patacongo
99753e79a3 Add some GPIO usage checks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1127 42af7a65-404d-4744-a932-0658087f49c3
2008-11-04 16:39:35 +00:00
patacongo
5406a5af2e cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1123 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 22:25:58 +00:00
patacongo
56816aea31 Use correct header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1121 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 19:39:21 +00:00
patacongo
c178c665af Move handle clock macros into a header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1120 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 19:37:20 +00:00
patacongo
d2be86e556 Added ST71x system timer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1115 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 16:12:09 +00:00
patacongo
83a257bf56 Clean up compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1114 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 14:01:05 +00:00
patacongo
f87abe4e79 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1112 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 23:28:58 +00:00
patacongo
b2da9953de Add interrupt enable logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1111 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 23:28:12 +00:00
patacongo
e97446cd54 Add STR71x serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1110 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 22:39:11 +00:00
patacongo
07dbb2ef5f Board should specify multipliers, not bit settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1109 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 22:38:28 +00:00
patacongo
ea6c6df2fc Add logic to initialize clocks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1108 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 18:35:06 +00:00
patacongo
1f3e7e49b5 Adding more STR71x logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1105 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 23:35:19 +00:00
patacongo
a34977fd0c Add configuration of Olimex-STR-P711
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1103 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 00:23:38 +00:00