diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-17 01:24:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-17 01:24:52 -0700 |
commit | a5d873d47b3b16ca32559b4de668bf07b25eddb0 (patch) | |
tree | 47c2ca395d776b4e4574ca59dbfdb49d8b6ea870 /ao-tools | |
parent | 20877ae9de8bb5d3a29e2a96024e53afbd396f55 (diff) |
altos: Place STM config values at fixed addresses for re-use
Just like cc1111, stick the serial number and radio calibration values
at known fixed addresses so that when re-flashing the board, we can go
find the existing values.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools')
-rw-r--r-- | ao-tools/ao-load/ao-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/ao-load/ao-load.c b/ao-tools/ao-load/ao-load.c index 1b729d39..e3cef4a5 100644 --- a/ao-tools/ao-load/ao-load.c +++ b/ao-tools/ao-load/ao-load.c @@ -197,7 +197,7 @@ main (int argc, char **argv) serial = strtoul(serial_string, NULL, 0); if (!serial) -(argv[0]); + usage(argv[0]); serial_int[0] = serial & 0xff; serial_int[1] = (serial >> 8) & 0xff; |