AnsweredAssumed Answered

String literals in 16-bit external memory

Question asked by ecg on Dec 10, 2010
Latest reply on Dec 22, 2010 by AndyK2

We're using a BF-548, and we have a bank of 16-bit SRAM attached to the EBIU.  We use a nontrivial number of constant string literals, and we'd like to move them to this external memory to free up on-chip L1 and L2.

 

The problem with this is that chars are 8 bits wide, which causes alignment errors. 

 

Other compilers that I've used had a switch to make string literals into arrays of 16-bit words, but I can't seem to find one for the Blackfin compiler.

 

Any ideas on how we can make this work?

 

Thanks,

 

Eric

Outcomes