tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
351 stars 218 forks source link

Newer Arduino IDE version incompatibility #68

Closed Jugulaire closed 5 years ago

Jugulaire commented 5 years ago

Hey,

I'm working with this tools for a while but when i've tried to use it on newer Arduino IDE version it does not work. When you try to upload the IDE say "select upload port first"

For fixing this issue i've just install the version 1.8.0 of the IDE.

Note : i'm running Kubuntu 18.04.

tenbaht commented 5 years ago

Which board and which programmer? I tried it for the STM8S103 with st-link/v2 and it works for 1.8.5 and 1.8.7 on mint 19 (ubuntu 18.04) Only stm8gal needs a serial port. If you are using this: Did you chose a port in the IDE at Tools->Port?

Jugulaire commented 5 years ago

Hey, sorry for the missing information.

I use the Generic STM8S103 breakout board with an STM32 based ST LINK V2 from aliexpress.

per1234 commented 5 years ago

This is a bug in Arduino IDE 1.8.7: https://github.com/arduino/Arduino/issues/8052 It is not caused by anything to do with sduino and there is no way for any change to sduino to work around the problem.

There are a few workarounds:

tenbaht commented 5 years ago

Thank you very much for this research! I updated the README.md with a link to your workarounds.

tenbaht commented 5 years ago

Arduino-1.8.8 is out and this problem seems to be solved there. I hope that helps?