-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for NXP S32K148 evaluation board #85555
base: main
Are you sure you want to change the base?
Add support for NXP S32K148 evaluation board #85555
Conversation
@marcin-wierzbicki please update the hal_nxp entry in the west manifest to point to that pr |
I'd recommend to keep this first PR smaller including basic enablement of the SoC and board, and split the PHY driver into another PR for easier review. This will likely also help you to move the prs faster. This is not mandatory, but in general a good practice. |
Sure. Thank you. |
f26455d
to
445c7d5
Compare
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 impostor SHA Note: This message is automatically posted and updated by the Manifest GitHub Action. |
@marcin-wierzbicki you have marked multiple comments I left as resolved, they aren't resolved, you haven't fixed the issues, please acquaint yourself with the contributor guidelines https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#workflow-suggestions-that-help-reviewers as per
Also apply the coding style requirements to this PR without saying "will be handled in future" |
Thank you for the feedback! The coding style fixes are already being addressed in a separate branch, and @KevShaju will be submitting a dedicated PR for them soon. This will help keep this PR focused on its main changes while ensuring consistency across the project. |
445c7d5
to
e2933bf
Compare
This PR will not be approved and merged, if the requested changes are not done. |
e2933bf
to
ac2751f
Compare
Thank you. We have addressed all the requested changes in this PR. |
ac2751f
to
7e879ec
Compare
boards/nxp/s32k148_evb/doc/index.rst
Outdated
=========================== | ||
|
||
This board integrates an OpenSDA debug adapter. It can be used for flashing and debugging. | ||
The board cannot be debugged using the ``west debug`` command, since pyOCD does not support the target. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding west runner support should be straight forward, e.g.
- jlink: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/ucans32k1sic/board.cmake#L4-L9
- or, s32 debug probe: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/s32z2xxdc2/board.cmake#L10-L13
No need to comment on pyOCD if it's not supported for this target (only on what is supported).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the input. Regarding the nxp_s32dbg runner, I believe nxp_s32dbg.py won’t work for the S32K148 as-is. There are some hardcoded elements, and it currently runs the gta process, whereas in this case, we need to use pegdbserver_console. It might be necessary to introduce a new runner to support this properly
Support for NXP S32K148 evaluation board (s32k148_evb). The board can be debugged using gdb (see boards/nxp/s32k148_evb/doc/index.rst). Adapt samples: adc_dt, adc_sequence. Adapt tests: adc_api, gpio_basic_api, gpio_hogs. Signed-off-by: Marcin Wierzbicki <[email protected]>
Adds the c22 tja11xx driver. Signed-off-by: Kevin Shaju <[email protected]>
Add a shield for NXP NXP ADTJA1101 Ethernet Adapter. This shield can be used with the S32K148evb. Signed-off-by: Kevin Shaju <[email protected]>
7e879ec
to
0f9eb96
Compare
Add support for NXP S32K148 evaluation board.
The board can be debugged using gdb (see boards/nxp/s32k148_evb/doc/index.rst).
The board cannot be debugged using the
west debug
command, since pyOCD does not support the target. I would be grateful for any guidance on this.Adapt samples: adc_dt, adc_sequence.
Adapt tests: adc_api, gpio_basic_api, gpio_hogs.
See Add support for S32K148 SoC