diff options
author | Andreas Färber <afaerber@suse.de> | 2015-11-29 03:35:51 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-02-29 19:45:36 +0000 |
commit | c3c15d2e076639fad185a0c45b866e9c5e754af5 (patch) | |
tree | 85c9b09e5f7aa8355e85f16ae32b15bbdb5b5ee3 /contrib | |
parent | 7cf68a0f16e265996143056754774481eb9df7eb (diff) | |
download | riscv-openocd-c3c15d2e076639fad185a0c45b866e9c5e754af5.zip riscv-openocd-c3c15d2e076639fad185a0c45b866e9c5e754af5.tar.gz riscv-openocd-c3c15d2e076639fad185a0c45b866e9c5e754af5.tar.bz2 |
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>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/loaders/erase_check/armv7m_erase_check.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/loaders/erase_check/armv7m_erase_check.inc b/contrib/loaders/erase_check/armv7m_erase_check.inc new file mode 100644 index 0000000..1fe25cd --- /dev/null +++ b/contrib/loaders/erase_check/armv7m_erase_check.inc @@ -0,0 +1,2 @@ +/* Autogenerated with ../../../src/helper/bin2char.sh */ +0x03,0x78,0x01,0x30,0x1a,0x40,0x01,0x39,0xfa,0xd1,0x00,0xbe, |