Lines Matching +full:arm +full:- +full:none +full:- +full:eabi
4 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
13 # thread configs/config-thread.h
14 # suite-b configs/config-suite-b.h
15 # psk configs/config-ccm-psk-tls1_2.h
19 set -eu
23 if [ -r $CONFIG_H ]; then :; else
30 if grep -i cmake Makefile >/dev/null; then
35 if which arm-none-eabi-gcc >/dev/null 2>&1; then :; else
36 echo "You need the ARM-GCC toolchain in your path" >&2
37 echo "See https://launchpad.net/gcc-arm-embedded/" >&2
41 ARMGCC_FLAGS='-Os -march=armv7-m -mthumb'
42 OUTFILE='00-footprint-summary.txt'
67 scripts/config.py --force set MBEDTLS_NO_PLATFORM_ENTROPY || true
71 CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld \
74 OUT="size-${NAME}.txt"
75 arm-none-eabi-size -t library/libmbed*.a > "$OUT"
76 log "$( head -n1 "$OUT" )"
77 log "$( tail -n1 "$OUT" )"
87 log "for bare-metal ARM Cortex-M3/M4 microcontrollers."
90 MBEDTLS_VERSION=$( sed -n 's/.*VERSION_STRING *"\(.*\)"/\1/p' $VERSION_H )
91 if git rev-parse HEAD >/dev/null; then
92 GIT_HEAD=$( git rev-parse HEAD | head -c 10 )
100 log "$( arm-none-eabi-gcc --version | head -n1 )"
104 doit thread configs/config-thread.h
105 doit suite-b configs/config-suite-b.h
106 doit psk configs/config-ccm-psk-tls1_2.h
108 zip mbedtls-footprint.zip "$OUTFILE" size-*.txt >/dev/null