Compare commits

...

2 Commits

2 changed files with 2 additions and 3 deletions

View File

@@ -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);

View File

@@ -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(),