2004-12-09 12:18 AM
Linker problem with ST7 Eval firmware
2004-12-08 12:02 AM
Hi All,
I'm trying to get the firmware provided with the ST7 USB Eval Kit to compile using ST7 Visual Develop and a Cosmic full version of the compiler. The code compiles, but the linker gives the error: #error clnk Debug\digboardproj.lkf:1 no default placement for segment .vector I assume this is because it needs a line like: +seg .vector -b 0xFFE6 But I don't know how to add that file. The ST7VD program auto-generates that linker file every time, so I can't manually insert it. I've been trying to find any option in the project settings to specify this with no luck. Anyone know what to do here? Thanks!2004-12-09 12:18 AM
Hi Maracle,
I followed the following steps and was able to compile the code: 1> Open STVD7 3.0.1 and select new workspace. 2> Select the option ''Wrap Make file'' 3> Give the path of the mak file from ''config\cosmic'' directory. 4> Change the PRJ_PATH and LIB_PATH as per your requirement. 5> Delete all files in ''objects'' folder or un-comment the clean commands in the end of make file. Hope this helps.