view fcdev3b-hacks/mkromvecs.sh @ 647:94cb5e76b3b5

FCHG: fixed corner case bug of missing discharge init on charger unplug also turn on LEDC during i2v calibration
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 16 Apr 2020 16:48:08 +0000
parents 8d9298e0823a
children
line wrap: on
line source

#!/bin/sh

set -e

cp fwimage.bin fwromvecs.bin
xxd -r -c 4 ../fcdev3b-hacks/romvecs.patch fwromvecs.bin

../helpers/mk-flash-script fwromvecs.bin 0 0x40000 > flash-romvecs