Permalink
Browse files

add driverlib

  • Loading branch information...
1 parent a78ca98 commit 8a6bdeafbe38a2bb15447d18f1aabef259ed41ab @hartmutbehrens committed Feb 8, 2013
Showing with 121,609 additions and 0 deletions.
  1. +50 −0 driverlib/Makefile
  2. +106 −0 driverlib/Makefile.driverlib-cm3
  3. +106 −0 driverlib/Makefile.driverlib-cm4f
  4. +1,565 −0 driverlib/adc.c
  5. +311 −0 driverlib/adc.h
  6. +2,265 −0 driverlib/can.c
  7. +465 −0 driverlib/can.h
  8. +451 −0 driverlib/comp.c
  9. +145 −0 driverlib/comp.h
  10. +457 −0 driverlib/cpu.c
  11. +75 −0 driverlib/cpu.h
  12. +71 −0 driverlib/cr_driverlib-cm3.xml
  13. +71 −0 driverlib/cr_driverlib-cm4f.xml
  14. +68 −0 driverlib/debug.h
  15. +857 −0 driverlib/driverlib-cm3.ewp
  16. BIN driverlib/driverlib-cm3.sgxx
  17. +636 −0 driverlib/driverlib-cm3.uvopt
  18. +550 −0 driverlib/driverlib-cm3.uvproj
  19. +857 −0 driverlib/driverlib-cm4f.ewp
  20. BIN driverlib/driverlib-cm4f.sgxx
  21. +636 −0 driverlib/driverlib-cm4f.uvopt
  22. +550 −0 driverlib/driverlib-cm4f.uvproj
  23. +1,140 −0 driverlib/eeprom.c
  24. +279 −0 driverlib/eeprom.h
  25. +1,190 −0 driverlib/epi.c
  26. +319 −0 driverlib/epi.h
  27. +1,381 −0 driverlib/ethernet.c
  28. +187 −0 driverlib/ethernet.h
  29. +648 −0 driverlib/fan.c
  30. +183 −0 driverlib/fan.h
  31. +929 −0 driverlib/flash.c
  32. +126 −0 driverlib/flash.h
  33. +299 −0 driverlib/fpu.c
  34. +112 −0 driverlib/fpu.h
  35. +2,075 −0 driverlib/gpio.c
  36. +199 −0 driverlib/gpio.h
  37. +1,352 −0 driverlib/hibernate.c
  38. +167 −0 driverlib/hibernate.h
  39. +1,593 −0 driverlib/i2c.c
  40. +224 −0 driverlib/i2c.h
  41. +1,149 −0 driverlib/i2s.c
  42. +169 −0 driverlib/i2s.h
  43. +837 −0 driverlib/interrupt.c
  44. +93 −0 driverlib/interrupt.h
  45. +1,548 −0 driverlib/lpc.c
  46. +485 −0 driverlib/lpc.h
  47. +460 −0 driverlib/mpu.c
  48. +162 −0 driverlib/mpu.h
  49. +999 −0 driverlib/peci.c
  50. +241 −0 driverlib/peci.h
  51. +61,811 −0 driverlib/pin_map.h
  52. +1,880 −0 driverlib/pwm.c
  53. +298 −0 driverlib/pwm.h
  54. +633 −0 driverlib/qei.c
  55. +127 −0 driverlib/qei.h
  56. +36 −0 driverlib/readme.txt
  57. +6,028 −0 driverlib/rom.h
  58. +4,929 −0 driverlib/rom_map.h
  59. +870 −0 driverlib/ssi.c
  60. +151 −0 driverlib/ssi.h
  61. +3,134 −0 driverlib/sysctl.c
  62. +662 −0 driverlib/sysctl.h
  63. +256 −0 driverlib/sysexc.c
  64. +89 −0 driverlib/sysexc.h
  65. +275 −0 driverlib/systick.c
  66. +78 −0 driverlib/systick.h
  67. +1,549 −0 driverlib/timer.c
  68. +236 −0 driverlib/timer.h
  69. +1,948 −0 driverlib/uart.c
  70. +275 −0 driverlib/uart.h
  71. +1,383 −0 driverlib/udma.c
  72. +755 −0 driverlib/udma.h
  73. +4,058 −0 driverlib/usb.c
  74. +587 −0 driverlib/usb.h
  75. +628 −0 driverlib/watchdog.c
  76. +95 −0 driverlib/watchdog.h
View
@@ -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
@@ -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
@@ -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
Oops, something went wrong.

0 comments on commit 8a6bdea

Please sign in to comment.