Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
d3c2e3b9
Commit
d3c2e3b9
authored
Mar 24, 2021
by
me-no-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually start the default debug port instead of USB CDC
for the cases where one of the UARTs is used.
parent
bbf3fde9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cores/rp2040/main.cpp
cores/rp2040/main.cpp
+2
-2
No files found.
cores/rp2040/main.cpp
View file @
d3c2e3b9
...
...
@@ -24,7 +24,7 @@ extern void setup();
extern
void
loop
();
extern
"C"
int
main
()
{
Serial
.
begin
();
DEBUG_RP2040_PORT
.
begin
();
setup
();
while
(
1
)
{
loop
();
...
...
@@ -50,7 +50,7 @@ extern "C" int main() {
extern
"C"
int
errno
;
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment