Skip to content
Snippets Groups Projects
Commit 50444269 authored by David Sidrane's avatar David Sidrane Committed by Daniel Agar
Browse files

nxphlite-v3:Use non data time RTC configuration.

   One a 32.768 is added (RC16) to the board this will keep time.
parent d466a097
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment