Changeset 4eee8434 in rtems


Ignore:
Timestamp:
Nov 21, 2009, 3:45:32 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
bb6ef078
Parents:
6d612944
Message:

2009-11-21 Fernando Nicodemos <fgnicodemos@…>

  • Makefile.am, preinstall.am, at91rm9200/include/at91rm9200.h: Add initial support for USART on at91rm9200.
  • at91rm9200/include/at91rm9200_usart.h, at91rm9200/usart/usart.c: New files.
Location:
c/src/lib/libcpu/arm
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/ChangeLog

    r6d612944 r4eee8434  
     12009-11-21      Fernando Nicodemos <fgnicodemos@terra.com.br>
     2
     3        * Makefile.am, preinstall.am, at91rm9200/include/at91rm9200.h: Add
     4        initial support for USART on at91rm9200.
     5        * at91rm9200/include/at91rm9200_usart.h, at91rm9200/usart/usart.c:
     6        New files.
     7
    182009-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • c/src/lib/libcpu/arm/Makefile.am

    r6d612944 r4eee8434  
    2727include_HEADERS = pxa255/include/pxa255.h pxa255/include/ffuart.h
    2828
    29 ##pxa255/clock
     29## pxa255/clock
    3030noinst_PROGRAMS += pxa255/clock.rel
    3131pxa255_clock_rel_SOURCES = pxa255/clock/clock.c
     
    6464include_HEADERS = at91rm9200/include/at91rm9200.h at91rm9200/include/at91rm9200_dbgu.h \
    6565    at91rm9200/include/at91rm9200_emac.h at91rm9200/include/at91rm9200_gpio.h \
    66     at91rm9200/include/at91rm9200_mem.h at91rm9200/include/at91rm9200_pmc.h at91rm9200/include/bits.h
     66    at91rm9200/include/at91rm9200_mem.h at91rm9200/include/at91rm9200_pmc.h \
     67    at91rm9200/include/bits.h at91rm9200/include/at91rm9200_usart.h
    6768
    6869## at91rm9200/clock
     
    7778at91rm9200_dbgu_rel_CPPFLAGS = $(AM_CPPFLAGS)
    7879at91rm9200_dbgu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     80
     81## at91rm9200/usart
     82noinst_PROGRAMS += at91rm9200/usart.rel
     83at91rm9200_usart_rel_SOURCES = at91rm9200/usart/usart.c
     84at91rm9200_usart_rel_CPPFLAGS = $(AM_CPPFLAGS)
     85at91rm9200_usart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    7986
    8087## at91rm9200/timer
  • c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h

    r6d612944 r4eee8434  
    11/*
    2  * Atmel AT91RM9200 Register definitions
     2 * Atmel AT91RM9200 Register definitions, used in KIT637_V6 (CSB637)
    33 *
    44 * Copyright (c) 2003 by Cogent Computer Systems
    55 * Written by Mike Kelly <mike@cogcomp.com>
    6  *     
     6 *
     7 * Modified by Fernando Nicodemos <fgnicodemos@terra.com.br>
     8 * from NCB - Sistemas Embarcados Ltda. (Brazil)
     9 *
    710 *  The license and distribution terms for this file may be
    811 *  found in the file LICENSE in this distribution or at
     
    1114 *
    1215 *  $Id$
    13  */
     16*/
     17
     18
    1419#ifndef __AT91RM9200_H__
    1520#define __AT91RM9200_H__
     
    104109
    105110/**************************************************************************/
    106 /* Debug Unit                                                             */
     111/* Debug Unit                                                             */
    107112/**************************************************************************/
    108113#define DBGU_BASE               0xFFFFF200
     
    122127#define DBGU_C2R                0x44    /* Chip ID2 Register */
    123128#define DBGU_FNTR               0x48    /* Force NTRST Register */
     129
     130/**************************************************************************/
     131/* USART 0-3                                                              */
     132/**************************************************************************/
     133#define USART0_BASE             0xFFFC0000
     134#define USART1_BASE             0xFFFC4000
     135#define USART2_BASE             0xFFFC8000
     136#define USART3_BASE             0xFFFCC000
     137/**** The USART3_BASE at the AT91RM9200 Manual is wrong ****/
     138/**** Manual revision: Rev. 1768H-ATARM–16-Jun-09       ****/
     139//#define USART3_BASE             0xFFECC000
    124140
    125141/****************/
  • c/src/lib/libcpu/arm/preinstall.am

    r6d612944 r4eee8434  
    7171PREINSTALL_FILES += $(PROJECT_INCLUDE)/bits.h
    7272
     73$(PROJECT_INCLUDE)/at91rm9200_usart.h: at91rm9200/include/at91rm9200_usart.h $(PROJECT_INCLUDE)/$(dirstamp)
     74        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_usart.h
     75PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_usart.h
     76
    7377$(PROJECT_INCLUDE)/irq.h: at91rm9200/irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
    7478        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
Note: See TracChangeset for help on using the changeset viewer.