Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Astro
rust-card10
Commits
5227a92b
Commit
5227a92b
authored
Sep 25, 2019
by
Astro
⚙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firmware: update to v1.11
parent
8d5251a2
Pipeline
#4025
passed with stage
in 9 minutes and 25 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
card10-sys/firmware
card10-sys/firmware
+1
-1
card10-sys/vendor/client.c
card10-sys/vendor/client.c
+31
-0
card10-sys/vendor/server.c
card10-sys/vendor/server.c
+8
-0
No files found.
firmware
@
981c83bb
Compare
9325a212
...
981c83bb
Subproject commit 9
325a21266bf5647410d803539190962aa646a
84
Subproject commit 9
81c83bb5d3069871c8564f2e579d7f57389ac
84
card10-sys/vendor/client.c
View file @
5227a92b
...
...
@@ -1119,6 +1119,32 @@ int epic_file_mkdir(const char *dirname)
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_RTC_GET_MONOTONIC_SECONDS */
uint32_t
epic_rtc_get_monotonic_seconds
(
void
)
{
const
int
epc__apistub_size
=
0
;
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_RTC_GET_MONOTONIC_SECONDS
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
return
*
(
uint32_t
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_RTC_GET_MONOTONIC_MILLISECONDS */
uint64_t
epic_rtc_get_monotonic_milliseconds
(
void
)
{
const
int
epc__apistub_size
=
0
;
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_RTC_GET_MONOTONIC_MILLISECONDS
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
return
*
(
uint64_t
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_RTC_GET_SECONDS */
uint32_t
epic_rtc_get_seconds
(
void
)
{
...
...
@@ -1280,6 +1306,8 @@ void epic_isr_ctrl_c(api_int_id_t id)
__attribute__
((
weak
,
alias
(
"__epic_isr_default_handler"
)));
void
epic_isr_bhi160_accelerometer
(
api_int_id_t
id
)
__attribute__
((
weak
,
alias
(
"__epic_isr_default_handler"
)));
void
epic_isr_bhi160_magnetometer
(
api_int_id_t
id
)
__attribute__
((
weak
,
alias
(
"__epic_isr_default_handler"
)));
void
epic_isr_bhi160_orientation
(
api_int_id_t
id
)
__attribute__
((
weak
,
alias
(
"__epic_isr_default_handler"
)));
void
epic_isr_bhi160_gyroscope
(
api_int_id_t
id
)
...
...
@@ -1323,6 +1351,9 @@ void __dispatch_isr(api_int_id_t id)
case
EPIC_INT_BHI160_ACCELEROMETER
:
epic_isr_bhi160_accelerometer
(
id
);
break
;
case
EPIC_INT_BHI160_MAGNETOMETER
:
epic_isr_bhi160_magnetometer
(
id
);
break
;
case
EPIC_INT_BHI160_ORIENTATION
:
epic_isr_bhi160_orientation
(
id
);
break
;
...
...
card10-sys/vendor/server.c
View file @
5227a92b
...
...
@@ -435,6 +435,14 @@ void __api_dispatch_call(uint32_t id, void*epc__apistub_buffer)
*
(
const
char
**
)(
epc__apistub_buffer
+
0
)
);
break
;
case
API_RTC_GET_MONOTONIC_SECONDS
:
*
((
uint32_t
*
)
epc__apistub_buffer
)
=
epic_rtc_get_monotonic_seconds
(
);
break
;
case
API_RTC_GET_MONOTONIC_MILLISECONDS
:
*
((
uint64_t
*
)
epc__apistub_buffer
)
=
epic_rtc_get_monotonic_milliseconds
(
);
break
;
case
API_RTC_GET_SECONDS
:
*
((
uint32_t
*
)
epc__apistub_buffer
)
=
epic_rtc_get_seconds
(
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment