Open VitaliyGaliy opened 2 years ago
I've got this error. Everything is setup according to documentation.
main.cpp
void setup() { // initialize GDB stub debug_init(); pinMode(LED_BUILTIN, OUTPUT); }
void loop() { breakpoint(); digitalWrite(LED_BUILTIN, HIGH); delay(1000); digitalWrite(LED_BUILTIN, LOW); delay(1000); }
I've got this error. Everything is setup according to documentation.
main.cpp
include "Arduino.h"
include "avr8-stub.h"
include "app_api.h" // only needed with flash breakpoints
void setup() { // initialize GDB stub debug_init(); pinMode(LED_BUILTIN, OUTPUT); }
void loop() { breakpoint(); digitalWrite(LED_BUILTIN, HIGH); delay(1000); digitalWrite(LED_BUILTIN, LOW); delay(1000); }