rtc_common_all never existed, and f3 has the same "v2" peripheral used by ~all parts other than the f1. We don't have any f3 rtc test code, but the existing code was clearly wrong, and this is at least including the correct basic defines. Fixes: https://github.com/libopencm3/libopencm3/issues/1106
41 lines
1.2 KiB
C
41 lines
1.2 KiB
C
/** @defgroup rtc_defines RTC Defines
|
|
*
|
|
* @brief <b>Defined Constants and Types for the STM32F3xx Real Time Clock </b>
|
|
*
|
|
* @ingroup STM32F3xx_defines
|
|
*
|
|
* @author @htmlonly © @endhtmlonly 2014
|
|
* Ken Sarkies <ksarkies@internode.on.net>
|
|
*
|
|
* @version 1.0.0
|
|
*
|
|
* @date 13 January 2014
|
|
*
|
|
* LGPL License Terms @ref lgpl_license
|
|
*/
|
|
/*
|
|
* This file is part of the libopencm3 project.
|
|
*
|
|
* Copyright (C) 2014 Ken Sarkies <ksarkies@internode.on.net>
|
|
*
|
|
* 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_F3_H
|
|
#define LIBOPENCM3_RTC_F3_H
|
|
|
|
#include <libopencm3/stm32/common/rtc_common_l1f024.h>
|
|
|
|
#endif
|