Skip to content
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

modules: hal_silabs: Add Proprietary TRX example #66574

Closed

Conversation

zohavas
Copy link
Contributor

@zohavas zohavas commented Dec 15, 2023

Add Proprietary TRX example to show SiliconLabs radio board capabilities.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Dec 15, 2023

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_silabs zephyrproject-rtos/hal_silabs@b11b291 (master) zephyrproject-rtos/hal_silabs#49 zephyrproject-rtos/hal_silabs#49/files

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added the DNM This PR should not be merged (Do Not Merge) label Dec 18, 2023
@zohavas zohavas force-pushed the add_example_radio_trx branch 2 times, most recently from 76b3b40 to e1fc515 Compare December 18, 2023 09:15
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Feb 17, 2024
@zohavas
Copy link
Contributor Author

zohavas commented Feb 19, 2024

I would like to remove the stale label, the submodule PR is ready and approved waiting for the merge.

@github-actions github-actions bot removed the Stale label Feb 20, 2024
Add Proprietary TRX example to show SiliconLabs radio board
capabilities.

Signed-off-by: Zoltan Havas <[email protected]>
@nordicjm
Copy link
Collaborator

If I understand this correctly, this is tired to one specific piece of hardware from one vendor and requires binary blobs to even be used - what is the value of this being added here?

@nashif shouldn't this be something for the TSC?

@zohavas
Copy link
Contributor Author

zohavas commented Feb 22, 2024

If I understand this correctly, this is tired to one specific piece of hardware from one vendor and requires binary blobs to even be used - what is the value of this being added here?

@nashif shouldn't this be something for the TSC?

Hi @nordicjm,
Yes this sample application will be able to be only used with silabs hardware, that's why it is position in the silabs_hal repository.
This can be used with any already supported Siliconlab board with the help of the Radio Configurator from Studio.
We want to show the radio capability of the gecko software and silabs hardware, that why we chosen this repository for user to easily find the correct way to use the radio functions.
We have already a similar discussion in the repo PR: zephyrproject-rtos/hal_silabs#49 (comment)

@henrikbrixandersen henrikbrixandersen added the area: Blobs Binary blobs label Mar 6, 2024
@zohavas
Copy link
Contributor Author

zohavas commented Mar 7, 2024

@henrikbrixandersen I would like to ask if [area: Blobs] is correct as I don't add or modify any libs, only use the existing ones.

@henrikbrixandersen henrikbrixandersen removed the area: Blobs Binary blobs label Mar 7, 2024
@nashif nashif requested a review from fkokosinski March 13, 2024 15:41
@fabiobaltieri
Copy link
Member

fabiobaltieri commented Mar 14, 2024

Hey this is not build in CI in the current state right? I was under the impression that it was (other modules have tests that are included in the normal CI run). If that's the case, distributing this with the OS had limited value, the idea here is that the sample code that ships with the project is maintained and kept up to date, at least it should be built tested.

Regardless, what I'm thinking is that having the sample in the module is going to be a potential extra load for API maintenance, say one of the sample API change, the author of the change has do do the whole module change dance to fix the sample. If every hal starts having a set of in-module samples it'd be a nightmare.

On the other side, if the sample lives in the main repository, a change of the binary blob or hal api would result in the extra step to change the main repo code, but then that's already case as changing the module involve a main PR anyway to update the west file, no extra load there.

So with that in mind I think that that having the sample in the module is a net negative, and this should be:

  • moved in the main repo
  • get an extra review (at first sight some api and styling are off)
  • be relicenced like the other sample
  • get an extra review
  • get a build file so it gets build tested

There's an argument about having a sample backed by a proprietary blob module but frankly I don't see that as being different than any ble/wifi samples, I think we have platforms with blob for power management as well.

@tgorochowik
Copy link
Member

I agree with Fabio, in addition I think we should rename this sample from "proprietary" to something else, if there is no dedicated name then maybe something more descriptive, as the code of this sample is not really proprietary, it's just the blob that is proprietary

@fabiobaltieri
Copy link
Member

fabiobaltieri commented Mar 20, 2024

I think we should rename this sample from "proprietary" to something else

The main repo already has vendor specific samples under samples/boards/, this would fit there just fine, the scope of that directory is a mix of "boards" and "vendor" at this stage but that's not much of an issue IMO.

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label May 20, 2024
@github-actions github-actions bot closed this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM This PR should not be merged (Do Not Merge) manifest manifest-hal_silabs Stale
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants