I have STM8208MBT6B chip, so use near STM8S-STM8S105-DISCOVERY-STVD demo project.
so meanwhile the Cosmic32k compiling demo ChibiOS-RT workspace, produced such error :
.....
Compiling ..\..\..\os\ports\cosmic\stm8\chcore.c...
cxstm8 +mods0 -pp -l -i..\demo -i..\..\..\test -i..\..\..\os\hal\include -i..\..\..\os\hal\platforms\stm8s -i..\..\..\boards\st_stm8s_discovery -i..\..\..\os\ports\cosmic\stm8 -i..\..\..\os\kernel\include -i"C:\Program Files\COSMIC\CXSTM8_32K\Hstm8" -i"C:\Documents and Settings\R11\Мои документы\STVD\Library\FWLib\library\inc" -clRelease\ -coRelease\ ..\..\..\os\ports\cosmic\stm8\chcore.c
..\..\..\os\ports\cosmic\stm8\chcore.c:
Running Linker
clnk -l"C:\Program Files\COSMIC\CXSTM8_32K\Lib" -l"C:\Documents and Settings\R11\Мои документы\STVD\Library\FWLib\library\src" -o Release\cosmic.sm8 -mRelease\cosmic.map Release\cosmic.lkf
#error clnk Release\cosmic.lkf:1 segment .ubsct size overflow (1383)
The command: "clnk -l"C:\Program Files\COSMIC\CXSTM8_32K\Lib" -l"C:\Documents and Settings\R11\Мои документы\STVD\Library\FWLib\library\src" -o Release\cosmic.sm8 -mRelease\cosmic.map Release\cosmic.lkf " has failed, the returned value is: 1
exit code=1.
cosmic.elf - 3 error(s), 0 warning(s)
As I understand the section used for uninitialized zero page data is not enough. So as im new in ChibiOS architecture, please help to fix that bug.
Thanks