projects
/
fw
/
altos
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add radio support. Build separate executables for TeleMetrum and the TI dongle
[fw/altos]
/
check-stack
1
#!/bin/sh
2
HEADER=$1
3
MEM=$2
4
5
HEADER_STACK=`awk '/#define AO_STACK_START/ {print $3}' $HEADER | nickle`
6
MEM_STACK=`awk '/Stack starts at/ {print $4}' $MEM | nickle`
7
8
if [ "$HEADER_STACK" -lt "$MEM_STACK" ]; then
9
echo "Set AO_STACK_START to at least $MEM_STACK"
10
exit 1
11
else
12
exit 0
13
fi