armv7m: Integrate build of erase check code
commitc3c15d2e076639fad185a0c45b866e9c5e754af5
authorAndreas Färber <afaerber@suse.de>
Sun, 29 Nov 2015 02:35:51 +0000 (29 03:35 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 29 Feb 2016 19:45:36 +0000 (29 19:45 +0000)
tree85c9b09e5f7aa8355e85f16ae32b15bbdb5b5ee3
parent7cf68a0f16e265996143056754774481eb9df7eb
armv7m: Integrate build of erase check code

Instead of documenting the file path as a comment and inline-commenting
the THUMB bytecode, include the hex array via preprocessor.

This assures the path is actually up-to-date and facilitates updating
the code.

Change-Id: Ieb0a7cd0bc14882ac96750f524616d9768a0c6f5
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3134
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
contrib/loaders/erase_check/armv7m_erase_check.inc [new file with mode: 0644]
src/target/armv7m.c