Commit Graph

1316 Commits

Author SHA1 Message Date
patacongo
9667566a3a update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3181 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 12:09:57 +00:00
patacongo
96e143f568 Need to set global power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3180 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 04:20:55 +00:00
patacongo
ebccf53570 Add start of USB host controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3176 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 02:03:21 +00:00
patacongo
5c1b9f0cd5 Create include/nuttx/usb directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3170 42af7a65-404d-4744-a932-0658087f49c3
2010-12-14 03:33:39 +00:00
patacongo
950f02ef11 LCD bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3166 42af7a65-404d-4744-a932-0658087f49c3
2010-12-07 03:06:19 +00:00
patacongo
2971ed66c0 Add NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3165 42af7a65-404d-4744-a932-0658087f49c3
2010-12-06 05:15:14 +00:00
patacongo
8be8139d19 USB class drivers need to call DEV_CONNECT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3159 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 17:35:19 +00:00
patacongo
59d25457d1 P14201 driver now uses new SPI cmddata method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3158 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 01:56:50 +00:00
patacongo
45434cd49d Add cmddata method to the SPI interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3157 42af7a65-404d-4744-a932-0658087f49c3
2010-12-03 01:37:56 +00:00
patacongo
8ffd2fe4ef Fix dma-related register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3152 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 22:31:28 +00:00
patacongo
b9437abff4 Back out last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3151 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 21:20:21 +00:00
patacongo
a92f128b34 Minor usb-related
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3150 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 19:35:24 +00:00
patacongo
8822ca3aba Misc USB fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3149 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 16:52:07 +00:00
patacongo
42c9324644 Debuggin SPI-based MicroSD card
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3147 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 01:55:22 +00:00
patacongo
5ce035e199 Enable network and SD/MMC card support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3145 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 17:26:08 +00:00
patacongo
dcf1a752c4 Make size of LPC1766 EMAC RAM configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3142 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 13:37:41 +00:00
patacongo
e3d544b780 Files needed to make LPC17xx EMAC RAM more configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3141 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 01:04:11 +00:00
patacongo
c4482055d2 uip_arp_ipin needs a struct uip_driver_s as an input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3132 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 20:55:46 +00:00
patacongo
2978ada510 Enable Broadcast RX unconditionally
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3127 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 02:44:23 +00:00
patacongo
f56992821c Misc receive improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3125 42af7a65-404d-4744-a932-0658087f49c3
2010-11-24 01:47:22 +00:00
patacongo
82519b509d Now get RX message
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3124 42af7a65-404d-4744-a932-0658087f49c3
2010-11-24 00:43:08 +00:00
patacongo
02cd4e9afc expand a comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3123 42af7a65-404d-4744-a932-0658087f49c3
2010-11-21 15:48:25 +00:00
patacongo
7a8f6fd6fd Fix final PHY configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3122 42af7a65-404d-4744-a932-0658087f49c3
2010-11-21 14:49:48 +00:00
patacongo
753e871807 Dumping wrong GPIO regs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3121 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 19:18:59 +00:00
patacongo
9dbc296256 Fixed debug logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3120 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 18:32:37 +00:00
patacongo
a031ddc39f Fix Cortex-M3 nested interrupt hard fault
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3119 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 00:39:29 +00:00
patacongo
8c0e236c6f Add logic to clear pending EMAC interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3118 42af7a65-404d-4744-a932-0658087f49c3
2010-11-18 01:36:04 +00:00
patacongo
26687ad87f misc updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3116 42af7a65-404d-4744-a932-0658087f49c3
2010-11-17 03:16:26 +00:00
patacongo
b003840d5d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3115 42af7a65-404d-4744-a932-0658087f49c3
2010-11-16 03:48:55 +00:00
patacongo
cb9ded19c7 Initial debug fixes for LPC1766 ethernet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3114 42af7a65-404d-4744-a932-0658087f49c3
2010-11-16 02:50:52 +00:00
patacongo
c43ead1a49 Fix bugs/typos from code review
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3113 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 22:58:48 +00:00
patacongo
72a5fdfdd9 Fix some cloning errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3112 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 21:12:59 +00:00
patacongo
99e6693dc4 Fix compile errors with debug on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3111 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 02:25:06 +00:00
patacongo
3bbbecd347 Clean-up and document LP17xx ethernet driver configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3109 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 17:33:45 +00:00
patacongo
06ab352a16 Finishes first cut of lpc17xx Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3108 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 15:32:48 +00:00
patacongo
5c508e5f15 Add Rx logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3107 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 14:33:47 +00:00
patacongo
22d47d2263 Add ethernet interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3106 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 19:31:01 +00:00
patacongo
ab6ca23572 Finish Ethernet initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3105 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 18:35:30 +00:00
patacongo
1f423c1c68 Add tx/rx descriptor initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3104 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 17:55:38 +00:00
patacongo
e5e5d8f404 ifup() is partially complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3103 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 03:53:14 +00:00
patacongo
451bfc3f93 mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3102 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 23:15:30 +00:00
patacongo
a63db19e0e Tinkering with PHY init
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3101 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 05:48:28 +00:00
patacongo
c4d8a83238 Add PHY init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3100 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 04:21:23 +00:00
patacongo
2736f2b650 minor fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3096 42af7a65-404d-4744-a932-0658087f49c3
2010-11-11 11:33:21 +00:00
patacongo
52030ca3d5 Add nettest and begining of lpc17xx ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3095 42af7a65-404d-4744-a932-0658087f49c3
2010-11-11 02:19:40 +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
2a02450c46 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3057 42af7a65-404d-4744-a932-0658087f49c3
2010-10-29 22:56:00 +00:00
patacongo
2442dafe60 Add skeleton for LPC17xx ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3056 42af7a65-404d-4744-a932-0658087f49c3
2010-10-29 15:02:22 +00:00
patacongo
ed6958d344 Reorg some headers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3055 42af7a65-404d-4744-a932-0658087f49c3
2010-10-28 01:33:47 +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
ddb9e4a774 Add MEBI header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3052 42af7a65-404d-4744-a932-0658087f49c3
2010-10-26 01:48:02 +00:00
patacongo
cf9110399c Make MMC header file consistent with other NuttX periperhal header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3051 42af7a65-404d-4744-a932-0658087f49c3
2010-10-26 00:49:32 +00:00
patacongo
98538630ec typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3050 42af7a65-404d-4744-a932-0658087f49c3
2010-10-25 14:58:37 +00:00
patacongo
f074fc1b99 Add INT header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3049 42af7a65-404d-4744-a932-0658087f49c3
2010-10-24 14:50:12 +00:00
patacongo
58eacc4d68 Add HCS12 SPI header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3046 42af7a65-404d-4744-a932-0658087f49c3
2010-10-23 01:31:35 +00:00
patacongo
4e3606e641 Add HCS12 SCI header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3045 42af7a65-404d-4744-a932-0658087f49c3
2010-10-23 01:00:55 +00:00
patacongo
a4520ab5bc Finish TIM header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3042 42af7a65-404d-4744-a932-0658087f49c3
2010-10-20 16:05:58 +00:00
patacongo
049f39f999 Add TIM header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3041 42af7a65-404d-4744-a932-0658087f49c3
2010-10-19 22:15:56 +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
patacongo
70c7bb775e Initial AVR32 task state
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3026 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 21:26:15 +00:00
patacongo
f8273e7484 Finish signal handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3025 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 21:04:20 +00:00
patacongo
e5237d04ef Add register dump logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3024 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 17:00:20 +00:00
patacongo
6f0b095056 Add exception handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3023 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 16:30:47 +00:00
patacongo
fc6c0456ef No up_en/disable_irq's
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3022 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 03:22:24 +00:00
patacongo
bf8cd74a23 Add AVR32 system timer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3021 42af7a65-404d-4744-a932-0658087f49c3
2010-10-16 02:15:50 +00:00
patacongo
c7394eadc2 USB register offsets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3020 42af7a65-404d-4744-a932-0658087f49c3
2010-10-15 19:15:37 +00:00
patacongo
f5ea59a146 Finish SSC header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3019 42af7a65-404d-4744-a932-0658087f49c3
2010-10-15 15:05:30 +00:00
patacongo
2c9e33ec5f Bits low to high
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3018 42af7a65-404d-4744-a932-0658087f49c3
2010-10-15 02:30:47 +00:00
patacongo
184f4e3eaf Partial SSC registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3017 42af7a65-404d-4744-a932-0658087f49c3
2010-10-15 02:14:34 +00:00
patacongo
4fe893346c More context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3016 42af7a65-404d-4744-a932-0658087f49c3
2010-10-15 01:05:15 +00:00
patacongo
d6e5639265 Add PWM definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3015 42af7a65-404d-4744-a932-0658087f49c3
2010-10-14 20:00:43 +00:00
patacongo
6e9c81cff0 Add TC definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3014 42af7a65-404d-4744-a932-0658087f49c3
2010-10-14 18:17:14 +00:00
patacongo
30d702f798 Finish ADC header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3013 42af7a65-404d-4744-a932-0658087f49c3
2010-10-14 15:42:15 +00:00
patacongo
362855b7cc Beginning of context switch logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3012 42af7a65-404d-4744-a932-0658087f49c3
2010-10-14 03:24:18 +00:00