Posted on May 17, 2011 at 15:09Greetings: The inconsistency problem turned out to be caused by a different option in the stm8s.h file where USE_COSMIC_SECTIONS is defined. In one case it was defined and the other it was commented out. Although t...
Posted on May 17, 2011 at 15:09Greetings: Thanks for the help! Although I have read the user guide I don't really understand the reason for the ''pragma section'' statement. Is it a command to the linker to rename the previously named sections or d...
Posted on May 17, 2011 at 15:09Greetings Luca: Thanks once more for your help! I found a stm8s105.lkf file in one of the ST standard library FLASH examples with segment code for the FLASH_CODE and FLASH_CONST declarations. I added these defi...
Posted on May 17, 2011 at 15:09Greetings: I determine that the error disappeared when I removed the stm8s_flash.c library file from the project.The stm8s_flash.c contains the statement block: #ifdef USE_COSMIC_SECTIONS #pragma section (FLASH_C...