NXP LPC55S36 Zephyr Port #46421
-
I am working on a Zephyr port for the LPC55S36JHI48 and need to create the LPC55S36JHI48-pinctrl.h file. I am referencing the existing LPC55S06JHI48-pinctrl.h(attached below) to create LPC55S36JHI48-pinctrl.h. At the top of LPC55S06JHI48-pinctrl.h there is a comment that says "NOTE: File generated by lpc_cfg_utils.py from LPC55S06JHI48/signal_configuration.xml". Is it possible to use lpc_cfg_utils.py to generate LPC55S36JHI48-pinctrl.h? If so where do I find lpc_cfg_utils.py? Any other suggestions or tools for doing this Zephyr port would be helpful. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
What can be done to help this along? There is a duplicate issue on the Community forum as well. |
Beta Was this translation helpful? Give feedback.
-
Hi @Phase777- The lpc_cfg_utils.py script has not been merged into NXP's HAL yet, but it is available here: zephyrproject-rtos/hal_nxp#159. The script can generate pin control headers using the configuration tool data for an SOC. To do so, take the following steps:
Please feel free to reach out if the above steps are unclear- I can also provide the generated file directly via a PR, if that is preferred. |
Beta Was this translation helpful? Give feedback.
-
Hi @danieldegrasse , how to generate the pin control file by SDK alone without using MCUXpresso Config tools.? |
Beta Was this translation helpful? Give feedback.
Hi @Phase777- The lpc_cfg_utils.py script has not been merged into NXP's HAL yet, but it is available here: zephyrproject-rtos/hal_nxp#159. The script can generate pin control headers using the configuration tool data for an SOC. To do so, take the following steps:
C:\ProgramData\NXP\mcu_data_v11\processors
. There s…