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.

Linker error

Hi,

 

I'd like create a blank F28335 project template based on the example projects. I tried to follow  'C2833x/C2823x C/C++ Header Files and Peripheral
Examples Quick Start' application note. I created a __SYSTEM__ folder inside the project folder with copies of all the common/header include and source files. I added these include directories at Include Options. The only difference is that I'm using an extra main header file where I include DSP28x_Project.h. It compiles but the linker gives plenty of errors. Here is a screenshot showing the structure and the error messages: screenshot. Based on the app note it should work and I also compared against working examples. I just don't know what I am doing wrong here so any help would much appreciated. Thank you!

  • JustGreg,

    From the screenshot, it looks like certain sections are being defined twice in your project. My guess is that your project is including both DSP2833x_Headers_BIOS.cmd AND DSP2833x_Headers_nonBIOS.cmd?

    Please remove one of them from the project (remove Headers BIOS file if you are not creating a BIOS project and remove Headers nonBIOS if you are creating a BIOS project).  That should get rid of your "memory range has already been specified" errors.

  • Thanks Chrissy. Removed the entire System folder from my project folder then included only the necessary files and it is working now.