Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
50444269
Commit
50444269
authored
6 years ago
by
David Sidrane
Committed by
Daniel Agar
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig
+1
-1
1 addition, 1 deletion
platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig
src/drivers/boards/nxphlite-v3/init.c
+0
-21
0 additions, 21 deletions
src/drivers/boards/nxphlite-v3/init.c
with
1 addition
and
22 deletions
platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig
+
1
−
1
View file @
50444269
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/drivers/boards/nxphlite-v3/init.c
+
0
−
21
View file @
50444269
...
...
@@ -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
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment