extract arp into its own static library; add empty arp::init() called from dispatch_init to anchor the .o so the self-registration constructor links in

This commit is contained in:
Ian Gulliver
2026-05-01 13:35:40 -07:00
parent f64cdcaacf
commit 2d7ff98b82
5 changed files with 18 additions and 1 deletions

View File

@@ -6,9 +6,9 @@ add_subdirectory(debug_log)
add_subdirectory(msgpack)
add_subdirectory(eth)
add_subdirectory(ipv4)
add_subdirectory(arp)
add_library(limen STATIC
src/arp.cpp
src/dispatch.cpp
src/flash.cpp
src/handlers.cpp
@@ -31,6 +31,7 @@ target_link_libraries(limen PUBLIC
msgpack
eth
ipv4
arp
pico_stdlib
pico_sha256
)