Skip to content

SOC_ROOT directory is not working if we mention it on application CMakeLists.txt #67761

Answered by DerekSnell
aravinth-kalai asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aravinth-kalai ,
Is the issue a problem with missing Kconfig definitions? Did you update all the paths sourced in the Kconfig files, to point to your app's SOC_ROOT folder? For example, lpc55xxx/Kconfig.defconfig.series sources soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lp*, which I believe points to the SOC folder in the Zephyr repo.

A couple years ago I used my own SOC_ROOT folder for an SOC I added. I struggled getting all my Kconfig files sourced. I finally resolved it by putting intentional errors in my Kconfig files, and found some were not sourced. Then I hunted down how each was getting source until I confirmed all of them were included in the build.

Let us know what you find.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@aravinth-kalai
Comment options

Comment options

You must be logged in to vote
1 reply
@aravinth-kalai
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DerekSnell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants