Adding HAL for new NXP Kinetis device K32L2B31


Claude Henry
 

Hi,

I need to add a new CPU "K32L2B31A" HAL from NXP to the NXP HAL module.
Can I do this by creating an external NXP module an using the ZEPHYR_EXTRA_MODULES variable to declare this new module ?
I tried this way without success because the build mechanism was searching this module in the Zephyr tree.
I think the problem is that my module must be known as an "hal_nxp" module which is in conflict with the Zephyr based "hal_nxp" module.
Is the best way to directly integrate this new CPU in the "hal_nxp" module repository ?

Regards

Claude Henry

Join users@lists.zephyrproject.org to automatically receive all group messages.