Jump to content
43oh

Blink Example Fails To Compile for CC3200


Recommended Posts


Good morning!

I set up a new install of Windows with CCS and Energia installed. 

While going through the quick start guide, I found I was unable to compile the Blink example.

I assumed that the issue was due to using the drivers from Ti's SDK rather than DPInst64 - I was unable to get a copy of the drivers posted here. After obtaining the drivers and installing, I still get the same error.

I have also installed Energia on a second and get the same errors during compile.

Error messages are below:

 

<command-line>:0:15: warning: ISO C++11 requires whitespace after the macro name

In file included from c:\users\doug\appdata\local\energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620\arm-none-eabi\include\string.h:10:0,

                 from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Energia.h:8,

                 from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Arduino.h:3,

                 from C:\Users\Doug\AppData\Local\Temp\builda9304c47a9d01225cec361d757013532.tmp\sketch\Blink.ino.cpp:1:

c:\users\doug\appdata\local\energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620\arm-none-eabi\include\stdlib.h:225:8: error: conflicting declaration of C function 'char* utoa(unsigned int, char*, int)'

 char * _EXFUN(utoa,(unsigned, char *, int));

        ^

In file included from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Energia.h:10:0,

                 from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Arduino.h:3,

                 from C:\Users\Doug\AppData\Local\Temp\builda9304c47a9d01225cec361d757013532.tmp\sketch\Blink.ino.cpp:1:

C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/itoa.h:34:14: note: previous declaration 'char* utoa(long unsigned int, char*, int)'

 extern char* utoa( unsigned long value, char *string, int radix ) ;

              ^~~~

exit status 1
Error compiling for board CC3200-LAUNCHXL (80MHz).

Any assistance would be appreciated. 


 

 
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...