Skip to main content
Associate
August 7, 2023
Question

New registration for Cosmic

  • August 7, 2023
  • 2 replies
  • 1524 views

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. 

This topic has been closed for replies.

2 replies

RhSilicon
Lead
August 8, 2023

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:

https://github.com/rtek1000/STM8S-examples

WesbflyerAuthor
Associate
August 9, 2023

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.

RhSilicon
Lead
August 9, 2023

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