Jump to content
electropapa

CCS import of Energia sketch

Recommended Posts

Imported Blink without delay energia(v1.6.10E18) sketch into cos (v 7.1.0.00016) and build.  Get linker error of undefined reference to 'main'.  Have not been able to determine why main is not defined.  I am using MSP-EXP432P401R Launchpad kit.  Blink without delay works fine from Energia ide. 

Edited by electropapa
Added information

Share this post


Link to post
Share on other sites

@energiaDo you know if the CCS team is planning to support importing Energia projects for non-launchpad boards?

I have an Energia project with a custom MSP430FR2433 board and would like to use the CCS debugging features, but when trying to import the project CCS does not import the board definition as well, it only allows you to select Launchpads.

Share this post


Link to post
Share on other sites
On 5/31/2017 at 1:31 PM, energia said:

I was able to reproduce this. I am working with the CCS team to root cause this and get a fix.

Robert

Do you know of a specific launchpad that does not have the undefined main() problem?

Share this post


Link to post
Share on other sites

@energia Below is the relevant section from boards.txt:

LL-MSP430FR2433.vid.0=0x2341
LL-MSP430FR2433.pid.0=0x0c9f

LL-MSP430FR2433.name=LoRa Logger w/ MSP430FR2433

LL-MSP430FR2433.build.mcu=msp430fr2433
LL-MSP430FR2433.build.f_cpu=8000000L
LL-MSP430FR2433.build.core=msp430
LL-MSP430FR2433.build.variant=lora_logger_fr2433
LL-MSP430FR2433.build.board=lora_logger_fr2433

LL-MSP430FR2433.upload.tool=dslite
LL-MSP430FR2433.upload.protocol=dslite
LL-MSP430FR2433.upload.maximum_size=15360
LL-MSP430FR2433.upload.maximum_data_size=4096

 

Share this post


Link to post
Share on other sites

  Just installed ccs update to 7.1.0.00016.  Now When try to build imported energy sketch blink.ino get 

Buildfile generation error occurred..

Product 'energia' v18.0 is not currently installed and no compatible version is available. Please install this product or a compatible version.

Build stopped..

So went to energy.nu and downloaded 

Mac OS X: Signed Binary release version 1.6.10E18 (8/11/2016)

and installed.  Same build error.  Now WTF?

 

Share this post


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