mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces
This commit is contained in:
@@ -10045,7 +10045,7 @@
|
||||
stm32_rtcc.c, stm32_rtcounter.c, and stm32f*_rcc.c: The
|
||||
STM32F4Discovery board doesn't come with a Low speed external
|
||||
oscillator so the default LSE source for the RTC doesn't work. In
|
||||
stm32_rtcc.c the up_rtcinitialize() logic doesn't work with the LSI.
|
||||
stm32_rtcc.c the up_rtc_initialize() logic doesn't work with the LSI.
|
||||
The check on RTC_MAGIC on the BK0R register lead to rtc_setup() call
|
||||
that rightfully enables the lsi clock; but the next times, when the
|
||||
rtc is already setup, the rtc_resume() call does NOT start the lsi
|
||||
|
||||
+1
-1
Submodule Documentation updated: ffe506af46...4025464640
+1
-1
@@ -8777,7 +8777,7 @@ detailed bugfix information):
|
||||
Jussi Kivilinna.
|
||||
- STM32 RTC and clock control: The STM32F4Discovery board doesn't
|
||||
come with a Low speed external oscillator so the default LSE source
|
||||
for the RTC doesn't work. In stm32_rtcc.c the up_rtcinitialize()
|
||||
for the RTC doesn't work. In stm32_rtcc.c the up_rtc_initialize()
|
||||
logic doesn't work with the LSI. The check on RTC_MAGIC on the BK0R
|
||||
register lead to rtc_setup() call that rightfully enables the LSI
|
||||
clock; but the next times, when the rtc is already setup, the
|
||||
|
||||
+1
-1
Submodule arch updated: a3bf280f61...676240da11
@@ -1765,7 +1765,7 @@ size_t up_check_intstack_remain(void);
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the builtin, MCU hardware RTC per the selected
|
||||
@@ -1786,7 +1786,7 @@ size_t up_check_intstack_remain(void);
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_RTC) && !defined(CONFIG_RTC_EXTERNAL)
|
||||
int up_rtcinitialize(void);
|
||||
int up_rtc_initialize(void);
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
|
||||
@@ -206,7 +206,7 @@ void clock_initialize(void)
|
||||
* must be deferred until the system has booted.
|
||||
*/
|
||||
|
||||
up_rtcinitialize();
|
||||
up_rtc_initialize();
|
||||
#endif
|
||||
|
||||
/* Initialize the time value to match the RTC */
|
||||
|
||||
Reference in New Issue
Block a user