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
This commit is contained in:
patacongo 2011-10-10 02:11:08 +00:00
parent b30d8ba5bb
commit c6d2d6af88
31 changed files with 1633 additions and 728 deletions

0
arch/mips/src/pic32mx/Make.defs Executable file → Normal file
View File

1509
arch/mips/src/pic32mx/chip.h Executable file → Normal file

File diff suppressed because it is too large Load Diff

0
arch/mips/src/pic32mx/excptmacros.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-adc.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-bmx.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-che.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-cm.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-config.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-cvr.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-ddp.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-devcfg.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-dma.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-flash.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-i2c.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-ic.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-int.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-internal.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-ioport.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-irq.c Executable file → Normal file
View File

12
arch/mips/src/pic32mx/pic32mx-memorymap.h Executable file → Normal file
View File

@ -48,9 +48,12 @@
/************************************************************************************
* Pre-Processor Definitions
************************************************************************************/
/* This memory may be valid for other chips as well, but I don't know that */
/* This top-level memory map is valid for the PIC32MX3xx/4xx as well as the
* PIC32MX5xx/6xx/7xx families.
*/
#if defined(CHIP_PIC32MX3) || defined(CHIP_PIC32MX4)
#if defined(CHIP_PIC32MX3) || defined(CHIP_PIC32MX4) || defined(CHIP_PIC32MX5) ||
defined(CHIP_PIC32MX6) || defined(CHIP_PIC32MX7)
/* Physical Memory Map **************************************************************/
@ -72,9 +75,12 @@
# define PIC32MX_SFR_K1BASE (KSEG1_BASE + PIC32MX_SFR_PBASE)
# define PIC32MX_BOOTFLASH_K1BASE (KSEG1_BASE + PIC32MX_BOOTFLASH_PBASE)
# define PIC32MX_DEVCFG_K1BASE (KSEG1_BASE + PIC32MX_DEVCFG_PBASE)
#endif
/* Register Base Addresses **********************************************************/
#if defined(CHIP_PIC32MX3) || defined(CHIP_PIC32MX4)
/* Watchdog Register Base Address */
# define PIC32MX_WDT_K1BASE (PIC32MX_SFR_K1BASE + 0x00000000)
@ -205,6 +211,8 @@
# define PIC32MX_IOPORTCN_K1BASE (PIC32MX_SFR_K1BASE + 0x000861c0)
#elif defined(CHIP_PIC32MX5) || defined(CHIP_PIC32MX6) || defined(CHIP_PIC32MX7)
# error "Missing definitions"
#else
# error "Memory map unknown for this PIC32 chip"
#endif

0
arch/mips/src/pic32mx/pic32mx-oc.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-osc.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-pmp.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-reset.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-rtcc.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-spi.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-timer.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-timerisr.c Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-uart.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-usbotg.h Executable file → Normal file
View File

0
arch/mips/src/pic32mx/pic32mx-wdt.h Executable file → Normal file
View File