-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathglobalchk
executable file
·19 lines (19 loc) · 2.45 KB
/
globalchk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/env bash
echo Checking ../lib/armv7-m/libmri_mbed1768.a
arm-none-eabi-nm -g --defined-only ../lib/armv7-m/libmri_mbed1768.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$"
arm-none-eabi-nm -u ../lib/armv7-m/libmri_mbed1768.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$" | grep -v "........ . SystemCoreClock$" | sort -u
echo Checking ../lib/armv7-m/libmri_bambino210.a
arm-none-eabi-nm -g --defined-only ../lib/armv7-m/libmri_bambino210.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$"
arm-none-eabi-nm -u ../lib/armv7-m/libmri_bambino210.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$" | grep -v "........ . SystemCoreClock$" | sort -u
echo Checking ../lib/armv7-m/libmri_nrf52dk_fpu_soft.a
arm-none-eabi-nm -g --defined-only ../lib/armv7-m/libmri_nrf52dk_fpu_soft.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$"
arm-none-eabi-nm -u ../lib/armv7-m/libmri_nrf52dk_fpu_soft.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$" | grep -v "........ . SystemCoreClock$" | sort -u
echo Checking ../lib/armv7-m/libmri_nrf52dk_fpu_hard.a
arm-none-eabi-nm -g --defined-only ../lib/armv7-m/libmri_nrf52dk_fpu_hard.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$"
arm-none-eabi-nm -u ../lib/armv7-m/libmri_nrf52dk_fpu_hard.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$" | grep -v "........ . SystemCoreClock$" | sort -u
echo Checking ../lib/armv7-m/libmri_stm32f429-disco.a
arm-none-eabi-nm -g --defined-only ../lib/armv7-m/libmri_stm32f429-disco.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$"
arm-none-eabi-nm -u ../lib/armv7-m/libmri_stm32f429-disco.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$" | grep -v "........ . SystemCoreClock$" | sort -u
echo Checking ../lib/armv7-m/libmri_stm32f411-blackpill.a
arm-none-eabi-nm -g --defined-only ../lib/armv7-m/libmri_stm32f411-blackpill.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$"
arm-none-eabi-nm -u ../lib/armv7-m/libmri_stm32f411-blackpill.a | grep "........ . .*" | grep -v "........ . mri.*" | grep -v "........ . .*_.*Handler$" | grep -v "........ . SystemCoreClock$" | sort -u