Commit Graph

774 Commits

Author SHA1 Message Date
patacongo
1129e26b63 Changes to get PIC32 serial driver to compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4219 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 23:20:34 +00:00
patacongo
4105b95642 PIC32, need to clear SW interrupt bit in CAUSE register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4218 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 22:50:41 +00:00
patacongo
8493122102 BEV needs to be zero in single-vector mode; Interrupts go to EBASE+0x200
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4153 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 00:00:28 +00:00
patacongo
27a51442d7 Add PHY setup for STM3240G-EVAL Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4151 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 17:03:16 +00:00
patacongo
0166e09b5b Oops.. pic32mx-exception.c, not pic32mx-exception.S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4150 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 14:09:36 +00:00
patacongo
2bf388e307 PIC32 bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4149 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 23:33:04 +00:00
patacongo
bc6dc3a88d Fix PIC32 timer source frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4146 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 23:38:23 +00:00
patacongo
df5a7be0fa update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4126 42af7a65-404d-4744-a932-0658087f49c3
2011-11-27 16:51:34 +00:00
patacongo
3099609c1b Fix PIC32 error in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4125 42af7a65-404d-4744-a932-0658087f49c3
2011-11-25 12:37:54 +00:00
patacongo
7e1a683605 More PIC32 nested interrupt work-around
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4102 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 23:24:53 +00:00
patacongo
7276e3155c More PIC32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4101 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 22:37:27 +00:00
patacongo
a5b16d9f0d PIC32 debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4095 42af7a65-404d-4744-a932-0658087f49c3
2011-11-17 12:36:40 +00:00
patacongo
93d0aa3a6e Fix an error in FAT needed for interoperability with Windows when access first entry in root directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4093 42af7a65-404d-4744-a932-0658087f49c3
2011-11-15 22:37:14 +00:00
patacongo
22453a6f70 Prep for 6.11 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4090 42af7a65-404d-4744-a932-0658087f49c3
2011-11-12 17:49:00 +00:00
patacongo
02459d0d1f More PIC32 debug updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4083 42af7a65-404d-4744-a932-0658087f49c3
2011-11-09 23:59:46 +00:00
patacongo
ceaff95d18 Misc PIC32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4082 42af7a65-404d-4744-a932-0658087f49c3
2011-11-09 12:35:24 +00:00
patacongo
5de28bbfb5 fix some register typing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4080 42af7a65-404d-4744-a932-0658087f49c3
2011-11-03 01:58:55 +00:00
patacongo
2308f64512 Add (and use) some new PIC32MX CP0 macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4079 42af7a65-404d-4744-a932-0658087f49c3
2011-11-03 01:50:57 +00:00
patacongo
88fde06d5b A few more AVR32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4078 42af7a65-404d-4744-a932-0658087f49c3
2011-11-03 01:16:48 +00:00
patacongo
44dc775b08 Fix some MIPS software interrupt enabling issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4067 42af7a65-404d-4744-a932-0658087f49c3
2011-10-29 02:29:13 +00:00
patacongo
64fba1740e Fixes to get the PIC32MX serial port working
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4062 42af7a65-404d-4744-a932-0658087f49c3
2011-10-24 23:51:46 +00:00
patacongo
f6b63d6284 Fix PIC32 jalr instructions: arguments consistentley reversed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4052 42af7a65-404d-4744-a932-0658087f49c3
2011-10-18 01:51:47 +00:00
patacongo
780cc915c5 Fix PIC32 ramfunc logic; add rectangle graphic functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4050 42af7a65-404d-4744-a932-0658087f49c3
2011-10-17 17:52:55 +00:00
patacongo
9a6d840346 PIC32 configuration fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4048 42af7a65-404d-4744-a932-0658087f49c3
2011-10-14 23:57:07 +00:00
patacongo
83ac8cd807 ADS7843 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4042 42af7a65-404d-4744-a932-0658087f49c3
2011-10-12 17:37:15 +00:00
patacongo
75dad1cd45 Add PIC32MX GPIO handling; add button/LED support for the Sure PIC32MX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4040 42af7a65-404d-4744-a932-0658087f49c3
2011-10-11 20:50:10 +00:00
patacongo
635a131cd5 Misc PIC32 clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4038 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 23:05:59 +00:00
patacongo
797f84a9ed PIC32 start kit port builds successfully
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4037 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 22:40:59 +00:00
patacongo
6baab020a0 Fix fclose() return value when closing read-only file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4036 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 19:40:56 +00:00
patacongo
79317879cf Adding support of PIC32MX5xx/6xx/7xx families
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4035 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 18:42:36 +00:00
patacongo
841867459d Adding support of PIC32MX5xx/6xx/7xx families
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4034 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 16:52:14 +00:00
patacongo
c6d2d6af88 Starting support for PICMX324xx/5xx/7xx and PIC32 Ethernet Starter Kit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4033 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 02:11:08 +00:00
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
aceb299ec9 More Kinetis logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3881 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 01:50:35 +00:00
patacongo
66b873ef77 Add basic Kinetis serial support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3878 42af7a65-404d-4744-a932-0658087f49c3
2011-08-14 15:53:19 +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
84cdbc3fef Change for clean compilation of Sure PIC32MX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3742 42af7a65-404d-4744-a932-0658087f49c3
2011-07-03 17:14:27 +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
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
d2737a383c Completes coding portion of basic PIC32 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3637 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 16:30:18 +00:00
patacongo
e504885b87 PIC32: Fix timer 1 source, uart priority, add pre-fetch cache header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3636 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 14:41:53 +00:00
patacongo
3edb6c0078 PIC32 Device Configuration Words
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3635 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 00:09:15 +00:00
patacongo
d197d3926b Add PIC32 UART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3634 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 22:15:16 +00:00
patacongo
16620ef8e5 Add PIC32 interrupt decode logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3633 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 17:51:11 +00:00
patacongo
9b0bf21246 Fleshing out PIC32 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3632 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 16:19:01 +00:00
patacongo
464b5fc042 Clean up a few PIC32 link errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3631 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 01:51:55 +00:00
patacongo
eba3d62109 Add PIC32 exception handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3630 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 00:21:26 +00:00
patacongo
fc41b3f714 Add PIC32 exception handling macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3629 42af7a65-404d-4744-a932-0658087f49c3
2011-05-19 22:00:49 +00:00
patacongo
b28746f885 Add PIC32 interrupt controls and timer initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3628 42af7a65-404d-4744-a932-0658087f49c3
2011-05-19 18:29:40 +00:00
patacongo
c8dfdc80bf Add S/W interrupt 0 handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3627 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 23:01:27 +00:00
patacongo
fb4bbb1517 Add MIPS system call infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3626 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 22:34:11 +00:00
patacongo
3a82a69f43 More PIC32 context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3625 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 19:52:17 +00:00
patacongo
a3131d0d31 Add more context switching files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3624 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 19:11:36 +00:00
patacongo
0fee218399 Add PIC32 register definitions and assertion logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3623 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 17:16:28 +00:00
patacongo
5eea025925 Add some standard common files to PIC32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3622 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 00:38:57 +00:00
patacongo
d88416d2c3 Add start function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3621 42af7a65-404d-4744-a932-0658087f49c3
2011-05-17 23:52:30 +00:00
patacongo
bb38ba608d Add MIPS32 interrupt controls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3620 42af7a65-404d-4744-a932-0658087f49c3
2011-05-17 14:59:27 +00:00
patacongo
1d8562a812 Beginnings of PIC32 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3619 42af7a65-404d-4744-a932-0658087f49c3
2011-05-16 22:20:26 +00:00
patacongo
967ca75164 Completes all PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3618 42af7a65-404d-4744-a932-0658087f49c3
2011-05-16 18:59:30 +00:00
patacongo
e5faee5c3a More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3614 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 22:26:02 +00:00
patacongo
4b5cb10b9b Add more PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3613 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 16:02:38 +00:00
patacongo
7d517b536b More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3611 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 14:45:13 +00:00
patacongo
1c0f987bd6 Add FLASH header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3605 42af7a65-404d-4744-a932-0658087f49c3
2011-05-13 23:14:32 +00:00
patacongo
f07054f182 Add PIC32 RTC definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3604 42af7a65-404d-4744-a932-0658087f49c3
2011-05-13 16:52:29 +00:00
patacongo
dffa7f5293 Add PIC32 DMA header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3599 42af7a65-404d-4744-a932-0658087f49c3
2011-05-12 23:22:13 +00:00
patacongo
bd699ed006 Add PIC32 WDT header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3592 42af7a65-404d-4744-a932-0658087f49c3
2011-05-12 00:28:48 +00:00
patacongo
60e4189637 More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3591 42af7a65-404d-4744-a932-0658087f49c3
2011-05-11 22:47:59 +00:00
patacongo
5b684b9b6c More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3590 42af7a65-404d-4744-a932-0658087f49c3
2011-05-11 20:44:33 +00:00
patacongo
59170e15b4 More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3589 42af7a65-404d-4744-a932-0658087f49c3
2011-05-11 17:21:47 +00:00
patacongo
677858fd86 Add more PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3586 42af7a65-404d-4744-a932-0658087f49c3
2011-05-10 23:20:39 +00:00
patacongo
d43e5de52d Add PIC32 CP0 Regsiter Definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3580 42af7a65-404d-4744-a932-0658087f49c3
2011-05-09 19:37:22 +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