Skip to content

How to add an NXP HAL module to my project? #71571

Answered by DerekSnell
notronrj asked this question in Q&A
Discussion options

You must be logged in to vote

Edited: This discussion is no longer up to date with the latest HAL_NXP. These details still work to include a driver file, and are still useful for versions of Zephyr v4.1 or older, or when working with a device that is not supported in the latest MCUXpresso SDK. For the latest details, see Using MCUXpresso SDK drivers in a Zephyr application.

Many drivers in the HAL are enabled for Zephyr and included with Kconfigs. The enabled drivers are included from the hal_nxp.cmake file. But the HAL includes many other SDK drivers that are not yet enabled in Zephyr. These drivers can be included by the application, and the SDK driver APIs can be called directly from the application.

This example u…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DerekSnell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
platform: NXP NXP platform: NXP Drivers NXP Semiconductors, drivers
3 participants