https://github.com/Serasidis/STM32_HID_Bootloader
How can I make it work with Arduino sketch ?
Else this bootloader configured with serial communication does load the Arduino sketch:
https://github.com/rogerclarkmelbourne/ ... bootloader
Here's my sketch:
Code: Select all
#define LED_BUILTIN PB11
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}