Tool/software:
Hello.
I need to create project in CCS, which has some functions/data which should be called from other projects by fixed address. With other MCU/IDE I had used linker script to place these functions/data to defined memory regions and compiled project without start files options to create elf/hex file, which can be later flashed to ROM.
While trying to do the same task with CCS, I have created empty CCS project (without using SDK, as I don't need to initialize MCU and use any peripherals in this project) with using of TI Clang v3.2.2 compiler and I met following problems:
1. I didn't find way to exclude standard start files and entry point from build. I use option '-nostartfiles' option in GCC linker for this, but no anything similar for TI Clang.
2. How to order linker/compiler to not exclude certain functions/data from output during optimization? This is needed, as I don't want to use entry point in this project and compiler 'optimize' everything, so I need to define 'entry points' manually (and there can be no entry points in project, only data, which should be placed to certain address). I used KEEP word in GCC linker script, but this is not recognized by linker command file for CCS/TI Clang.
3. After compilation I don't see any *.appimage file to load into flash, only *.out and *.hex (I have enabled it), but there is no instruction how these file types can be load to flash on Launchpad devboard.