2010-04-30 03:50 AM
Hallo colleagues,
I bought STM8S-Discovery kit and followed all steps of UM0834 - User manual for generation sample code. But I made any mistake - error code is generated. Can anybody help me? Thanks, Frantisek @page {size:21cm 29.7cm;margin:2cm;} .ExternalClassE39BB2978DA3443E89F27F6FA7E7FC0C P {margin-bottom:0.21cm;} @page {size:21cm 29.7cm;margin:2cm;} .ExternalClassE39BB2978DA3443E89F27F6FA7E7FC0C P {margin-bottom:0.21cm;}Running Linker
clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\muj_prvni_project.sm8 -mDebug\muj_prvni_project.map Debug\muj_prvni_project.lkf
&sharperror clnk Debug\muj_prvni_project.lkf:1 no default placement for segment .TSL_IO_ALCODE
The command: ''clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\muj_prvni_project.sm8 -mDebug\muj_prvni_project.map Debug\muj_prvni_project.lkf '' has failed, the returned value is: 1
exit code=1.
oh , point missing ....
#discovery2010-05-03 06:57 AM
Ahoj !
If you whant to use the Touch Sensing Library (for TS1 button use) you need to reserved a section dedicated to touch sensing variable in the microcontroler Flash. This action is done by paramettring the linker input file directly in STVD. (see picture below) . to access this window just click on Project>Settings
* Dont forget the -r2 parametter Hope it will solved your problem Grom