Unverified Commit 1f081150 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Merge pull request #12 from me-no-dev/picoprobe-support

Clean up gitignore, debug port configuation.  PicoProbe support began.
parents 7be7cda2 ac19051a
.DS_Store
system
tools/dist
cores/rp2040/api
...@@ -24,7 +24,7 @@ extern void setup(); ...@@ -24,7 +24,7 @@ extern void setup();
extern void loop(); extern void loop();
extern "C" int main() { extern "C" int main() {
Serial.begin(); DEBUG_RP2040_PORT.begin();
setup(); setup();
while (1) { while (1) {
loop(); loop();
...@@ -50,7 +50,7 @@ extern "C" int main() { ...@@ -50,7 +50,7 @@ extern "C" int main() {
extern "C" int errno; extern "C" int errno;
extern "C" ssize_t _write(int fd, const void *buf, size_t count) { extern "C" ssize_t _write(int fd, const void *buf, size_t count) {
return Serial.write((const char *)buf, count); return DEBUG_RP2040_PORT.write((const char *)buf, count);
} }
extern "C" int _chown (const char *path, uid_t owner, gid_t group) { extern "C" int _chown (const char *path, uid_t owner, gid_t group) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment