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
9 lines
251 B
Bash
Executable File
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
|