Browse Source

[STM32F0:RTC] Renamed common files to be consistent to file naming scheme

pull/177/merge
BuFran 11 years ago
committed by Piotr Esden-Tempski
parent
commit
4bb18baa59
  1. 0
      include/libopencm3/stm32/common/rtc_common_l1f024.h
  2. 2
      include/libopencm3/stm32/f0/rtc.h
  3. 2
      include/libopencm3/stm32/f2/rtc.h
  4. 2
      include/libopencm3/stm32/f4/rtc.h
  5. 2
      include/libopencm3/stm32/l1/rtc.h
  6. 0
      lib/stm32/common/rtc_common_l1f024.c
  7. 4
      lib/stm32/f0/Makefile
  8. 32
      lib/stm32/f0/rtc.c
  9. 2
      lib/stm32/f2/Makefile
  10. 24
      lib/stm32/f2/rtc.c
  11. 2
      lib/stm32/f4/Makefile
  12. 24
      lib/stm32/f4/rtc.c
  13. 2
      lib/stm32/l1/Makefile
  14. 24
      lib/stm32/l1/rtc.c

0
include/libopencm3/stm32/common/rtc_common_bcd.h → include/libopencm3/stm32/common/rtc_common_l1f024.h

2
include/libopencm3/stm32/f0/rtc.h

@ -32,6 +32,6 @@
#define LIBOPENCM3_RTC_H
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
#endif

2
include/libopencm3/stm32/f2/rtc.h

@ -32,6 +32,6 @@ LGPL License Terms @ref lgpl_license
#define LIBOPENCM3_RTC_H
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
#endif

2
include/libopencm3/stm32/f4/rtc.h

@ -32,7 +32,7 @@ LGPL License Terms @ref lgpl_license
#define LIBOPENCM3_RTC_H
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
BEGIN_DECLS

2
include/libopencm3/stm32/l1/rtc.h

@ -32,6 +32,6 @@ LGPL License Terms @ref lgpl_license
#define LIBOPENCM3_RTC_H
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
#endif

0
lib/stm32/common/rtc_common_bcd.c → lib/stm32/common/rtc_common_l1f024.c

4
lib/stm32/f0/Makefile

@ -33,10 +33,10 @@ CFLAGS = -Os -g \
ARFLAGS = rcs
OBJS = flash.o rcc.o usart.o dma.o
OBJS = flash.o rcc.o usart.o dma.o rtc.o
OBJS += gpio_common_all.o gpio_common_f0234.o crc_common_all.o \
pwr_common_all.o iwdg_common_all.o rtc_common_bcd.o \
pwr_common_all.o iwdg_common_all.o rtc_common_l1f024.o \
dma_common_l1f013.o
VPATH += ../../usb:../:../../cm3:../common

32
lib/stm32/f0/rtc.c

@ -0,0 +1,32 @@
/** @defgroup rtc_file RTC
*
* @ingroup STM32F0xx
*
* @brief <b>libopencm3 STM32F0xx RTC</b>
*
* @version 1.0.0
*
* @date 10 July 2013
*
* 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/>.
*/
#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>

2
lib/stm32/f2/Makefile

@ -37,7 +37,7 @@ OBJS = gpio.o exti.o rcc.o
OBJS += crc_common_all.o dac_common_all.o dma_common_f24.o \
gpio_common_all.o gpio_common_f0234.o i2c_common_all.o \
iwdg_common_all.o rtc_common_bcd.o spi_common_all.o \
iwdg_common_all.o rtc_common_l1f024.o spi_common_all.o \
spi_common_f124.o timer_common_all.o timer_common_f234.o \
timer_common_f24.o usart_common_all.o usart_common_f124.o \
flash_common_f234.o flash_common_f24.o hash_common_f24.o \

24
lib/stm32/f2/rtc.c

@ -1,15 +1,15 @@
/** @defgroup rtc_file RTC
@ingroup STM32F2xx
@brief <b>libopencm3 STM32F2xx RTC</b>
@version 1.0.0
@date 4 March 2013
LGPL License Terms @ref lgpl_license
*/
*
* @ingroup STM32F2xx
*
* @brief <b>libopencm3 STM32F2xx RTC</b>
*
* @version 1.0.0
*
* @date 4 March 2013
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
@ -29,4 +29,4 @@ LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>

2
lib/stm32/f4/Makefile

@ -40,7 +40,7 @@ OBJS = adc.o can.o gpio.o exti.o pwr.o rcc.o rtc.o crypto.o
OBJS += crc_common_all.o dac_common_all.o dma_common_f24.o \
gpio_common_all.o gpio_common_f0234.o i2c_common_all.o \
iwdg_common_all.o pwr_common_all.o rtc_common_bcd.o \
iwdg_common_all.o pwr_common_all.o rtc_common_l1f024.o \
spi_common_all.o spi_common_f124.o timer_common_all.o \
timer_common_f234.o timer_common_f24.o usart_common_all.o \
usart_common_f124.o flash_common_f234.o flash_common_f24.o \

24
lib/stm32/f4/rtc.c

@ -1,15 +1,15 @@
/** @defgroup rtc_file RTC
@ingroup STM32F4xx
@brief <b>libopencm3 STM32F4xx RTC</b>
@version 1.0.0
@date 4 March 2013
LGPL License Terms @ref lgpl_license
*/
*
* @ingroup STM32F4xx
*
* @brief <b>libopencm3 STM32F4xx RTC</b>
*
* @version 1.0.0
*
* @date 4 March 2013
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
@ -31,7 +31,7 @@ LGPL License Terms @ref lgpl_license
#include <libopencm3/stm32/exti.h>
#include <libopencm3/stm32/f4/nvic.h>
#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
/*---------------------------------------------------------------------------*/

2
lib/stm32/l1/Makefile

@ -37,7 +37,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_bcd.o
OBJS += pwr_common_all.o pwr.o rtc_common_l1f024.o
OBJS += spi_common_all.o timer_common_all.o
OBJS += usart_common_all.o usart_common_f124.o

24
lib/stm32/l1/rtc.c

@ -1,15 +1,15 @@
/** @defgroup rtc_file RTC
@ingroup STM32L1xx
@brief <b>libopencm3 STM32L1xx RTC</b>
@version 1.0.0
@date 4 March 2013
LGPL License Terms @ref lgpl_license
*/
*
* @ingroup STM32L1xx
*
* @brief <b>libopencm3 STM32L1xx RTC</b>
*
* @version 1.0.0
*
* @date 4 March 2013
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
@ -29,4 +29,4 @@ LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
#include <libopencm3/stm32/common/rtc_common_l1f024.h>

Loading…
Cancel
Save