Commit Graph

1813 Commits

Author SHA1 Message Date
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
119de5ad71 Documentatin update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3686 42af7a65-404d-4744-a932-0658087f49c3
2011-06-09 00:02:24 +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
f31872ef24 Fix minimum MTU... must be at lest 576
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3674 42af7a65-404d-4744-a932-0658087f49c3
2011-06-06 15:06:08 +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
b772a58c60 atexit() functions now called when task killed by task delete; For MCUs with <= 64Kb of SRAM, CONFIG_MM_SMALL can be defined to reduce the memory allocation overhead
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3648 42af7a65-404d-4744-a932-0658087f49c3
2011-05-28 21:42:18 +00:00
patacongo
1387296b31 Add analog die header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3647 42af7a65-404d-4744-a932-0658087f49c3
2011-05-27 22:59:37 +00:00
patacongo
7c842a4e04 Add LPC3154 OTP header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3646 42af7a65-404d-4744-a932-0658087f49c3
2011-05-27 19:14:28 +00:00
patacongo
06912490c6 Adding LPC315x support to header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3645 42af7a65-404d-4744-a932-0658087f49c3
2011-05-27 17:57:34 +00:00
patacongo
d99cf8c015 Rename all lpc313x to lpc31xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3644 42af7a65-404d-4744-a932-0658087f49c3
2011-05-27 15:26:52 +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
086618bfa9 Fixes to PIC32 config words
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3641 42af7a65-404d-4744-a932-0658087f49c3
2011-05-23 18:13:03 +00:00
patacongo
6b540239d6 Add a tool to create proper nuttx.hex files for PICkit2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3640 42af7a65-404d-4744-a932-0658087f49c3
2011-05-22 21:10:51 +00:00
patacongo
dd49aabad6 Fix for clean PIC32 compile with DEBUG on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3639 42af7a65-404d-4744-a932-0658087f49c3
2011-05-22 17:56:57 +00:00
patacongo
56a4432633 Add E1000 PIC NIC driver from Yu Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3638 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 18:25:31 +00:00