Currently I'm switching from an Atmel ATTiny to a STM8 microcontroller and so I'm evaluating different IDEs and compilers. I started with a combination of the ST Visual Development and the COSMIC STM8 Compiler (Cosmic CXSTM8 Special Edition 4.4.4). So far, it worked quite nice. I migrated the ATTiny code step by step to the STM environment. I always used both, the Debug builds and Release builds on my target. But at one point, there seems to be a limit to the Release build:
When I remove code, the number (164) reduces. The Debug build is ok without any problems. Is there any limit to the linker? or does anyone have a hint?