view ringtools/fc-meltest-e1 @ 981:f21798eb13cf

fc-loadtool: implement flash ppb-* commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Dec 2023 05:46:00 +0000
parents 2fe0f7fe1f86
children
line wrap: on
line source

#!/bin/sh

if [ $# != 1 ]
then
	echo "usage: $0 e1_source_file" 1>&2
	exit 1
fi

tmpfile=/tmp/fc-test-melody.e1

set -ex

fc-e1gen "$1" $tmpfile
fc-fsio upload-file $tmpfile /mel/test.e1
fc-shell 'at@e1="/mel/test.e1"'