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:
12
eth/CMakeLists.txt
Normal file
12
eth/CMakeLists.txt
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user