diff --git a/include/libopencm3/stm32/l0/rtc.h b/include/libopencm3/stm32/l0/rtc.h new file mode 100644 index 00000000..6f71152d --- /dev/null +++ b/include/libopencm3/stm32/l0/rtc.h @@ -0,0 +1,34 @@ +/** @defgroup rtc_defines RTC Defines + * + * @brief Defined Constants and Types for the STM32L0xx RTC + * + * @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 . + */ + +#ifndef LIBOPENCM3_RTC_H +#define LIBOPENCM3_RTC_H + +#include + +#endif diff --git a/include/libopencm3/stm32/rtc.h b/include/libopencm3/stm32/rtc.h index bf9bdbdd..d6ab18a7 100644 --- a/include/libopencm3/stm32/rtc.h +++ b/include/libopencm3/stm32/rtc.h @@ -28,6 +28,8 @@ # include #elif defined(STM32F4) # include +#elif defined(STM32L0) +# include #elif defined(STM32L1) # include #elif defined(STM32L4) diff --git a/lib/stm32/l0/Makefile b/lib/stm32/l0/Makefile index acb15b51..40455bcc 100644 --- a/lib/stm32/l0/Makefile +++ b/lib/stm32/l0/Makefile @@ -51,6 +51,7 @@ OBJS += i2c_common_v2.o OBJS += rng_common_v1.o OBJS += usart_common_all.o usart_common_v2.o OBJS += iwdg_common_all.o +OBJS += rtc_common_l1f024.o OBJS += usb.o usb_control.o usb_standard.o usb_msc.o OBJS += st_usbfs_core.o st_usbfs_v2.o