2023-08-07 04:45 PM
I have tried two times in the past week to get a registration for my cosmic install via the web portal. So far, no response via email.
2023-08-07 06:55 PM
I made a request a few months ago (03/2023) and it was working, I sent the file STM8FSE_Licence.txt to the e-mail stm8_Free(at)cosmic.fr.
Note on code size generated by Cosmic compiler (vs SDCC):
https://github.com/platformio/platform-ststm8/issues/60
See these tutorials too:
2023-08-09 04:03 PM
Thanks for the link to the examples. Looks like they will help if I can just get a license for Cosmic. Still no reply to my web form. I tried using Sduino, but it balks with an error about the .ino file being a hex file.
2023-08-09 04:15 PM
I also used Sduino, it's more limited than regular Arduino support (UNO, NANO etc).
SDCC was the best compiler I could find for STM8, but it takes some studying. The compilation can be done in Eclipse, with a Makefile. The (bare-metal) code for SDCC can be based on the Cosmic libraries (HAL). See these projects (STM8S003):
https://github.com/rtek1000/W1209-firmware-modified/tree/master/W1209