altos/test: Adjust CRC error rate after FEC fix
[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 > 0xacf) {
6         printf ("%d bytes of ram more than %d available\n", iram, 0xacf);
7         exit(1);
8 } else {
9         printf("%d bytes of ram\n", iram);
10         exit(0);
11 } }'