electropapa 0 Posted May 31, 2017 Share Posted May 31, 2017 (edited) 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 May 31, 2017 by electropapa Added information Quote Link to post Share on other sites
energia 485 Posted May 31, 2017 Share Posted May 31, 2017 I was able to reproduce this. I am working with the CCS team to root cause this and get a fix. Robert Quote Link to post Share on other sites
LIJsselstein 9 Posted June 1, 2017 Share Posted June 1, 2017 @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. Quote Link to post Share on other sites
energia 485 Posted June 2, 2017 Share Posted June 2, 2017 I should be able to allow you to import the custom board. What does your boards.txt look like? Quote Link to post Share on other sites
electropapa 0 Posted June 2, 2017 Author Share Posted June 2, 2017 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? Quote Link to post Share on other sites
LIJsselstein 9 Posted June 6, 2017 Share Posted June 6, 2017 @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 Quote Link to post Share on other sites
electropapa 0 Posted June 16, 2017 Author Share Posted June 16, 2017 Any resolution to problem of undefined main()? Quote Link to post Share on other sites
electropapa 0 Posted June 16, 2017 Author Share Posted June 16, 2017 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? Quote Link to post Share on other sites
electropapa 0 Posted June 16, 2017 Author Share Posted June 16, 2017 Any one know where main() is defined when energy sketch is imported into cos 7.0??? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.