nxphlite-v3:Use non data time RTC configuration.

One a 32.768 is added (RC16) to the board this will keep time.
This commit is contained in:
David Sidrane 2018-07-24 16:18:02 -07:00 committed by Daniel Agar
parent d466a09708
commit 5044426949
2 changed files with 1 additions and 22 deletions

View File

@ -575,7 +575,7 @@ CONFIG_SPI_EXCHANGE=y
# CONFIG_TIMER is not set
# CONFIG_ONESHOT is not set
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_DATETIME is not set
# CONFIG_RTC_ALARM is not set
# CONFIG_RTC_DRIVER is not set
# CONFIG_RTC_EXTERNAL is not set

View File

@ -244,29 +244,8 @@ kinetis_boardinitialize(void)
/* Power on Spektrum */
VDD_3V3_SPEKTRUM_POWER_EN(true);
}
//FIXME: Stubs -----v
int up_rtc_getdatetime(FAR struct tm *tp);
int up_rtc_getdatetime(FAR struct tm *tp)
{
tp->tm_sec = 0;
tp->tm_min = 0;
tp->tm_hour = 0;
tp->tm_mday = 30;
tp->tm_mon = 10;
tp->tm_year = 116;
tp->tm_wday = 1; /* Day of the week (0-6) */
tp->tm_yday = 0; /* Day of the year (0-365) */
tp->tm_isdst = 0; /* Non-0 if daylight savings time is in effect */
return 0;
}
//FIXME: Stubs -----v
/****************************************************************************
* Name: board_app_initialize
*