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.

How to setup an Assembly only project in CCS6 using GCC



Hi,

I am interested in setting up an assembly only project in CCSV6 using the open source GCC compiler but I can't get past an error. The error is very odd as the compiler/assembler or linker, is reporting not being able to find the asm.o in my project.

I am using an asm432 launchpad board and have installed both the TI and GCC compilers. The TI compiler is giving so many errors I just removed it. The GCC compiler gets close to building the project but gets hang up on finding this main.o file.

The main.asm file I am including is extremely simple. I based it on the template main.asm for the msp430 platform. The only change I have made was to replace msp430.h with msp432.h

Any help would be highly appreciated.

Thanks

  • Saeed Jellouli said:
    I am interested in setting up an assembly only project in CCSV6 using the open source GCC compiler but I can't get past an error.

    What is the error you are getting? Can you try renaming your source file to main.S and see if that helps? The default extension for assembly source files for GCC is .S. 

    If you still have errors please save off the full output of the CCS build console to a text file and attach it here.

  • I figured out what was the problem: I was using .asm extension and not the .s extension.
    Now I have a working assembly language project.