cancel
Showing results for 
Search instead for 
Did you mean: 

STM8 USING STVD & COSMIC COMPILER #error clnk Debug...

greg
Associate II
Posted on August 10, 2013 at 01:41

Can anyone help me with the problem below dotted line?  It seems like I need to set up memory spaces for the Micro Controller.  Is that ? the problem.  If so how do I fix? Thanks! GDN

-------------------------------------------------------------

Running Linker

clnk -l''C:\Program Files\COSMIC\Lib'' -o Debug\i2c_iap.sm8 -mDebug\i2c_iap.map Debug\i2c_iap.lkf

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .MAIN_CODE

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .SPI_CODE

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .CLK_CONST

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .CLK_CODE

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .I2C_CODE

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .I2C_CONST

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .GPIO_CODE

#error clnk Debug\i2c_iap.lkf:1 no default placement for segment .FLASH_CODE

The command: ''clnk -l''C:\Program Files\COSMIC\Lib'' -o Debug\i2c_iap.sm8 -mDebug\i2c_iap.map Debug\i2c_iap.lkf '' has failed, the returned value is: 1

exit code=1.

0 REPLIES 0