Are there more than two places to pick Memory Models in the Build Properties?
Martin
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Are there more than two places to pick Memory Models in the Build Properties?
Martin
Hi Martin,
your post is already a bit dated, but perhaps the issue still remains. To the best of my knowledge, your choice of the memory model requires changing properties in the following places:
1.: Project Properties -> C/C++-Build -> C5500-Compiler -> Runtime Model Options -> Specify Memory Model
2.: Project Properties -> C/C++-Build -> C5500-Linker-> File Search Path (make sure to include rts55h.lib for huge, rts55x.lib for large and rts55.lib for standard memory model)
3.: Project Properties -> CCS Build settings -> General -> Linker command file (make sure to specify lnkx.cmd for large and lnk.cmd for standard memory model)
4.: Project Properties -> CCS Build settings -> General - Runtime Support Library (make sure to include rts55h.lib for huge, rts55x.lib for large and rts55.lib for standard memory model)
5.: Project Properties -> C/C++-Build -> TConf Script Compiler -> General Options (if you use the huge memory model)
More information about the memory models is available in the TI C/C++-Compiler Guide in Chapter 6: http://www-s.ti.com/sc/techlit/spru281.
Also, quoting a user named Mariana:
When you compile code for the large memory model, you must link with the rts55x.lib run-time library.
To take advantage of the huge memory model, you need to
recompile your C source files, re-assemble your hand-coded assembly
files, and use the library rts55h.lib
Let me know if that helped you or anybody else.