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
This commit is contained in:
patacongo
2010-10-30 00:40:53 +00:00
parent 2a02450c46
commit 7fd92b81be
36 changed files with 583 additions and 583 deletions
+3 -3
View File
@@ -229,9 +229,9 @@ arch/avr
arch/avr/include/avr32 and arch/avr/src/avr32
Common support for all AVR32 MCUs
arch/avr/include/at91uc3 and arch/avr/src/at91uc3
Support specifically for the AT91UC3Bxxx family (specifically only for
the AT91UC3B0256 at the moment).
arch/avr/include/at32uc3 and arch/avr/src/at32uc3
Support specifically for the AT32UC3Bxxx family (specifically only for
the AT32UC3B0256 at the moment).
arch/hc
This directory is dedicated to ports to the Freescale HC family.
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/avr/include/at91uc3/irq.h
* arch/avr/include/at32uc3/irq.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -37,8 +37,8 @@
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_AVR_INCLUDE_AT91UC3_IRQ_H
#define __ARCH_AVR_INCLUDE_AT91UC3_IRQ_H
#ifndef __ARCH_AVR_INCLUDE_AT32UC3_IRQ_H
#define __ARCH_AVR_INCLUDE_AT32UC3_IRQ_H
/****************************************************************************
* Included Files
@@ -118,7 +118,7 @@
* number takes priority."
*/
/* Only 19 groups (0-18) are used with the AT91UC3A/B: */
/* Only 19 groups (0-18) are used with the AT32UC3A/B: */
#define AVR32_IRQ_INTPRIOS 4 /* 4 interrupt priorities */
#define AVR32_IRQ_MAXGROUPS 64 /* Architecture supports up to 64 groups */
@@ -631,5 +631,5 @@ extern "C" {
#endif
#endif
#endif /* __ARCH_AVR_INCLUDE_AT91UC3_IRQ_H */
#endif /* __ARCH_AVR_INCLUDE_AT32UC3_IRQ_H */
+7 -7
View File
@@ -1,5 +1,5 @@
############################################################################
# arch/avr/src/at91uc3/Make.defs
# arch/avr/src/at32uc3/Make.defs
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -48,17 +48,17 @@ CMN_CSRCS = up_assert.c up_allocateheap.c up_blocktask.c up_copystate.c \
up_schedulesigaction.c up_sigdeliver.c up_unblocktask.c \
up_usestack.c up_doirq.c
# Required AT91UC3 files
# Required AT32UC3 files
CHIP_ASRCS =
CHIP_CSRCS = at91uc3_clkinit.c at91uc3_gpio.c at91uc3_irq.c \
at91uc3_lowconsole.c at91uc3_lowinit.c at91uc3_serial.c \
at91uc3_timerisr.c
CHIP_CSRCS = at32uc3_clkinit.c at32uc3_gpio.c at32uc3_irq.c \
at32uc3_lowconsole.c at32uc3_lowinit.c at32uc3_serial.c \
at32uc3_timerisr.c
# Configuration-dependent AT91UC3 files
# Configuration-dependent AT32UC3 files
ifeq ($(CONFIG_AVR32_GPIOIRQ),y)
CHIP_CSRCS += at91uc3_gpioirq.c
CHIP_CSRCS += at32uc3_gpioirq.c
endif
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_abdac.h
* arch/avr/src/at32uc3/at32uc3_abdac.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_ABDAC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_ABDAC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_ABDAC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_ABDAC_H
/************************************************************************************
* Included Files
@@ -97,5 +97,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_ABDAC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_ABDAC_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_adc.h
* arch/avr/src/at32uc3/at32uc3_adc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_ADC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_ADC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_ADC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_ADC_H
/************************************************************************************
* Included Files
@@ -191,5 +191,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_ADC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_ADC_H */
@@ -1,5 +1,5 @@
/**************************************************************************
* arch/avr/src/at91uc3/at91uc3_clkinit.c
* arch/avr/src/at32uc3/at32uc3_clkinit.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -43,11 +43,11 @@
#include "up_arch.h"
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include "up_internal.h"
#include "at91uc3_internal.h"
#include "at91uc3_pm.h"
#include "at91uc3_flashc.h"
#include "at32uc3_internal.h"
#include "at32uc3_pm.h"
#include "at32uc3_flashc.h"
/**************************************************************************
* Private Definitions
+5 -5
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_config.h
* arch/avr/src/at32uc3/at32uc3_config.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_CONFIG_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_CONFIG_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_CONFIG_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_CONFIG_H
/************************************************************************************
* Included Files
@@ -67,7 +67,7 @@
/* Not all USART features are supported on all chips or all USARTS */
#ifdef CONFIG_ARCH_CHIP_AT91UC3B
#ifdef CONFIG_ARCH_CHIP_AT32UC3B
# undef CONFIG_AVR32_USART0_RS485
# undef CONFIG_AVR32_USART0_MAN
# undef CONFIG_AVR32_USART0_MODEM
@@ -172,5 +172,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_CONFIG_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_CONFIG_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_eic.h
* arch/avr/src/at32uc3/at32uc3_eic.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_EIC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_EIC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_EIC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_EIC_H
/************************************************************************************
* Included Files
@@ -129,5 +129,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_EIC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_EIC_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_flashc.h
* arch/avr/src/at32uc3/at32uc3_flashc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_FLASHC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_FLASHC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_FLASHC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_FLASHC_H
/************************************************************************************
* Included Files
@@ -225,5 +225,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_FLASHC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_FLASHC_H */
@@ -1,5 +1,5 @@
/**************************************************************************
* arch/avr/src/at91uc3/at91uc3_gpio.c
* arch/avr/src/at32uc3/at32uc3_gpio.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -42,13 +42,13 @@
#include <sys/types.h>
#include <assert.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include "up_internal.h"
#include "at91uc3_internal.h"
#include "at32uc3_internal.h"
#include "up_arch.h"
#include "chip.h"
#include "at91uc3_gpio.h"
#include "at32uc3_gpio.h"
/**************************************************************************
* Private Definitions
@@ -104,14 +104,14 @@ static uint32_t g_portmap[AVR32_NGPIO_PORTS] =
**************************************************************************/
/************************************************************************************
* Name: at91uc3_configgpio
* Name: at32uc3_configgpio
*
* Description:
* Configure a GPIO pin based on bit-encoded description of the pin.
*
************************************************************************************/
int at91uc3_configgpio(uint16_t cfgset)
int at32uc3_configgpio(uint16_t cfgset)
{
unsigned int port;
unsigned int pin;
@@ -227,14 +227,14 @@ int at91uc3_configgpio(uint16_t cfgset)
}
/************************************************************************************
* Name: at91uc3_gpiowrite
* Name: at32uc3_gpiowrite
*
* Description:
* Write one or zero to the selected GPIO pin
*
************************************************************************************/
void at91uc3_gpiowrite(uint16_t pinset, bool value)
void at32uc3_gpiowrite(uint16_t pinset, bool value)
{
unsigned int port;
unsigned int pin;
@@ -265,14 +265,14 @@ void at91uc3_gpiowrite(uint16_t pinset, bool value)
}
/************************************************************************************
* Name: at91uc3_gpioread
* Name: at32uc3_gpioread
*
* Description:
* Read one or zero from the selected GPIO pin
*
************************************************************************************/
bool at91uc3_gpioread(uint16_t pinset)
bool at32uc3_gpioread(uint16_t pinset)
{
unsigned int port;
unsigned int pin;
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_gpio.h
* arch/avr/src/at32uc3/at32uc3_gpio.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_GPIO_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_GPIO_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_GPIO_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_GPIO_H
/************************************************************************************
* Included Files
@@ -461,5 +461,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_GPIO_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_GPIO_H */
@@ -1,6 +1,6 @@
/****************************************************************************
* arch/avr/src/at91uc3/at91uc3_gpioirq.c
* arch/avr/src/chip/at91uc3_gpioirq.c
* arch/avr/src/at32uc3/at32uc3_gpioirq.c
* arch/avr/src/chip/at32uc3_gpioirq.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -39,7 +39,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include <stdint.h>
#include <string.h>
@@ -52,8 +52,8 @@
#include "up_arch.h"
#include "os_internal.h"
#include "irq_internal.h"
#include "at91uc3_internal.h"
#include "at91uc3_gpio.h"
#include "at32uc3_internal.h"
#include "at32uc3_gpio.h"
#ifdef CONFIG_AVR32_GPIOIRQ
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_hmatrix.h
* arch/avr/src/at32uc3/at32uc3_hmatrix.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_HMATRIX_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_HMATRIX_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_HMATRIX_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_HMATRIX_H
/************************************************************************************
* Included Files
@@ -310,5 +310,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_HMATRIX_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_HMATRIX_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_intc.h
* arch/avr/src/at32uc3/at32uc3_intc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_INTC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_INTC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_INTC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_INTC_H
/************************************************************************************
* Included Files
@@ -94,5 +94,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_INTC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_INTC_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/avr/src/at91uc3b/at91uc3_internal.h
* arch/avr/src/at32uc3b/at32uc3_internal.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,15 +33,15 @@
*
****************************************************************************/
#ifndef __ARCH_AVR_SRC_AVR32_AT91UC3_INTERNAL_H
#define __ARCH_AVR_SRC_AVR32_AT91UC3_INTERNAL_H
#ifndef __ARCH_AVR_SRC_AVR32_AT32UC3_INTERNAL_H
#define __ARCH_AVR_SRC_AVR32_AT32UC3_INTERNAL_H
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#ifdef CONFIG_AVR32_GPIOIRQ
# include <nuttx/irq.h>
@@ -54,7 +54,7 @@
* Pre-processor Definitions
****************************************************************************/
/* Bit-encoded input to at91uc3_configgpio() ********************************/
/* Bit-encoded input to at32uc3_configgpio() ********************************/
/* 16-bit Encoding:
* PERIPHERAL: FMMI UXXG PPPB BBBB with G=0
@@ -229,34 +229,34 @@ EXTERN void up_consoleinit(void);
EXTERN void up_boardinitialize(void);
/****************************************************************************
* Name: at91uc3_configgpio
* Name: at32uc3_configgpio
*
* Description:
* Configure a GPIO pin based on bit-encoded description of the pin.
*
****************************************************************************/
EXTERN int at91uc3_configgpio(uint16_t cfgset);
EXTERN int at32uc3_configgpio(uint16_t cfgset);
/****************************************************************************
* Name: at91uc3_gpiowrite
* Name: at32uc3_gpiowrite
*
* Description:
* Write one or zero to the selected GPIO pin
*
****************************************************************************/
EXTERN void at91uc3_gpiowrite(uint16_t pinset, bool value);
EXTERN void at32uc3_gpiowrite(uint16_t pinset, bool value);
/****************************************************************************
* Name: at91uc3_gpioread
* Name: at32uc3_gpioread
*
* Description:
* Read one or zero from the selected GPIO pin
*
****************************************************************************/
EXTERN bool at91uc3_gpioread(uint16_t pinset);
EXTERN bool at32uc3_gpioread(uint16_t pinset);
/****************************************************************************
* Name: gpio_irqinitialize
@@ -340,5 +340,5 @@ EXTERN void gpio_irqdisable(int irq);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_AVR_SRC_AVR32_AT91UC3_INTERNAL_H */
#endif /* __ARCH_AVR_SRC_AVR32_AT32UC3_INTERNAL_H */
@@ -1,6 +1,6 @@
/****************************************************************************
* arch/avr/src/at91uc3_/at91uc3_irq.c
* arch/avr/src/chip/at91uc3_irq.c
* arch/avr/src/at32uc3_/at32uc3_irq.c
* arch/avr/src/chip/at32uc3_irq.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -39,7 +39,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include <stdint.h>
#include <errno.h>
@@ -52,10 +52,10 @@
#include "up_arch.h"
#include "os_internal.h"
#include "up_internal.h"
#include "at91uc3_internal.h"
#include "at32uc3_internal.h"
#include "chip.h"
#include "at91uc3_intc.h"
#include "at32uc3_intc.h"
/****************************************************************************
* Definitions
@@ -1,5 +1,5 @@
/******************************************************************************
* arch/avr/src/at91uc3/at91uc3_lowconsole.c
* arch/avr/src/at32uc3/at32uc3_lowconsole.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -38,7 +38,7 @@
******************************************************************************/
#include <nuttx/config.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include <assert.h>
#include <debug.h>
@@ -48,9 +48,9 @@
#include "up_arch.h"
#include "up_internal.h"
#include "at91uc3_internal.h"
#include "at91uc3_usart.h"
#include "at91uc3_pinmux.h"
#include "at32uc3_internal.h"
#include "at32uc3_usart.h"
#include "at32uc3_pinmux.h"
/******************************************************************************
* Private Definitions
@@ -315,8 +315,8 @@ void up_consoleinit(void)
* and {PINMUX_USART_0TXD_1, PINMUX_USART0_TXD_2}, respectively.
*/
at91uc3_configgpio(PINMUX_USART0_RXD);
at91uc3_configgpio(PINMUX_USART0_TXD);
at32uc3_configgpio(PINMUX_USART0_RXD);
at32uc3_configgpio(PINMUX_USART0_TXD);
#endif
#ifdef CONFIG_AVR32_USART1_RS232
@@ -326,8 +326,8 @@ void up_consoleinit(void)
* PINMUX_USART1_TXD_3}, respectively.
*/
at91uc3_configgpio(PINMUX_USART1_RXD);
at91uc3_configgpio(PINMUX_USART1_TXD);
at32uc3_configgpio(PINMUX_USART1_RXD);
at32uc3_configgpio(PINMUX_USART1_TXD);
#endif
#ifdef CONFIG_AVR32_USART2_RS232
@@ -336,8 +336,8 @@ void up_consoleinit(void)
* and {PINMUX_USART2_TXD_1, PINMUX_USART2_TXD_2}, respectively.
*/
at91uc3_configgpio(PINMUX_USART2_RXD);
at91uc3_configgpio(PINMUX_USART2_TXD);
at32uc3_configgpio(PINMUX_USART2_RXD);
at32uc3_configgpio(PINMUX_USART2_TXD);
#endif
/* Then configure the console here (if it is not going to be configured
@@ -1,5 +1,5 @@
/**************************************************************************
* arch/avr/src/at91uc3/at91uc3_lowinit.c
* arch/avr/src/at32uc3/at32uc3_lowinit.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -39,9 +39,9 @@
#include <nuttx/config.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include "up_internal.h"
#include "at91uc3_internal.h"
#include "at32uc3_internal.h"
/**************************************************************************
* Private Definitions
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_memorymap.h
* arch/avr/src/at32uc3/at32uc3_memorymap.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_MEMORYMAP_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_MEMORYMAP_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_MEMORYMAP_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_MEMORYMAP_H
/************************************************************************************
* Included Files
@@ -67,9 +67,9 @@
/* Reset vector addess */
#if defined(CONFIG_ARCH_CHIP_AT91UC3A)
#if defined(CONFIG_ARCH_CHIP_AT32UC3A)
# define AVR32_VECTOR_BASE AVR32_P1_BASE
#elif defined(CONFIG_ARCH_CHIP_AT91UC3B)
#elif defined(CONFIG_ARCH_CHIP_AT32UC3B)
# define AVR32_VECTOR_BASE AVR32_P2_BASE
#else
# warning "Unknown vector base address"
@@ -110,5 +110,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_MEMORYMAP_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_MEMORYMAP_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_pdca.h
* arch/avr/src/at32uc3/at32uc3_pdca.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_PDCA_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_PDCA_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_PDCA_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_PDCA_H
/************************************************************************************
* Included Files
@@ -273,5 +273,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_PDCA_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_PDCA_H */
+71 -71
View File
@@ -1,71 +1,71 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_pinmux.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_PINMUX_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_PINMUX_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip.h"
#if defined(CONFIG_ARCH_CHIP_AT91UC3B)
# include "at91uc3b_pinmux.h"
#elif defined(CONFIG_ARCH_CHIP_AT91UC3A)
# include "at91uc3a_pinmux.h"
#else
# error "Unknown AVR32 chip"
#endif
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
* Public Types
************************************************************************************/
/************************************************************************************
* Public Data
************************************************************************************/
/************************************************************************************
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_PINMUX_H */
/************************************************************************************
* arch/avr/src/at32uc3/at32uc3_pinmux.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_PINMUX_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_PINMUX_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip.h"
#if defined(CONFIG_ARCH_CHIP_AT32UC3B)
# include "at32uc3b_pinmux.h"
#elif defined(CONFIG_ARCH_CHIP_AT32UC3A)
# include "at32uc3a_pinmux.h"
#else
# error "Unknown AVR32 chip"
#endif
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
* Public Types
************************************************************************************/
/************************************************************************************
* Public Data
************************************************************************************/
/************************************************************************************
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_PINMUX_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_pm.h
* arch/avr/src/at32uc3/at32uc3_pm.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_PM_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_PM_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_PM_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_PM_H
/************************************************************************************
* Included Files
@@ -331,5 +331,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_PM_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_PM_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_pwm.h
* arch/avr/src/at32uc3/at32uc3_pwm.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_PWM_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_PWM_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_PWM_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_PWM_H
/************************************************************************************
* Included Files
@@ -218,5 +218,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_PWM_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_PWM_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_rtc.h
* arch/avr/src/at32uc3/at32uc3_rtc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_RTC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_RTC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_RTC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_RTC_H
/************************************************************************************
* Included Files
@@ -108,5 +108,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_RTC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_RTC_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/avr/src/at91uc3/at91uc3_serial.c
* arch/avr/src/at32uc3/at32uc3_serial.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -54,13 +54,13 @@
#include <arch/board/board.h>
#include "at91uc3_config.h"
#include "at32uc3_config.h"
#include "chip.h"
#include "at91uc3_usart.h"
#include "at32uc3_usart.h"
#include "up_arch.h"
#include "up_internal.h"
#include "os_internal.h"
#include "at91uc3_internal.h"
#include "at32uc3_internal.h"
/****************************************************************************
* Definitions
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_spi.h
* arch/avr/src/at32uc3/at32uc3_spi.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_SPI_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_SPI_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_SPI_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_SPI_H
/************************************************************************************
* Included Files
@@ -162,5 +162,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_SPI_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_SPI_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_ssc.h
* arch/avr/src/at32uc3/at32uc3_ssc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_SSC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_SSC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_SSC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_SSC_H
/************************************************************************************
* Included Files
@@ -263,5 +263,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_SSC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_SSC_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_tc.h
* arch/avr/src/at32uc3/at32uc3_tc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_TC_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_TC_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_TC_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_TC_H
/************************************************************************************
* Included Files
@@ -368,5 +368,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_TC_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_TC_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/avr/src/at91uc3/at91uc3_timerisr.c
* arch/avr/src/at32uc3/at32uc3_timerisr.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -47,8 +47,8 @@
#include "up_arch.h"
#include "chip.h"
#include "at91uc3_internal.h"
#include "at91uc3_rtc.h"
#include "at32uc3_internal.h"
#include "at32uc3_rtc.h"
/****************************************************************************
* Definitions
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_twi.h
* arch/avr/src/at32uc3/at32uc3_twi.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_TWI_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_TWI_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_TWI_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_TWI_H
/************************************************************************************
* Included Files
@@ -157,5 +157,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_TWI_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_TWI_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_usart.h
* arch/avr/src/at32uc3/at32uc3_usart.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_USART_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_USART_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_USART_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_USART_H
/************************************************************************************
* Included Files
@@ -335,5 +335,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_USART_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_USART_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_usbb.h
* arch/avr/src/at32uc3/at32uc3_usbb.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_USBB_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_USBB_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_USBB_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_USBB_H
/************************************************************************************
* Included Files
@@ -1094,5 +1094,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_USBB_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_USBB_H */
+4 -4
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3_wdt.h
* arch/avr/src/at32uc3/at32uc3_wdt.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3_WDT_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3_WDT_H
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3_WDT_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3_WDT_H
/************************************************************************************
* Included Files
@@ -83,5 +83,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_WDT_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_WDT_H */
+64 -64
View File
@@ -1,64 +1,64 @@
/************************************************************************************
* arch/avr/src/at91uc3/at91uc3a_pinmux.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_AT91UC3A_PINMUX_H
#define __ARCH_AVR_SRC_AT91UC3_AT91UC3A_PINMUX_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
#warning "Not Implemented"
/************************************************************************************
* Public Types
************************************************************************************/
/************************************************************************************
* Public Data
************************************************************************************/
/************************************************************************************
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_AT91UC3_PINMUX_H */
/************************************************************************************
* arch/avr/src/at32uc3/at32uc3a_pinmux.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT32UC3_AT32UC3A_PINMUX_H
#define __ARCH_AVR_SRC_AT32UC3_AT32UC3A_PINMUX_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
#warning "Not Implemented"
/************************************************************************************
* Public Types
************************************************************************************/
/************************************************************************************
* Public Data
************************************************************************************/
/************************************************************************************
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT32UC3_AT32UC3_PINMUX_H */
File diff suppressed because it is too large Load Diff
+29 -29
View File
@@ -1,5 +1,5 @@
/************************************************************************************
* arch/avr/src/at91uc3/chip.h
* arch/avr/src/at32uc3/chip.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_AVR_SRC_AT91UC3_CHIP_H
#define __ARCH_AVR_SRC_AT91UC3_CHIP_H
#ifndef __ARCH_AVR_SRC_AT32UC3_CHIP_H
#define __ARCH_AVR_SRC_AT32UC3_CHIP_H
/************************************************************************************
* Included Files
@@ -53,9 +53,9 @@
/* UC3 B0 (64-pin) / B1 (48-pin, no USB host) Series */
#if CONFIG_ARCH_CHIP_AT91UC3B064
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B0 1 /* UC3 B0 (64-pin) series */
#if CONFIG_ARCH_CHIP_AT32UC3B064
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B0 1 /* UC3 B0 (64-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (64*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (16*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -71,9 +71,9 @@
# define AVR32_NOSC 2 /* Number of crystal oscillators */
# define AVR32_NADC10 8 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B0128
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B0 1 /* UC3 B0 (64-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B0128
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B0 1 /* UC3 B0 (64-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (128*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (32*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -89,9 +89,9 @@
# define AVR32_NOSC 2 /* Number of crystal oscillators */
# define AVR32_NADC10 8 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B0256
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B0 1 /* UC3 B0 (64-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B0256
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B0 1 /* UC3 B0 (64-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (256*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (32*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -107,9 +107,9 @@
# define AVR32_NOSC 2 /* Number of crystal oscillators */
# define AVR32_NADC10 8 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B0512
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B0 1 /* UC3 B0 (64-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B0512
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B0 1 /* UC3 B0 (64-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (512*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (96*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -125,9 +125,9 @@
# define AVR32_NOSC 2 /* Number of crystal oscillators */
# define AVR32_NADC10 8 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B164
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B1 1 /* UC3 B0 (48-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B164
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B1 1 /* UC3 B0 (48-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (64*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (16*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -143,9 +143,9 @@
# define AVR32_NOSC 1 /* Number of crystal oscillators */
# define AVR32_NADC10 6 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B1128
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B1 1 /* UC3 B0 (48-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B1128
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B1 1 /* UC3 B0 (48-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (128*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (32*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -161,9 +161,9 @@
# define AVR32_NOSC 1 /* Number of crystal oscillators */
# define AVR32_NADC10 6 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B1256
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B1 1 /* UC3 B0 (48-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B1256
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B1 1 /* UC3 B0 (48-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (256*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (32*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -179,9 +179,9 @@
# define AVR32_NOSC 1 /* Number of crystal oscillators */
# define AVR32_NADC10 6 /* Number of 10-bit A/D channels */
# define AVR32_NDMAC 7 /* Number of DMA channels */
#elif CONFIG_ARCH_CHIP_AT91UC3B1512
# define CONFIG_ARCH_CHIP_AT91UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT91UC3B1 1 /* UC3 B0 (48-pin) series */
#elif CONFIG_ARCH_CHIP_AT32UC3B1512
# define CONFIG_ARCH_CHIP_AT32UC3B 1 /* UC3 B series */
# define CONFIG_ARCH_CHIP_AT32UC3B1 1 /* UC3 B0 (48-pin) series */
# define AVR32_ONCHIP_FLASH_SIZE (512*1024) /* Size of on-chip FLASH (bytes) */
# define AVR32_ONCHIP_SRAM_SIZE (96*1024) /* Size of on-chip SRAM (bytes) */
# define AVR32_USB_FULLSPEED 1 /* USB full-speed support */
@@ -205,7 +205,7 @@
* file for the proper setup
*/
#include "at91uc3_memorymap.h"
#include "at32uc3_memorymap.h"
/************************************************************************************
* Public Types
@@ -219,5 +219,5 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_AVR_SRC_AT91UC3_CHIP_H */
#endif /* __ARCH_AVR_SRC_AT32UC3_CHIP_H */