Skip to content

Commit

Permalink
add driverlib
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmutbehrens committed Feb 8, 2013
1 parent a78ca98 commit 8a6bdea
Show file tree
Hide file tree
Showing 76 changed files with 121,609 additions and 0 deletions.
50 changes: 50 additions & 0 deletions driverlib/Makefile
@@ -0,0 +1,50 @@
#******************************************************************************
#
# Makefile - Rules for building the driver library.
#
# Copyright (c) 2011-2012 Texas Instruments Incorporated. All rights reserved.
# Software License Agreement
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# 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.
#
# Neither the name of Texas Instruments Incorporated 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.
#
# This is part of revision 9107 of the Stellaris Peripheral Driver Library.
#
#******************************************************************************

all:
@make -f Makefile.driverlib-cm3
@make -f Makefile.driverlib-cm4f

clean:
@make -f Makefile.driverlib-cm3 clean
@make -f Makefile.driverlib-cm4f clean

realclean:
@make -f Makefile.driverlib-cm3 realclean
@make -f Makefile.driverlib-cm4f realclean
106 changes: 106 additions & 0 deletions driverlib/Makefile.driverlib-cm3
@@ -0,0 +1,106 @@
#******************************************************************************
#
# Makefile.driverlib-cm3 - Rules for building the driver library.
#
# Copyright (c) 2005-2012 Texas Instruments Incorporated. All rights reserved.
# Software License Agreement
#
# Texas Instruments (TI) is supplying this software for use solely and
# exclusively on TI's microcontroller products. The software is owned by
# TI and/or its suppliers, and is protected under applicable copyright
# laws. You may not combine this software with "viral" open-source
# software in order to form a larger program.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
# NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
# NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
# CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
# DAMAGES, FOR ANY REASON WHATSOEVER.
#
# This is part of revision 9107 of the Stellaris Peripheral Driver Library.
#
#******************************************************************************

#
# Defines the directory suffix that this project uses.
#
SUFFIX=-cm3

#
# Set the processor variant.
#
VARIANT=cm3

#
# The base directory for StellarisWare.
#
ROOT=..

#
# Include the common make definitions.
#
include ${ROOT}/makedefs

#
# Where to find header files that do not live in the source directory.
#
IPATH=..

#
# The default rule, which causes the driver library to be built.
#
all: ${COMPILER}-cm3
all: ${COMPILER}-cm3/libdriver-cm3.a

#
# The rule to clean out all the build products.
#
clean:
@rm -rf ${COMPILER}-cm3 ${wildcard *~}

#
# The rule to create the target directory.
#
${COMPILER}-cm3:
@mkdir -p ${COMPILER}-cm3

#
# Rules for building the driver library.
#
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/adc.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/can.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/comp.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/cpu.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/eeprom.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/epi.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/ethernet.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/fan.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/flash.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/fpu.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/gpio.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/hibernate.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/i2c.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/i2s.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/interrupt.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/lpc.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/mpu.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/peci.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/pwm.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/qei.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/ssi.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/sysctl.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/sysexc.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/systick.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/timer.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/uart.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/udma.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/usb.o
${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/watchdog.o

#
# Include the automatically generated dependency files.
#
ifneq (${MAKECMDGOALS},clean)
-include ${wildcard ${COMPILER}-cm3/*.d} __dummy__
endif
106 changes: 106 additions & 0 deletions driverlib/Makefile.driverlib-cm4f
@@ -0,0 +1,106 @@
#******************************************************************************
#
# Makefile.driverlib-cm4f - Rules for building the driver library.
#
# Copyright (c) 2005-2012 Texas Instruments Incorporated. All rights reserved.
# Software License Agreement
#
# Texas Instruments (TI) is supplying this software for use solely and
# exclusively on TI's microcontroller products. The software is owned by
# TI and/or its suppliers, and is protected under applicable copyright
# laws. You may not combine this software with "viral" open-source
# software in order to form a larger program.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
# NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
# NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
# CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
# DAMAGES, FOR ANY REASON WHATSOEVER.
#
# This is part of revision 9107 of the Stellaris Peripheral Driver Library.
#
#******************************************************************************

#
# Defines the directory suffix that this project uses.
#
SUFFIX=-cm4f

#
# Set the processor variant.
#
VARIANT=cm4f

#
# The base directory for StellarisWare.
#
ROOT=..

#
# Include the common make definitions.
#
include ${ROOT}/makedefs

#
# Where to find header files that do not live in the source directory.
#
IPATH=..

#
# The default rule, which causes the driver library to be built.
#
all: ${COMPILER}-cm4f
all: ${COMPILER}-cm4f/libdriver-cm4f.a

#
# The rule to clean out all the build products.
#
clean:
@rm -rf ${COMPILER}-cm4f ${wildcard *~}

#
# The rule to create the target directory.
#
${COMPILER}-cm4f:
@mkdir -p ${COMPILER}-cm4f

#
# Rules for building the driver library.
#
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/adc.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/can.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/comp.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/cpu.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/eeprom.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/epi.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/ethernet.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/fan.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/flash.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/fpu.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/gpio.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/hibernate.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/i2c.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/i2s.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/interrupt.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/lpc.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/mpu.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/peci.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/pwm.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/qei.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/ssi.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/sysctl.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/sysexc.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/systick.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/timer.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/uart.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/udma.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/usb.o
${COMPILER}-cm4f/libdriver-cm4f.a: ${COMPILER}-cm4f/watchdog.o

#
# Include the automatically generated dependency files.
#
ifneq (${MAKECMDGOALS},clean)
-include ${wildcard ${COMPILER}-cm4f/*.d} __dummy__
endif

0 comments on commit 8a6bdea

Please sign in to comment.