altoslib/altosuilib: Validate rom image is for target device
authorKeith Packard <keithp@keithp.com>
Sat, 13 Jan 2018 06:27:41 +0000 (22:27 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 13 Jan 2018 06:27:41 +0000 (22:27 -0800)
commitb95db5819885da89504d5e11decfda98cfac37aa
treee91f35701795e0b3f68c3c532db620c4bd1accf0
parentf26cc1a677f577da533425a15485fcaa24626b23
altoslib/altosuilib: Validate rom image is for target device

This should avoid mis-programming devices with incorrect firmware.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosFlash.java
altoslib/AltosHexfile.java
altoslib/AltosProgrammer.java
altoslib/AltosRomconfig.java
altoslib/AltosSelfFlash.java
altoslib/AltosUsbId.java [new file with mode: 0644]
altoslib/Makefile.am
altosuilib/AltosFlashUI.java