Skip to content

Board name dependency in hal_nxp #30034

Answered by bdkrae
bdkrae asked this question in Q&A
Nov 15, 2020 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Thanks for your input @ejohnso49. With your hints I took a closer look at this CMake file. The sources files selected within the CMake file aim to configure the SOC´s SPI-Hardware to access external flash memory. As far as I can see this is not only a SOC dependent task, but also adapts to the used external memory (e.g. regarding SPI clocking).

With that in mind I conclude that this files should be located in the board directory. That simplifies the solution although it produces duplicate code in this case. New proposed solution is entirely located in the board directory:

bdkrae@0553000

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ejohnso49
Comment options

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