projects
/
fw
/
altos
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
altos: Finish up primitive telelaunch protocol
[fw/altos]
/
src
/
util
/
check-avr-mem
1
#!/bin/sh
2
nm "$@" |
3
grep ' N _end' |
4
awk '{ iram = strtonum("0x" $1) % 0x10000;
5
if ( iram > 0xaff) {
6
printf ("%d bytes of ram more than %d available\n", iram, 0xaff);
7
exit(1);
8
} else
9
exit(0); }'