From 8027d6c0e1cd6b1253e7d251a28ab4dc88eba2c1 Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Sun, 21 Feb 2010 19:36:43 +0000 Subject: [PATCH] AVR port: Add details on CPUs with large program memory. --- ports/avr/README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/avr/README b/ports/avr/README index c5e3355..9899fe8 100644 --- a/ports/avr/README +++ b/ports/avr/README @@ -285,6 +285,10 @@ means that the thread_shell() routine which is the entry point for all threads must be located in the bottom 128KB of program space. You may need to force this using a linker directive. +Note that on the AVR architecture program memory is referenced in multiples +of 2 bytes, which is how 16-bits can reference 128KB of program memory +rather than the 64KB which you might expect. + ---------------------------------------------------------------------------