view ringtools/fc-meltest-e1 @ 916:54a0bc149d9c

fc-loadtool: add support for Samsung K5L29xx_A flash
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Dec 2022 21:07:30 +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"'