projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
application: Use the Button struct to handle the play button.
[gps-watch.git]
/
SConscript.target
diff --git
a/SConscript.target
b/SConscript.target
index 7beba88a78c63874a50d09c424ee40852cc6453f..539db881882e4ba961f3a18a7b20b9c005d28f61 100644
(file)
--- a/
SConscript.target
+++ b/
SConscript.target
@@
-36,7
+36,7
@@
env.Append(LINKFLAGS = [
libgcc_path = \
subprocess.check_output('{} -print-libgcc-file-name'.format(env['CC']),
libgcc_path = \
subprocess.check_output('{} -print-libgcc-file-name'.format(env['CC']),
- shell=True).strip()
+ shell=True).strip()
.decode('utf-8')
env.Append(RUSTCFLAGS = [
'-C', 'opt-level=s',
env.Append(RUSTCFLAGS = [
'-C', 'opt-level=s',
@@
-50,7
+50,8
@@
env.Append(LINKFLAGS = [
'-Wl,--gc-sections'
])
'-Wl,--gc-sections'
])
-SConscript('SConscript.libcommon', exports='env', duplicate=0)
+SConscript('SConscript.libcommon.c', exports='env', duplicate=0)
+SConscript('SConscript.libcommon.rs', exports='env', duplicate=0)
bootloader_source_files = [
'src/bootloader/main.rs', # Must be listed first (see below).
bootloader_source_files = [
'src/bootloader/main.rs', # Must be listed first (see below).
@@
-83,6
+84,8
@@
for s in ['intermediate', 'final']:
application_source_files = [
'src/application/main.rs', # Must be listed first (see below).
application_source_files = [
'src/application/main.rs', # Must be listed first (see below).
+ 'src/application/button.rs',
+ 'src/application/uart0.rs',
]
application_env = env.Clone()
]
application_env = env.Clone()