How to flash stm8 with ST-Link2 in Arduino IDE? I tried to install Sduino for Arduino IDE 1.8.16 on Mac os. When I click on the firmware button, I get the error An error occurred while uploading the sketch. How to fix this?Error:Arduino: 1.8.16 (Mac ...