-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,713 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
add_library(ne2000 INTERFACE) | ||
|
||
# if(NOT PICO_BOARD STREQUAL "PICO_W") | ||
# message(FATAL_ERROR "NE2000 Requires Pico W") | ||
# endif() | ||
|
||
|
||
|
||
target_include_directories(ne2000 INTERFACE | ||
${CMAKE_CURRENT_LIST_DIR} | ||
${CMAKE_CURRENT_LIST_DIR}/ne2000 | ||
) | ||
|
||
target_sources(ne2000 INTERFACE | ||
${CMAKE_CURRENT_LIST_DIR}/ne2000.c | ||
) | ||
|
||
target_link_libraries(ne2000 INTERFACE | ||
pico_cyw43_arch_none | ||
# pico_cyw43_arch_poll | ||
) | ||
# target_compile_definitions(pico_cyw43_arch_poll_headers INTERFACE | ||
# CYW43_LWIP=0 | ||
# ) | ||
# target_compile_definitions(ne2000 INTERFACE | ||
# CYW43_LWIP=0 | ||
# ) | ||
|
Oops, something went wrong.