Changeset 5d0f0de4 in rtems


Ignore:
Timestamp:
Jul 28, 2016, 11:33:50 AM (3 years ago)
Author:
Alexander Krutwig <alexander.krutwig@…>
Branches:
master
Children:
b0f08c8
Parents:
5c09e9d
git-author:
Alexander Krutwig <alexander.krutwig@…> (07/28/16 11:33:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/08/16 11:56:36)
Message:

bsp/atsam: Add power support

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

Legend:

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

    r5c09e9d r5d0f0de4  
    5454include_bsp_HEADERS += include/atsam-i2c.h
    5555include_bsp_HEADERS += include/i2c.h
     56include_bsp_HEADERS += include/power.h
    5657
    5758include_libchipdir = $(includedir)/libchip
     
    395396libbsp_a_SOURCES += startup/bspstarthooks.c
    396397libbsp_a_SOURCES += startup/pin-config.c
     398libbsp_a_SOURCES += startup/power.c
     399libbsp_a_SOURCES += startup/power-rtc.c
     400libbsp_a_SOURCES += startup/power-clock.c
    397401
    398402# IRQ
  • c/src/lib/libbsp/arm/atsam/include/bsp.h

    r5c09e9d r5d0f0de4  
    9090void atsam_rtc_get_time(rtems_time_of_day *tod);
    9191
     92
     93
    9294/** @} */
    9395
  • c/src/lib/libbsp/arm/atsam/preinstall.am

    r5c09e9d r5d0f0de4  
    142142PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/i2c.h
    143143
     144$(PROJECT_INCLUDE)/bsp/power.h: include/power.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/power.h
     146PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/power.h
     147
    144148$(PROJECT_INCLUDE)/libchip/$(dirstamp):
    145149        @$(MKDIR_P) $(PROJECT_INCLUDE)/libchip
Note: See TracChangeset for help on using the changeset viewer.