Tool/software: Code Composer Studio
Using CCSv10 and online or remote help doesn't find anything for "#use", "delay", "delay_ms". What is missing from my settings to get this working?
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.
Tool/software: Code Composer Studio
Using CCSv10 and online or remote help doesn't find anything for "#use", "delay", "delay_ms". What is missing from my settings to get this working?
Ted,
The Code Composer Studio help includes content for the the Code Composer Studio enviornment including the compiler. It will not have help on software packages that you might be using. I am not sure what device you are using but you would likely have to look at the documentation for the SDK/Software package that you are using. I don't have a lot of context of what you are trying to do so it is hard for me to point you in the right direction.
I did a quick search on my machine and I see delay_ms referenced in the cc13x2 SDK documentation. MSP430Ware documentation might have something similar.
As far as #use that really looks like a compiler preprocessor directive similar to #define. This is not something that our compiler supports. Where did you come across #use?
Regards,
John
John,
Thanks for your reply. I'm using the MSP430f5638 on a custom board and the only "tool" I'm using is CCSv10. I installed MSP430Ware and I installed a SDK of some type. Can't find the SDK on my system. Everything seems to be installed under C:\ti.
My original question was why can't CCS online help find anything about delay functions. Ok you answered that, it's in some other doc. CCS should be able to find online help for other tools that it is using.
What is the cc13x2 SDK and where would that be if installed?
The #use came from a google search for "ccs delay functions", it finds another ccs which is Custom Computer Systems I think, so not relevant for TI's CCS.
Ted
Ted,
MSP430Ware is the SDK or Software Development Kit for MSP430 devices. Delay_ms is not a CCS function. It is a function that comes as part of some library in the software you are using. In this case likely something in MSP430Ware. You have not mentioned where you see the references to delay_ms or #use so I am guessing here. i.e. are you seeing these referenced in some example code somewhere? I am going to loop in the MSP430 team to assist you further.
Regards,
John
As I mentioned previously, #use is bogus, it is from a google search of "ccs delay_ms" which finds links to Custom Computer Services (the other CCS) code where they use this definition.
There appears to be a delay_ms function in TI's RTOS, which I'm not currently using. Is there an equivalent in MSP430Ware?
Hi Ted,
I'm not sure I have ever seen this function as part of the MSP430 SDK or compiler tools. I searched all files under the MSP430Ware, and the MSP430 compiler tools and didn't find any reference to that function.