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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user