-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Add base support to TI cc23x0 SoC #76441
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 base support to TI cc23x0 SoC #76441
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
4acfa42 to
de13ff6
Compare
de13ff6 to
233265f
Compare
|
I tested your PR on my board, and it worked great. I just had to install python 3.11 for installing |
5e8b696 to
fca828d
Compare
70b7988 to
599aeec
Compare
|
Hi @stephanosio , we will appreciate some help with this failing PR. The issue look to be crc_tool not found for twister-build (1) and twister-build (1). Tool is available to install via I can see in twister yamls that dependencies should be installed before build, so I assume something else is happening. |
|
@bogdanovs The packages in Since this "crc-tool" seems to be a rather obscure and SoC-specific package, I suggest adding it in-tree under |
|
@stephanosio yes but during docker build phase I think they are fetched from latest Zephyr main branch. I was referring to In this CMakeList.txt is the location where we call the tool to sign the image, this should be the right place. "crc-tool" is needed to sign the zephyr binary it is accepted by cc2340r5 bootloader. Since it is SoC specific I assume we should remove it from some of : What would be your suggestion on that ? Can we add SoC specific dependency of that type ? |
I suppose you have access to the source code of |
|
@stephanosio, its not a signing tool, its a tool that computes CRCs over a specific memory region that our ROM requires. So I think there is already a precedent for such tools, but its about technically digging down and figuring out why the build is failing. Additionally, if we must ship the tool in another way, I would say that should be through |
I have already explained why it is failing above: #76441 (comment)
Sure; but, the difference is that
Sure, either way is fine. If the tool is not Apache 2.0-licensed, it would be simpler to put it in the HAL. |
I understand and and this is valid feedback, thank you.
I think that given the Would that be acceptable? |
Yes, that sounds reasonable. |
Thanks! We will do the following:
|
599aeec to
9bd0ef2
Compare
Add support for flash to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Describe system flash setting. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for pinctrl to cc23x0 SoC. Like for other TI SoCs, a node approach is implemented (no grouping approach). Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for pinctrl to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
d002059 to
a924f2b
Compare
Add support for systim to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for GPIO to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for GPIO to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Enable GPIO. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for LEDs and buttons. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for UART to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Add support for UART to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
Enable UART. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
a924f2b to
b2b0181
Compare
|
@gmarull Thanks a lot for your reviews in the PR and understand that you are busy now, since the PR has you as the assignee it looks the PR does not meet the criteria for merge at https://merge-list.zephyrproject.io/ since approval from the assignee is required, please let know what can be done. CC @kartben |
kartben
left a comment
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.
@jpanisbl @vaishnavachath please follow-up with these documentation fix-ups. Didn't want to have them delay the PR going in but they are important nevertheless to ensure board shows up nicely in docs and search :)
Thank you @kartben. I'll do. |
This series adds base support to TI cc23x0 SoC:
Datasheet: https://www.ti.com/lit/ds/symlink/cc2340r5.pdf