stm32l0: include rtc module
This commit is contained in:
parent
8310de2f5b
commit
572a50a53c
34
include/libopencm3/stm32/l0/rtc.h
Normal file
34
include/libopencm3/stm32/l0/rtc.h
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/** @defgroup rtc_defines RTC Defines
|
||||||
|
*
|
||||||
|
* @brief <b>Defined Constants and Types for the STM32L0xx RTC</b>
|
||||||
|
*
|
||||||
|
* @ingroup STM32L0xx_defines
|
||||||
|
*
|
||||||
|
* @version 1.0.0
|
||||||
|
*
|
||||||
|
* LGPL License Terms @ref lgpl_license
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of the libopencm3 project.
|
||||||
|
*
|
||||||
|
* This library is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef LIBOPENCM3_RTC_H
|
||||||
|
#define LIBOPENCM3_RTC_H
|
||||||
|
|
||||||
|
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
|
||||||
|
|
||||||
|
#endif
|
@ -28,6 +28,8 @@
|
|||||||
# include <libopencm3/stm32/f2/rtc.h>
|
# include <libopencm3/stm32/f2/rtc.h>
|
||||||
#elif defined(STM32F4)
|
#elif defined(STM32F4)
|
||||||
# include <libopencm3/stm32/f4/rtc.h>
|
# include <libopencm3/stm32/f4/rtc.h>
|
||||||
|
#elif defined(STM32L0)
|
||||||
|
# include <libopencm3/stm32/l0/rtc.h>
|
||||||
#elif defined(STM32L1)
|
#elif defined(STM32L1)
|
||||||
# include <libopencm3/stm32/l1/rtc.h>
|
# include <libopencm3/stm32/l1/rtc.h>
|
||||||
#elif defined(STM32L4)
|
#elif defined(STM32L4)
|
||||||
|
@ -51,6 +51,7 @@ OBJS += i2c_common_v2.o
|
|||||||
OBJS += rng_common_v1.o
|
OBJS += rng_common_v1.o
|
||||||
OBJS += usart_common_all.o usart_common_v2.o
|
OBJS += usart_common_all.o usart_common_v2.o
|
||||||
OBJS += iwdg_common_all.o
|
OBJS += iwdg_common_all.o
|
||||||
|
OBJS += rtc_common_l1f024.o
|
||||||
|
|
||||||
OBJS += usb.o usb_control.o usb_standard.o usb_msc.o
|
OBJS += usb.o usb_control.o usb_standard.o usb_msc.o
|
||||||
OBJS += st_usbfs_core.o st_usbfs_v2.o
|
OBJS += st_usbfs_core.o st_usbfs_v2.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user