diff --git a/platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig b/platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig index 67643624672ee8df3fb54eec833ae9a3626b5966..565fc38de8814f8518690de50091ca63abee7c94 100644 --- a/platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig +++ b/platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig @@ -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 diff --git a/src/drivers/boards/nxphlite-v3/init.c b/src/drivers/boards/nxphlite-v3/init.c index 9d36a23bfe78c5b07aa18353d4710265478f352a..48e800dd77a0e237c20ceae8ea38a0c6f5d832d1 100644 --- a/src/drivers/boards/nxphlite-v3/init.c +++ b/src/drivers/boards/nxphlite-v3/init.c @@ -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 *