Commit Graph

107 Commits

Author SHA1 Message Date
patacongo
13c66cfd45 Fixes most integer overflows for AVR
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3689 42af7a65-404d-4744-a932-0658087f49c3
2011-06-09 21:21:29 +00:00
patacongo
f6dd22048a This finishes ALL AVR assembly language
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3685 42af7a65-404d-4744-a932-0658087f49c3
2011-06-08 23:30:39 +00:00
patacongo
6cb172c83a More logic for the AVR port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3684 42af7a65-404d-4744-a932-0658087f49c3
2011-06-08 21:10:47 +00:00
patacongo
5f7fd76ced More AVR context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3683 42af7a65-404d-4744-a932-0658087f49c3
2011-06-08 18:10:55 +00:00
patacongo
4747c28ac4 Add basic context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3682 42af7a65-404d-4744-a932-0658087f49c3
2011-06-08 16:22:50 +00:00
patacongo
30f688d1a9 First AVR compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3681 42af7a65-404d-4744-a932-0658087f49c3
2011-06-07 23:37:59 +00:00
patacongo
252dabc2d8 More AVR build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3680 42af7a65-404d-4744-a932-0658087f49c3
2011-06-07 23:02:34 +00:00
patacongo
b80d72379f Setting up AVR build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3679 42af7a65-404d-4744-a932-0658087f49c3
2011-06-07 21:09:02 +00:00
patacongo
ce761cd85a Add AT90USB configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3678 42af7a65-404d-4744-a932-0658087f49c3
2011-06-07 19:06:07 +00:00
patacongo
284baee1bc Add AT90USB support and AVR vector/startup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3677 42af7a65-404d-4744-a932-0658087f49c3
2011-06-07 17:15:56 +00:00
patacongo
2652e540a5 Add directory structure for AVR and ATMEGA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3651 42af7a65-404d-4744-a932-0658087f49c3
2011-05-31 13:41:11 +00:00
patacongo
2ebb6cbf4a Add resource.h and fixed frequently cloned typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3642 42af7a65-404d-4744-a932-0658087f49c3
2011-05-24 19:11:47 +00:00
patacongo
f43fd81b77 Add directory structure to support PIC32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3579 42af7a65-404d-4744-a932-0658087f49c3
2011-05-08 21:38:47 +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
f8a04d03eb Fix AVR build, Add hooks for kernel threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3477 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 01:54:59 +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
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
bb742a9123 Add basic syscall logic for i486 and AVR32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3437 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 00:50:16 +00:00
patacongo
8627074067 Add more syscall files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3436 42af7a65-404d-4744-a932-0658087f49c3
2011-03-29 12:35:11 +00:00
patacongo
0ee42c3f9e Moving toward system call infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3435 42af7a65-404d-4744-a932-0658087f49c3
2011-03-29 00:07:02 +00:00
patacongo
2706bfe910 Progress debugging serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3078 42af7a65-404d-4744-a932-0658087f49c3
2010-11-06 02:42:59 +00:00
patacongo
42987a722b Fix console init link probllem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3076 42af7a65-404d-4744-a932-0658087f49c3
2010-11-05 04:38:39 +00:00
patacongo
4cab5340c3 The AVR32 port now passes the OS test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3075 42af7a65-404d-4744-a932-0658087f49c3
2010-11-05 03:48:09 +00:00
patacongo
3b9b5bc96e Fix excepion handling reg save
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3074 42af7a65-404d-4744-a932-0658087f49c3
2010-11-05 02:18:32 +00:00
patacongo
45091e25c4 Update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3073 42af7a65-404d-4744-a932-0658087f49c3
2010-11-05 00:29:37 +00:00
patacongo
fd96300d6e Add NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3072 42af7a65-404d-4744-a932-0658087f49c3
2010-11-03 02:01:40 +00:00
patacongo
936503d7ad Fixes timer interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3071 42af7a65-404d-4744-a932-0658087f49c3
2010-11-03 00:38:55 +00:00
patacongo
6567485d72 Need to wait not busy in another place
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3070 42af7a65-404d-4744-a932-0658087f49c3
2010-11-02 12:32:32 +00:00
patacongo
9803b730d5 It took me a long time to figure out that the board has no 32KHz crystal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3069 42af7a65-404d-4744-a932-0658087f49c3
2010-11-02 03:30:11 +00:00
patacongo
a976805607 Missing quote
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3068 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 22:46:33 +00:00
patacongo
5da57dab15 comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3067 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 18:03:48 +00:00
patacongo
d3dbe55c2b Some context switch fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3066 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 17:08:05 +00:00
patacongo
2d698d3743 Fix heap allocation and RTC not-busy wait
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3065 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 15:56:47 +00:00
patacongo
e1d6704c7b Basic serial console now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3064 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 14:06:59 +00:00
patacongo
5f8e00ca3d Debug typo fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3063 42af7a65-404d-4744-a932-0658087f49c3
2010-10-31 01:10:24 +00:00
patacongo
38c22bb6e1 Fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3062 42af7a65-404d-4744-a932-0658087f49c3
2010-10-30 19:17:40 +00:00
patacongo
b035880b08 Early debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3061 42af7a65-404d-4744-a932-0658087f49c3
2010-10-30 18:25:10 +00:00
patacongo
7fd92b81be Fix big-time naming error -- what was I thinking?
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3058 42af7a65-404d-4744-a932-0658087f49c3
2010-10-30 00:40:53 +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
a7840b28c0 Finish clocking logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3040 42af7a65-404d-4744-a932-0658087f49c3
2010-10-18 21:57:10 +00:00
patacongo
5f97fe706b Fix compile errors with debug enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3039 42af7a65-404d-4744-a932-0658087f49c3
2010-10-18 16:14:31 +00:00
patacongo
da6e0739d9 Completes USB definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3036 42af7a65-404d-4744-a932-0658087f49c3
2010-10-18 15:13:31 +00:00
patacongo
aac576aa71 More USB definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3035 42af7a65-404d-4744-a932-0658087f49c3
2010-10-18 14:04:00 +00:00
patacongo
38eacc2b37 More USB definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3034 42af7a65-404d-4744-a932-0658087f49c3
2010-10-17 23:35:55 +00:00
patacongo
ee6d9b03e8 More USB definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3033 42af7a65-404d-4744-a932-0658087f49c3
2010-10-17 19:44:54 +00:00
patacongo
35b52a732b More USB register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3032 42af7a65-404d-4744-a932-0658087f49c3
2010-10-17 18:54:44 +00:00
patacongo
2ad6016740 Make irq init function a weak function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3031 42af7a65-404d-4744-a932-0658087f49c3
2010-10-17 17:41:28 +00:00
patacongo
0f3b3773e1 Add button logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3030 42af7a65-404d-4744-a932-0658087f49c3
2010-10-17 17:38:40 +00:00
patacongo
eaa1bb8a1e Add LED logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3027 42af7a65-404d-4744-a932-0658087f49c3
2010-10-17 00:42:01 +00:00