Files
BaS_gcc/flash_scripts/flash_firebee_etos.sh
Markus Fröschle 6b9c8351ca build and flash EmuTOS
emutos source directory needs to be installed on the same directory level than
BaS_gcc, than this script can be directly called to build and flash
EmuTOS for the Firebee. Convenient if you have to do a git bisect
2020-04-26 10:20:57 +02:00

9 lines
251 B
Bash
Executable File

#!/bin/bash
pushd ../../emutos
make clean firebee -j
m68k-elf-objcopy --alt-machine-code 4 -Isrec -Oelf32-m68k emutosfb.s19 emutosfb.elf
mv emutosfb.elf ../BaS_gcc/flash_scripts/emutos-firebee.elf
popd
time bdmctrl flash_firebee_etos.bdm /dev/bdmcf3