Skip to content

Remove user_interface.h from gdbstub includes #6862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 1, 2019
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