application: Use the Button struct to handle the play button.
[gps-watch.git] / SConscript.target
index fa4ca1775d42e3ea4d47efce8000a67bdb06e62a..539db881882e4ba961f3a18a7b20b9c005d28f61 100644 (file)
@@ -36,7 +36,7 @@ env.Append(LINKFLAGS = [
 
 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',
@@ -84,6 +84,7 @@ for s in ['intermediate', 'final']:
 
 application_source_files = [
     'src/application/main.rs', # Must be listed first (see below).
+    'src/application/button.rs',
     'src/application/uart0.rs',
 ]