Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
Hi, Guys...
I am new to use MSP controllers. I am working on a project in which MSP controller works as a host controller to control a BLE module. For this I need to include the library provided for the BLE module into MSP. This BG Lib is developed commonly in ANSI C standard. So, when I include this library with native TI MSP compiler, I am getting so many errors. From some resources, I came to know that by using MSP430 GCC compiler I can overcome these errors. So I downloaded MSP430 GCC in CCstudio 7.1.0.
But when I try to build my old msp codes, I am getting errors in some general functions. So I searched for MSP430 GCC examples and got some example codes from below link.
https://sourceforge.net/p/mspgcc/historical/ci/bzr/mspgcc-examples/~/tree/
When I try to compile these examples, I am getting errors as Fatal error: No such file or directory showing #include<io.h> and #include<sys/inttypes.h> as errors. I tried commenting these lines and including #include<msp430.h>. But this is showing every declaration as error.
Please help me out how to use MSP430 GCC example codes in CC Studio, or please provide any working example codes which can be built in CC Studio using MSP430 GCC compiler.