Doug,
The compiler does not need to know about the width of the external
RAM. It's all taken care by the EMC provided that the bank
configuration registers are intialized correctly.
If you are planning to execute code from the external 16 bit bank
then the THUMB code will give you better execution performance than
the ARM code. Each ARM instruction will require 2 accesses to the 16
bit bank where as Thumb instruction will require only one access.
Philips Apps.
--- In lpc2000@yahoogroups.com, "douglasbolton" <doug@c...> wrote:
> I'm putting a 128k*16 external sram onto an lpc2292. I've set the
> external memory controller for this bank to be 16 bits wide. Does
the
> compiler need to know about the width of the external ram bus or
does
Show quoted textHide quoted text
> the external memory controller look after this ?
>
> I'm using the IAR compiler but am interested in all compiler
> situations
>
> Doug