view ringtools/fc-meltest-e1 @ 1000:39a6090a052a

doc/How-flash-really-works: article written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2023 09:08:19 +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"'