Compare commits
2 Commits
073f6e2549
...
aae8970584
Author | SHA1 | Date | |
---|---|---|---|
aae8970584 | |||
a80db635cc |
@@ -298,7 +298,7 @@ void main(void) {
|
||||
|
||||
while(1) {
|
||||
lcd_clear();
|
||||
printf("hellOwOrld! %d\n", i);
|
||||
printf("Hellorld! %d\n", i);
|
||||
led_bar_set(i);
|
||||
|
||||
LED_RED = !(i & 1);
|
||||
|
@@ -270,11 +270,10 @@ fn run_chip(args: ArgRun, target: &mut PhysicalTarget) -> Result<(), Error> {
|
||||
let source_file = build_dir.join(&source_file_name);
|
||||
let output_file = source_file.with_extension("ihx");
|
||||
|
||||
let cmd = Some(OsString::from(format!("sdcc \"{}\"", source_file_name.to_string_lossy())));
|
||||
let cmd = Some(OsString::from(format!("sdcc \"{}\"", args.path.canonicalize()?.to_string_lossy())));
|
||||
let cmd_path = Some(build_dir.clone());
|
||||
|
||||
std::fs::create_dir_all(build_dir)?;
|
||||
std::fs::copy(args.path, &source_file)?;
|
||||
|
||||
write_chip(ArgWrite {
|
||||
path: output_file.into_os_string(),
|
||||
|
Reference in New Issue
Block a user