Small Data2 Range, How to allocation an data array to a direct RAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Small Data2 Range, How to allocation an data array to a direct RAM

436 Views
dannydeng
Contributor III

Dears,

What is the range of Small Data2 in CW 2.10 EPPC Target setting ? How to allocation an data array to a direct RAM address?

Thanks and BRs,
Ray Deng

1 Reply

327 Views
EAlepins
Contributor V

I think this is the number of bytes under which variables are considered "small" (i.e. included in small data areas). So you've currently configured it to 8 bytes, which means all variables of 8 bytes or less will be put in .bss/.sdata (or .sdata2/.sbss2 for constants).

The .lcf (linker file) is the mean to place you small data areas into the appropriate memory. Not this window.

0 Kudos