Skip to content
Discussion options

You must be logged in to vote

Hi @ofirshe ,
From the errors, it appears your build is not including fsl_enet.c in the NXP HAL. This driver is included in CMake in hal_nxp.cmake.

You show using zephyr_include_directories() to include the enet folder. My understanding is this Cmake command tells the compiler where the include files are, like .h files. But a command like zephyr_library_sources() is needed to include a source file in the build, like here in hal_nxp.cmake. Or here is how driver_enet.cmake adds fsl_enet.c to the build.

BTW, do you also have CONFIG_ETH_MCUX selected for your board?

Best regards

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@ofirshe
Comment options

@ofirshe
Comment options

Comment options

You must be logged in to vote
2 replies
@ofirshe
Comment options

@ofirshe
Comment options

Answer selected by ofirshe
Comment options

You must be logged in to vote
2 replies
@ofirshe
Comment options

@ofirshe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants