X-Git-Url: http://git.code-monkey.de/?p=gps-watch.git;a=blobdiff_plain;f=SConscript.target;h=a927dd7292259df9195a792a06735dd65558e6ea;hp=afd10bde73d3de69c6f570d3bf73415e624026b4;hb=HEAD;hpb=ce2d8f1755f3a2ddd90a9bc8595d5b581dde42ba diff --git a/SConscript.target b/SConscript.target index afd10bd..a927dd7 100644 --- a/SConscript.target +++ b/SConscript.target @@ -59,6 +59,8 @@ bootloader_source_files = [ 'src/bootloader/flash.rs', ] +bootloader_bins = [] + for s in ['intermediate', 'final']: bootloader_env = env.Clone() @@ -82,8 +84,18 @@ for s in ['intermediate', 'final']: Default(bootloader_bin) + bootloader_bins.append(bootloader_bin) + +bootloader_intermediate_frm = \ + bootloader_env.Frm(bootloader_bins[0]) + +Default(bootloader_intermediate_frm) + application_source_files = [ 'src/application/main.rs', # Must be listed first (see below). + 'src/application/button.rs', + 'src/application/model.rs', + 'src/application/views.rs', 'src/application/uart0.rs', ]