view ringtools/fc-meltest-e1 @ 982:1c5b485f10ba

fc-loadtool flash: do AMD reset after PL-J PPB write operations
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Dec 2023 06:04:37 +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"'