> Let's say you want to put some data buffer for an isr in a on-chip memory to avoid using slow
> external ram bus - how would you do it with your method?
The same way ;-)
> To resolve pointer you would still have to access it located in the external ram, so you would
> not save any time doint this...
This is an optimization issue -- even -O1 will avoid this, and keep the pointer in a register.
> It would be great if the gcc compiler implementation for Nios could be extended with some
> typical embedded features like "at" directive...
The section attribute handles many of these situations. A linker script can handle the rest -- using
script defined variables, for example,
Regards,
--Scott