Commit Graph

125 Commits

Author SHA1 Message Date
patacongo
39fd93278c PIC32 NSH configuration now builds without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4220 42af7a65-404d-4744-a932-0658087f49c3
2011-12-23 00:58:00 +00:00
patacongo
9aa8880720 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
46c727610c 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
4324b00af3 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
4fee2145bd 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
55ec626661 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
2149ec1035 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
5072f4a553 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
14fd8f3c8e 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
4a9b2c7b1b 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
d01965fd90 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
fe49443cc3 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
a7839a9af1 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
bdd0e9e973 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
bf70e96ce1 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
54b35225d9 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
84a75f3809 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
29e4049e45 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
f84c24373d 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
21ce4101b2 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
b8ebda1ae6 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
6cdf5f8fd8 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
cc97bab6c3 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
92e2e30944 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
12fd3df1b1 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
43edab2dd8 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
9491c6d810 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
12d74b1592 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
d978173922 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
61e5093a0b 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
4ad3944c1f 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
650ea59d79 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
edcbdb6d61 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
8967c65008 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
2de6c9138d 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
482f58ecd2 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
03faf1cc17 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
bc5dbeafad 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
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
91fba1f28b 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
2250935b14 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
7c1bb4bce3 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
cb057c36ea 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
b37d08a7a6 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
7e7f283a61 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
7762d295e6 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
f50f5b21ef 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
bdb91af7c9 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
7731994b6e 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
fc593d0aca 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
fa4f467e62 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
10d02ae4f0 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
901140e49a 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
8f249334af 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
f869245999 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
6cfd2ff001 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
b1aa3c155d 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
cc0ff40347 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
1e9c10601e 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
209620a42b 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
3efed0e778 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
24bc69df72 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
3dcd7ff49a 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
a918b2c01a 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
71650ffa30 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
764a1177eb 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
bd8c2c3ece 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
fd69ba1da6 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
55789c6030 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
62065b7283 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
fa253fbf94 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
d14446070e 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
ed7b827c68 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
85f1226a14 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
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