kinetis/check-fcfield: add fcfield verirication for bin files
This commit is contained in:
parent
963bbe75ba
commit
7156977fed
2
cpu/kinetis/dist/check-fcfield.sh
vendored
2
cpu/kinetis/dist/check-fcfield.sh
vendored
@ -28,6 +28,8 @@ get_fc_field()
|
|||||||
{
|
{
|
||||||
if [ ${1##*.} = elf ]; then
|
if [ ${1##*.} = elf ]; then
|
||||||
arm-none-eabi-objdump -j.fcfield -s "${1}"
|
arm-none-eabi-objdump -j.fcfield -s "${1}"
|
||||||
|
elif [ ${1##*.} = bin ]; then
|
||||||
|
arm-none-eabi-objdump --start-address=${FCFIELD_START} --stop-address=${FCFIELD_END} -bbinary -marm ${1} -s
|
||||||
elif [ ${1##*.} = hex ]; then
|
elif [ ${1##*.} = hex ]; then
|
||||||
arm-none-eabi-objdump --start-address=${FCFIELD_START} --stop-address=${FCFIELD_END} ${1} -s
|
arm-none-eabi-objdump --start-address=${FCFIELD_START} --stop-address=${FCFIELD_END} ${1} -s
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user