stm32l0: commonize PWR definitions and add to l0

This commit is contained in:
Robin Kreis
2015-05-21 10:45:53 +02:00
committed by Karl Palsson
parent 0a76a24286
commit 112cf5d085
8 changed files with 137 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
/** @addtogroup pwr_file PWR
/** @addtogroup pwr_file
@author @htmlonly © @endhtmlonly 2012
Ken Sarkies <ksarkies@internode.on.net>

View File

@@ -1,19 +1,6 @@
/** @defgroup pwr_file PWR
*
* @ingroup STM32L1xx
*
* @brief <b>libopencm3 STM32L1xx Power Control</b>
*
* @version 1.0.0
/** @addtogroup pwr_file
*
* @author @htmlonly &copy; @endhtmlonly 2012 Karl Palsson <karlp@tweak.net.au>
*
* @date 4 March 2013
*
* This library supports the power control system for the
* STM32L1 series of ARM Cortex Microcontrollers by ST Microelectronics.
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.

View File

@@ -36,6 +36,7 @@ CFLAGS += $(DEBUG_FLAGS)
ARFLAGS = rcs
OBJS = gpio.o rcc.o
OBJS += pwr_common_all.o pwr_common_l01.o
OBJS += gpio_common_all.o gpio_common_f0234.o rcc_common_all.o
OBJS += crs_common_all.o

View File

@@ -39,7 +39,7 @@ OBJS += crc_common_all.o dac_common_all.o
OBJS += dma_common_l1f013.o
OBJS += gpio_common_all.o gpio_common_f0234.o
OBJS += i2c_common_all.o iwdg_common_all.o
OBJS += pwr_common_all.o pwr.o rtc_common_l1f024.o
OBJS += pwr_common_all.o pwr_common_l01.o rtc_common_l1f024.o
OBJS += spi_common_all.o spi_common_l1f124.o timer_common_all.o
OBJS += usart_common_all.o usart_common_f124.o
OBJS += exti_common_all.o