Skip to content

Commit

Permalink
fixup! cpu/kinetis/check-fcfield: use OBJDUMP
Browse files Browse the repository at this point in the history
  • Loading branch information
cladmi committed May 27, 2019
1 parent 6068502 commit f71328c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpu/kinetis/dist/check-fcfield-elf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ EXPECTED_FCFIELD="^fffffffffffffffffffffffffe..ffff$"
if ! printf '%s' "${ACTUAL_FCFIELD}" | grep -q "${EXPECTED_FCFIELD}" ; then
echo "Danger of bricking the device during flash!"
echo "Flash configuration field of ${ELFFILE}:"
arm-none-eabi-objdump -j.fcfield -s "${ELFFILE}"
${OBJDUMP} -j.fcfield -s "${ELFFILE}"
echo "Abort flash procedure!"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion cpu/kinetis/dist/check-fcfield-hex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ EXPECTED_FCFIELD="^fffffffffffffffffffffffffe..ffff$"
if ! printf '%s' "${ACTUAL_FCFIELD}" | grep -q "${EXPECTED_FCFIELD}"; then
echo "Danger of bricking the device during flash!"
echo "Flash configuration field of ${HEXFILE}:"
arm-none-eabi-objdump --start-address=${FCFIELD_START} --stop-address=${FCFIELD_END} ${HEXFILE} -s
${OBJDUMP} --start-address=${FCFIELD_START} --stop-address=${FCFIELD_END} ${HEXFILE} -s
echo "Abort flash procedure!"
exit 1
fi
Expand Down

0 comments on commit f71328c

Please sign in to comment.