Commit Graph

109 Commits

Author SHA1 Message Date
patacongo
64142a1ea1 Clean up AVR timer setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3692 42af7a65-404d-4744-a932-0658087f49c3
2011-06-10 23:09:23 +00:00
patacongo
4321a2a272 Handle differences between AVR and AVR32 stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3690 42af7a65-404d-4744-a932-0658087f49c3
2011-06-09 21:40:21 +00:00
patacongo
cfe6ed9671 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
db4a213355 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
84f35843f2 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
9801377f7d 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
afbfd492af 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
7bd5768988 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
fef4ba3fcd 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
f7ead3cd72 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
56d4c4583a 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
b747fdbe76 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
417683a4a9 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
ea1594a398 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
33400b311d 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
a98febc6b2 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
1001d1f35e 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
bd12973b36 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
c0e7e4c2ff 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
0df702514b 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
b76ccc6361 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
e54aa41778 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
4d215e34ca 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
eca79de436 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
6c12d52e7a 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
a2ff9013bb 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
017ed0b582 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
2b04ad72ee 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
eeb7e5a294 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
780464c28d 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
e977b06239 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
ed36c6caff 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
d8d7e07913 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
0e2dce184a 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
aefdf9657f 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
aae7a25702 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
1f0b0d223e 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
c5da65f014 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
9945bf0356 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
c2ff2adeae 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
2ddd9aa263 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
30f2743926 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
baab0da46b 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
6bfb2c9270 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
6b9bd4758e 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
78a239b4e1 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
2e09e53c33 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
df54819b28 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
09ee213f4e 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
89916e830f 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