Changeset 0ab86d09 in rtems


Ignore:
Timestamp:
Sep 13, 2016, 2:32:51 PM (3 years ago)
Author:
Alexander Krutwig <alexander.krutwig@…>
Branches:
master
Children:
a3e9ae5d
Parents:
a42be52
git-author:
Alexander Krutwig <alexander.krutwig@…> (09/13/16 14:32:51)
git-committer:
Alexander Krutwig <alexander.krutwig@…> (09/16/16 08:07:03)
Message:

bsp/atsam: Add SPI bus driver

Location:
c/src/lib/libbsp/arm/atsam
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/atsam/Makefile.am

    ra42be52 r0ab86d09  
    5454include_bsp_HEADERS += include/atsam-i2c.h
    5555include_bsp_HEADERS += include/i2c.h
     56include_bsp_HEADERS += include/atsam-spi.h
     57include_bsp_HEADERS += include/spi.h
    5658include_bsp_HEADERS += include/power.h
    5759
     
    438440libbsp_a_SOURCES += i2c/atsam_i2c_init.c
    439441
     442# SPI
     443libbsp_a_SOURCES += spi/atsam_spi_bus.c
     444libbsp_a_SOURCES += spi/atsam_spi_init.c
     445
    440446# RTC
    441447libbsp_a_SOURCES += ../../shared/tod.c
  • c/src/lib/libbsp/arm/atsam/preinstall.am

    ra42be52 r0ab86d09  
    142142PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/i2c.h
    143143
     144$(PROJECT_INCLUDE)/bsp/atsam-spi.h: include/atsam-spi.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/atsam-spi.h
     146PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/atsam-spi.h
     147
     148$(PROJECT_INCLUDE)/bsp/spi.h: include/spi.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/spi.h
     150PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/spi.h
     151
    144152$(PROJECT_INCLUDE)/bsp/power.h: include/power.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    145153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/power.h
Note: See TracChangeset for help on using the changeset viewer.