Lines Matching +full:- +full:dot_mlr

30 set -euo pipefail
32 OT_TMP_DIR=/tmp/ot-size-report
35 OT_SHA_NEW=${GITHUB_SHA:-$(git rev-parse HEAD)}
38 OT_SHA_OLD="$(git cat-file -p "${OT_SHA_NEW}" | grep 'parent ' | head -n1 | cut -d' ' -f2)"
46 if arm-none-eabi-gcc --version | grep -q 'Arm Embedded Processors 7'; then
51 …wget --tries 4 --no-check-certificate --quiet https://developer.arm.com/-/media/Files/downloads/gn…
52 && tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2)
53 export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH
55 arm-none-eabi-gcc --version
60 sudo apt-get --no-install-recommends install -y ninja-build
72 echo '| :----: | :------: | -----: | ----: | ---: | ----: |'
80 …read -r -a size_old <<<"$(size "$1" | awk '{text+=$1} {bss+=$2} {data+=$3} {total+=$4} END {printf…
81 …read -r -a size_new <<<"$(size "$2" | awk '{text+=$1} {bss+=$2} {data+=$3} {total+=$4} END {printf…
83 local -a size_diff
86 size_diff[$i]="$((size_new["$i"] - size_old["$i"]))"
92 …echo "| ${name} | -${OT_SHA_OLD:0:7} | ${size_old[0]} | ${size_old[1]} | ${size_old[2]} | ${size_o…
94 echo "| | +/- | ${size_diff[0]} | ${size_diff[1]} | ${size_diff[2]} | ${size_diff[3]} |"
116 arm-none-eabi-nm --print-size --defined-only -C "$1" | cut -d' ' -f2- >nmsize_old
117 arm-none-eabi-nm --print-size --defined-only -C "$2" | cut -d' ' -f2- >nmsize_new
118 diff -Nuar nmsize_old nmsize_new || true
124 "-DOT_ANYCAST_LOCATOR=ON"
125 "-DOT_BORDER_AGENT=ON"
126 "-DOT_BORDER_ROUTER=ON"
127 "-DOT_CHANNEL_MANAGER=ON"
128 "-DOT_CHANNEL_MONITOR=ON"
129 "-DOT_COAP=ON"
130 "-DOT_COAPS=ON"
131 "-DOT_COMMISSIONER=ON"
132 "-DOT_DATASET_UPDATER=ON"
133 "-DOT_DHCP6_CLIENT=ON"
134 "-DOT_DHCP6_SERVER=ON"
135 "-DOT_DIAGNOSTIC=ON"
136 "-DOT_DNSSD_SERVER=ON"
137 "-DOT_DNS_CLIENT=ON"
138 "-DOT_ECDSA=ON"
139 "-DOT_FULL_LOGS=ON"
140 "-DOT_JAM_DETECTION=ON"
141 "-DOT_JOINER=ON"
142 "-DOT_LINK_RAW=ON"
143 "-DOT_MAC_FILTER=ON"
144 "-DOT_MESSAGE_USE_HEAP=ON"
145 "-DOT_NETDATA_PUBLISHER=ON"
146 "-DOT_PING_SENDER=ON"
147 "-DOT_SERVICE=ON"
148 "-DOT_SLAAC=ON"
149 "-DOT_SNTP_CLIENT=ON"
150 "-DOT_SRP_CLIENT=ON"
151 "-DOT_SRP_SERVER=ON"
152 "-DOT_TIME_SYNC=ON"
153 "-DOT_UDP_FORWARD=ON"
154 "-DOT_UPTIME=ON"
161 "-DOT_THREAD_VERSION=1.3"
162 "-DOT_BACKBONE_ROUTER=ON"
163 "-DOT_DUA=ON"
164 "-DOT_MLR=ON"
165 "-DOT_CSL_RECEIVER=ON"
166 "-DOT_LINK_METRICS_INITIATOR=ON"
167 "-DOT_LINK_METRICS_SUBJECT=ON"
171 rm -rf "${OT_TMP_DIR}"
176 mkdir -p "${OT_TMP_DIR}/b"
177 script/git-tool clone https://github.com/openthread/ot-nrf528xx.git "${OT_TMP_DIR}/b"
178 rm -rf "${OT_TMP_DIR}/b/openthread/*" # replace openthread submodule with latest commit
179 git archive "${OT_SHA_NEW}" | tar x -C "${OT_TMP_DIR}/b/openthread"
186 git fetch --depth 1 --no-recurse-submodules origin "${OT_SHA_OLD}"
189 mkdir -p "${OT_TMP_DIR}/a"
190 git clone https://github.com/openthread/ot-nrf528xx.git "${OT_TMP_DIR}/a"
191 rm -rf "${OT_TMP_DIR}/a/openthread/*" # replace openthread submodule with last commit
192 git archive "${OT_SHA_OLD}" | tar x -C "${OT_TMP_DIR}/a/openthread"
197 # rename the generated files to be ready for size-report
201 ls | xargs -I{} mv {} {}_"${thread_version}"
203 ls | xargs -I{} mv {} {}_"${thread_version}"
206 ls ./*.a | xargs -I{} mv {} {}_"${thread_version}"
208 ls ./*.a | xargs -I{} mv {} {}_"${thread_version}"
212 "ot-cli-ftd"
213 "ot-cli-mtd"
214 "ot-ncp-ftd"
215 "ot-ncp-mtd"
216 "ot-rcp"
220 "libopenthread-cli-ftd.a"
221 "libopenthread-cli-mtd.a"
222 "libopenthread-ftd.a"
223 "libopenthread-mtd.a"
224 "libopenthread-ncp-ftd.a"
225 "libopenthread-ncp-mtd.a"
226 "libopenthread-rcp.a"
227 "libopenthread-radio.a"
247 local reporter="${OT_SIZE_REPORTER:-markdown}"