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
fee03660
Unverified
Commit
fee03660
authored
Jul 16, 2022
by
Earle F. Philhower, III
Committed by
GitHub
Jul 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide dummy CYW43 callbacks when no WiFi used (#681)
Fixes #680
parent
988940b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
cores/rp2040/sdkoverride/cyw43_arch_threadsafe_background.c
cores/rp2040/sdkoverride/cyw43_arch_threadsafe_background.c
+30
-0
No files found.
cores/rp2040/sdkoverride/cyw43_arch_threadsafe_background.c
View file @
fee03660
...
...
@@ -316,4 +316,34 @@ void cyw43_arch_poll() {
// }
}
#ifdef ARDUINO_RASPBERRY_PI_PICO_W
void
__attribute__
((
weak
))
cyw43_cb_tcpip_init
(
cyw43_t
*
self
,
int
itf
);
void
cyw43_cb_tcpip_init
(
cyw43_t
*
self
,
int
itf
)
{
(
void
)
self
;
(
void
)
itf
;
}
void
__attribute__
((
weak
))
cyw43_cb_tcpip_deinit
(
cyw43_t
*
self
,
int
itf
);
void
cyw43_cb_tcpip_deinit
(
cyw43_t
*
self
,
int
itf
)
{
(
void
)
self
;
(
void
)
itf
;
}
void
__attribute__
((
weak
))
cyw43_cb_tcpip_set_link_up
(
cyw43_t
*
self
,
int
itf
);
void
cyw43_cb_tcpip_set_link_up
(
cyw43_t
*
self
,
int
itf
)
{
(
void
)
self
;
(
void
)
itf
;
}
void
__attribute__
((
weak
))
cyw43_cb_tcpip_set_link_down
(
cyw43_t
*
self
,
int
itf
);
void
cyw43_cb_tcpip_set_link_down
(
cyw43_t
*
self
,
int
itf
)
{
(
void
)
self
;
(
void
)
itf
;
}
void
__attribute__
((
weak
))
cyw43_cb_process_ethernet
(
void
*
cb_data
,
int
itf
,
size_t
len
,
const
uint8_t
*
buf
);
void
cyw43_cb_process_ethernet
(
void
*
cb_data
,
int
itf
,
size_t
len
,
const
uint8_t
*
buf
)
{
(
void
)
cb_data
;
(
void
)
itf
;
(
void
)
len
;
(
void
)
buf
;
}
#endif
#endif
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