2007-12-04 03:13 AM
2007-12-02 02:39 AM
Hi all.
I'm trying to use printf function. I'am using ST7VD 3.3.4 and Cosmic C Compiler 4.5.7 (version limited to 16kB). I write own putchar procedure, to send char to LCD display. When i use printf and integer operations library it's ok, but when i select float operations library in linker configuration while compiling i see: #error clnk Debug\calc.lkf:1 segment .text size overflow (940) #error clnk Debug\calc.lkf:1 segment .const size overflow (141) #error clnk Debug\calc.lkf:1 segment .init size overflow (3) #error clnk Debug\calc.lkf:1 segments .text (0xe000-0x103ac) and .const (0xffe0-0x10000) overlap I'm using Long Memory model, but problem appears in all models. I have attached my project files. I need to use float operations library and printf because in future i want to display double type numbers on LCD screen Thanks in advance Sorry for my english, but I'm from Poland [ This message was edited by: krzysiekadmi on 02-12-2007 16:12 ] ________________ Attachments : st7-test.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzgF&d=%2Fa%2F0X0000000bVN%2Fy4xOPnJgtKTm4868D_VaTI1z6U8XpQxSEVYAdYSgLvU&asPdf=false2007-12-02 07:59 PM
2007-12-03 03:40 AM
So, how to change it?
I'm using ST7FLITE292007-12-03 07:14 PM
2007-12-04 03:13 AM
I have changed linker file as you say, now i'm able to compile program but the file is too big to load into micro.
I consider micro change Thanks for reply.