Commit Graph

133 Commits

Author SHA1 Message Date
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
ad7f0bccc5 Fix SPI SD card detect logic; Fix AVR USB device interrupt initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3740 42af7a65-404d-4744-a932-0658087f49c3
2011-07-02 16:45:04 +00:00
patacongo
3a29986d80 Add termios header files; add files missed in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3739 42af7a65-404d-4744-a932-0658087f49c3
2011-07-01 22:23:54 +00:00
patacongo
9db7adaa53 Add support for accessing printf, sprintf, puts, etc. strings that do not lie in the MCU data space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3738 42af7a65-404d-4744-a932-0658087f49c3
2011-07-01 19:08:04 +00:00
patacongo
6db9446bfc AVR build warnings; minor USB fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3729 42af7a65-404d-4744-a932-0658087f49c3
2011-06-21 02:05:59 +00:00
patacongo
4a39202e8b Add a USB mass storage example for AVR
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3727 42af7a65-404d-4744-a932-0658087f49c3
2011-06-20 19:07:22 +00:00
patacongo
495a21cea4 Add an AVR USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3726 42af7a65-404d-4744-a932-0658087f49c3
2011-06-20 16:26:12 +00:00
patacongo
b1ff704c75 Preparing for AVR USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3725 42af7a65-404d-4744-a932-0658087f49c3
2011-06-20 02:35:20 +00:00
patacongo
0944879e67 Fix an error that caused interrupts to become disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3724 42af7a65-404d-4744-a932-0658087f49c3
2011-06-18 20:02:40 +00:00
patacongo
fffb51bf52 Update documents and comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3723 42af7a65-404d-4744-a932-0658087f49c3
2011-06-18 15:49:59 +00:00
patacongo
ae8963b19b Add logic to measure AVR stack usage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3722 42af7a65-404d-4744-a932-0658087f49c3
2011-06-18 13:22:36 +00:00
patacongo
370cbe8195 Fix AVR clock setup; add SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3721 42af7a65-404d-4744-a932-0658087f49c3
2011-06-17 22:03:20 +00:00
patacongo
bfe2a9555f Use USART TX state consistently
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3720 42af7a65-404d-4744-a932-0658087f49c3
2011-06-17 18:22:23 +00:00
patacongo
5981b3b9a5 AT90USB port is basically functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3715 42af7a65-404d-4744-a932-0658087f49c3
2011-06-16 19:34:48 +00:00
patacongo
ee394f026a Back out earlier change.. AVR vectors should be jmp not rjmp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3713 42af7a65-404d-4744-a932-0658087f49c3
2011-06-16 16:58:30 +00:00
patacongo
f500d4d3c9 Fix off-by-one stack pointer reference
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3712 42af7a65-404d-4744-a932-0658087f49c3
2011-06-16 15:29:27 +00:00
patacongo
5693a6dd57 Fix SRAM data position
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3711 42af7a65-404d-4744-a932-0658087f49c3
2011-06-16 14:28:18 +00:00
patacongo
a69feab58a Make room for the noinit section before the heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3710 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 23:54:25 +00:00
patacongo
b4518798da Fix another jmp vs rjmp in vector table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3709 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 22:47:30 +00:00
patacongo
19ef405bc1 Fix ATMega128 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3708 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 21:15:57 +00:00
patacongo
9fb2297aef AVR: Need to use rjmp, not jmp, in vector table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3707 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 20:43:32 +00:00
patacongo
363e6bd62a Need to control watchdog timer on AT90USB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3706 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 19:47:06 +00:00
patacongo
6af9d5b275 More corrections to AVR assembly macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3705 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 18:34:21 +00:00
patacongo
6b09d97765 Fix some AVR context save errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3704 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 17:23:48 +00:00
patacongo
c1a208af8b Fix AVR parity setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3703 42af7a65-404d-4744-a932-0658087f49c3
2011-06-15 16:09:23 +00:00
patacongo
6238656d33 Amber Web Server updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3702 42af7a65-404d-4744-a932-0658087f49c3
2011-06-13 17:51:17 +00:00
patacongo
33ed5a1877 Fix AVR uart bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3700 42af7a65-404d-4744-a932-0658087f49c3
2011-06-13 01:42:21 +00:00
patacongo
22e2c3dd6a Add hello configuratin for AVR
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3699 42af7a65-404d-4744-a932-0658087f49c3
2011-06-13 00:06:09 +00:00
patacongo
55cab11847 Finsh AVR serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3696 42af7a65-404d-4744-a932-0658087f49c3
2011-06-11 16:45:31 +00:00
patacongo
06d4bbe91d Add ATMega128 configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3695 42af7a65-404d-4744-a932-0658087f49c3
2011-06-11 14:53:56 +00:00
patacongo
53bb15dcee More serial driver stuff for AVR
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3694 42af7a65-404d-4744-a932-0658087f49c3
2011-06-11 01:40:25 +00:00
patacongo
9d3b5f848a Restructuring AVR serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3693 42af7a65-404d-4744-a932-0658087f49c3
2011-06-11 00:48:01 +00:00
patacongo
a126745bdc 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
a7baf23d22 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
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
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
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
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