2009-07-27 09:35 PM
Why the cosmic compiler produce this error
2009-07-20 04:18 AM
#error clnk Debug\mp.lkf:1 segments .const (0x8080-0x8084) and .const (0x8000-0x80b0) overlap
#error clnk Debug\mp.lkf:1 segments .const (0x8000-0x80b0) and .init (0x8084-0x8091) overlap2009-07-20 05:34 PM
Error again.
symbol c_lgadd not defined (Debug\stm8_interrupt_vector.o ) I am using the cosmic for stm8 16K version,I've changed every memory mode and it does not help, can some one here help me. OK ?2009-07-20 07:17 PM
I am using the stm8s105,but not familiar with cosmic
2009-07-27 09:35 PM
2018-10-25 09:39 AM
Has anyone solved this problem?
2018-10-25 09:41 AM
I have the same problem and have not found the solution yet.
2020-06-15 05:33 AM
Hi everyone
Just stumbled on this error. It came from an error in stm8_interrupt_vector.c.
I had mistakenly added an extra line in the _vectab structure when adding my own definition of irq2 :
...
{0x82, (interrupt_handler_t)_stext}, /* reset */
{0x82, NonHandledInterrupt}, /* trap */
{0x82, NonHandledInterrupt}, /* irq0 */
{0x82, NonHandledInterrupt}, /* irq1 */
{0x82, DMA_I2C_RX_handler}, /* irq2 */
{0x82, NonHandledInterrupt}, /* irq2 */ // ERROR ! Causes .const overlap error
{0x82, NonHandledInterrupt}, /* irq3 */
...
Hope it helps