File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ zephyr_sources(
6
6
loader.c
7
7
)
8
8
9
+ zephyr_library_sources_ifdef (CONFIG_NEWLIB_LIBC newlib_fix.c )
10
+
9
11
# get code-partition slot0 address
10
12
dt_nodelabel (dts_partition_path NODELABEL "slot0_partition" )
11
13
dt_reg_addr (img_0_off PATH ${dts_partition_path} )
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2019, Intel Corporation.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ #include <toolchain.h>
8
+ #include <stdio.h>
9
+ #include <stddef.h>
10
+ #include <unistd.h>
11
+ #include <sys/stat.h>
12
+
13
+ #include <reent.h>
14
+
15
+ int __weak _gettimeofday_r (struct _reent * r , struct timeval * __tp , void * __tzp )
16
+ {
17
+ ARG_UNUSED (r );
18
+ ARG_UNUSED (__tp );
19
+ ARG_UNUSED (__tzp );
20
+
21
+ return -1 ;
22
+ }
You can’t perform that action at this time.
0 commit comments