merge net into eth lib; ipv4 owns its IP via ipv4::init/get_ip; drop state struct in favor of eth::get_mac/ipv4::get_ip

This commit is contained in:
Ian Gulliver
2026-05-01 11:03:16 -07:00
parent cc1448d6a2
commit fceae27f10
17 changed files with 149 additions and 148 deletions

12
eth/CMakeLists.txt Normal file
View File

@@ -0,0 +1,12 @@
add_library(eth STATIC eth.cpp)
target_include_directories(eth PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_options(eth PRIVATE -Wall -Wextra -Wno-unused-parameter)
target_link_libraries(eth PUBLIC
util
debug_log
w6300
pico_unique_id
)