Skip to content

Commit

Permalink
Fix issues after Pico SDK version 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
krzmaz committed Nov 28, 2023
1 parent 42c3a2b commit ca9029f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ target_include_directories(${PROGRAM_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}
)
target_link_libraries(${PROGRAM_NAME}
cyw43_driver_base
pico_cyw43_arch_lwip_threadsafe_background
pico_lwip_http
pico_lwip_mdns
Expand Down
3 changes: 3 additions & 0 deletions src/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
#define LWIP_MDNS_RESPONDER 1
#define LWIP_NUM_NETIF_CLIENT_DATA (LWIP_MDNS_RESPONDER)

// from https://github.com/raspberrypi/pico-sdk/issues/1281#issuecomment-1615938045
#define MEMP_NUM_SYS_TIMEOUT (LWIP_NUM_SYS_TIMEOUT_INTERNAL+3)

#define TCP_KEEPIDLE 10
#define TCP_KEEPINTVL 10
#define LWIP_HTTPD 1
Expand Down

0 comments on commit ca9029f

Please sign in to comment.