Jump to content
43oh

The problem about compiling "Blink" by Energia


Recommended Posts

I am a student who come from China, today it is my first time to use Energia IDE, I meet the problem about compiling program into “MSP-EXP430F5529LP”. In China, I can't find the way to solve.

Whatever I compile, there is the same problem, so that I can't use it.

It is the details in the following:

 

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\atof.c: In function 'atof':

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\atof.c:71:9: warning: floating constant exceeds range of 'double' [-Woverflow]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\wiring_analog.c:59:0: warning: "DEFAULT_READ_RESOLUTION" redefined [enabled by default]

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\wiring_analog.c:35:0: note: this is the location of the previous definition

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\avr\dtostrf.c: In function 'dtostrf':

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\avr\dtostrf.c:36:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\Stream.cpp: In member function 'bool Stream::find(char*)':

D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\Stream.cpp:78:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

<command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]


项目使用了 946 字节,占用了 (0%) 程序存储空间。最大为 131,072 字节。
全局变量使用了18字节,(0%)的动态内存,余留8,174字节局部变量。最大为8,192字节。

 

 

I have download "ti_msp430driver_setup_1.0.1.0" for windows.

My email :  w455752215@163.com 

If I can't find the solution, which means I can't use the open source software.

Thank you.

1.JPG.31e6666a134b9f4b8582fb62cfd0ff8b.JPG2.JPG.3be5fd135b09bf7b9f6e0d6cf37db256.JPG3.thumb.JPG.d8c836fd4efa13d686f34ce1d65e22a9.JPG

 

Link to post
Share on other sites

There are no errors, only warnings so the compilation was successful and you can upload the binary produces using the "Upload" button.

It seems that you do not have the correct driver installed though. Please install the driver from here and read the instructions: http://energia.nu/guide/guide_windows/

The direct link to the driver is: http://energia.nu/files/ezFET-Lite.zip

Robert

Link to post
Share on other sites
On 6/18/2018 at 11:53 PM, energia said:

There are no errors, only warnings so the compilation was successful and you can upload the binary produces using the "Upload" button.

It seems that you do not have the correct driver installed though. Please install the driver from here and read the instructions: http://energia.nu/guide/guide_windows/

The direct link to the driver is: http://energia.nu/files/ezFET-Lite.zip

Robert

Dear Cool Rebert:

There is the same warning: <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default].

Could you tell me the way to clean the warning or how to set it ?

Link to post
Share on other sites
  • 2 weeks later...

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...