Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions libraries/GDBStub/examples/gdbstub_example.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include <GDBStub.h>

void setup() {
Serial.begin(115200);
gdbstub_init();
Serial.printf("Starting...\n");
}

void loop() {
static uint32_t cnt = 0;
Serial.printf("%d\n", cnt++);
delay(100);
}
1 change: 0 additions & 1 deletion libraries/GDBStub/src/internal/gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ OS-less SDK defines. Defines some headers for things that aren't in the include
the xthal stack frame struct.
*/
#include "osapi.h"
#include "user_interface.h"

void _xtos_set_exception_handler(int cause, void (exhandler)(struct XTensa_exception_frame_s *frame));

Expand Down