clock peripheral zephyr APIs for nordic boards
#nrf52
ubaidunited@...
Hi, I found options like: static inline int clock_control_on(const struct device *dev, clock_control_subsys_t sys) static inline int clock_control_off(const struct device *dev, clock_control_subsys_t sys)
I do understand that all of this is done through the configurations in prj.conf. But i want to know which APIs are responsible for it and how to call those APIs for LFCLK..? As in if i call clock_control_on( ), how do i populate the arguments *dev and sys..?
|
|
Re: Trusted firmware update date
Kevin Townsend
Hi Jamie, We'll have to evalute the complexity of the changes from TF-M, but if there are no major breaking changes to the build system, etc., it should be possible to update for the next Zephyr release cycle. We'll need at least an RC1 or RC2 for TF-M before doing the Zephyr PR, though. Kevin
On Fri, 12 Nov 2021 at 10:15, lairdjm <jamie.mccrae@...> wrote:
|
|
Trusted firmware update date
lairdjm
Hi,
We have some board file changes to make for when the next release of TF-M is pulled into zephyr, there is an upcoming TF-M release for version 1.5.0 on Monday - will 1.5.0 be used for the upcoming 3.0 release of Zephyr and if so, what is the expected date
of pulling it in?
Thanks,
Jamie
|
|
Cancelled Event: Zephyr: Power Management Sync - Thursday, November 11, 2021
#cal-cancelled
devel@lists.zephyrproject.org Calendar <noreply@...>
Cancelled: Zephyr: Power Management Sync This event has been cancelled. When: Where: Organizer: devel@... Description: ________________________________________________________________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,677440320# United States, Orlando
________________________________________________________________________________
|
|
Event: Zephyr Project: Dev Meeting - 11/11/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: Dev Meeting When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 483 314 739#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Re: Dev-Review Meeting Agenda Nov 11th
Kumar Gala
(Correcting Subject to Nov 11th)
toggle quoted messageShow quoted text
On Nov 10, 2021, at 12:18 PM, Kumar Gala via lists.zephyrproject.org <kumar.gala=linaro.org@lists.zephyrproject.org> wrote:
|
|
Dev-Review Meeting Agenda Oct 14th
Kumar Gala
All,
Originally we planned on discussing sensors this week, but that will get pushed to next week (Nov 18th). I’ll be out this week and Carles will run the meeting. Agenda for the week: doc: replace breathe with Sphinx-Doxygen bridge - https://github.com/zephyrproject-rtos/zephyr/pull/39702 soc: esp32: Support booting from MCUboot - https://github.com/zephyrproject-rtos/zephyr/pull/37872 Plus anything anyone else has. - k
|
|
Event: Zephyr Project: APIs - 11/09/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: APIs When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Re: API meeting: agenda
Burdick, Thomas
Hi Carles,
toggle quoted messageShow quoted text
I'd like to discuss the stats work I've done for i2c if possible, its on the API project in TODO Thanks! Tom
-----Original Message-----
From: devel@lists.zephyrproject.org <devel@lists.zephyrproject.org> On Behalf Of Carles Cufi via lists.zephyrproject.org Sent: Tuesday, November 9, 2021 5:48 AM To: devel@lists.zephyrproject.org Cc: Bursztyka, Tomasz <tomasz.bursztyka@intel.com> Subject: [Zephyr-devel] API meeting: agenda Hi all, Agenda for today: - SPI API updates - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39992 - PM structure optimization: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39286 - PR (option 4): https://github.com/zephyrproject-rtos/zephyr/pull/39397 - Road to pinctrl: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39740 If you have additional items please let me know. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d https://lists.zephyrproject.org/g/devel/calendar https://github.com/zephyrproject-rtos/zephyr/projects/18 Minutes: https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Re: API meeting: agenda
Carles Cufi
Hi all,
toggle quoted messageShow quoted text
Another item for today: - I2C stats - PR: https://github.com/zephyrproject-rtos/zephyr/pull/39788 Thanks, Carles
-----Original Message-----
|
|
API meeting: agenda
Carles Cufi
Hi all,
Agenda for today: - SPI API updates - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39992 - PM structure optimization: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39286 - PR (option 4): https://github.com/zephyrproject-rtos/zephyr/pull/39397 - Road to pinctrl: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39740 If you have additional items please let me know. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d https://lists.zephyrproject.org/g/devel/calendar https://github.com/zephyrproject-rtos/zephyr/projects/18 Minutes: https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Re: Issue with k_poll
Venkatesh Sukumaran
Done. https://github.com/zephyrproject-rtos/zephyr/issues/40189 Thanks, - Venkatesh.
On Mon, Nov 8, 2021 at 11:27 PM Andy Ross <andrew.j.ross@...> wrote:
|
|
RISC-V: mtvec: Vectored Mode
William <wpatty24@...>
Hi all, I would like to add support for "vectored mode" of the Machine Trap-Vector Base-Address Register (mtvec) to the RISC-V architecture — at the SOC level. Some SOCs have already implemented this directly. It makes sense to centralize this feature since it could be reused for all RISC-V SOCs. Additionally, centralizing the feature would allow RISC-V to support Zephyr’s ‘direct’ IRQ feature when vectored mode is used. I’m interested to hear if others agree that this feature would be useful. For background purposes, I’m working on a project that uses the lowRISC Ibex processor. This processor implements the RISC-V Privileged Architecture specification; however, it doesn’t support mtvec direct mode, only vectored mode. Given that the vectored mode is in the RISC-V Privileged Architecture specification, it should be supported within the RISCV_PRIVILEGE SOC family. Here’s what I’m proposing:
However, there is one aspect that’s more complicated:
I appreciate you taking the time to read this. I look forward to any discussion this proposal might create. Thanks, William
|
|
Re: Issue with k_poll
Andy Ross
Can you submit that as a github bug? I don't know that I see it, but if you're sure that it can happen it's something we need to fix.
Andy
From: Venkatesh Sukumaran <venkatesh.sukumaran@...>
Sent: Monday, November 8, 2021 9:39 AM To: Ross, Andrew J <andrew.j.ross@...> Cc: Cufi, Carles <Carles.Cufi@...>; devel@... <devel@...>; Leung, Daniel <daniel.leung@...> Subject: Re: [Zephyr-devel] Issue with k_poll I understand that the number of wakeups is not equal to the number of events signalled but the problem here is that the pending thread can *miss* a signal. The "signalled" field is being reset to zero by the pending thread after servicing the
signal handler and at that time, the same signal could be set again.
Thanks,
- Venkatesh.
On Mon, Nov 8, 2021 at 6:54 PM Andy Ross <andrew.j.ross@...> wrote:
|
|
Re: Issue with k_poll
Venkatesh Sukumaran
I understand that the number of wakeups is not equal to the number of events signalled but the problem here is that the pending thread can *miss* a signal. The "signalled" field is being reset to zero by the pending thread after servicing the signal handler and at that time, the same signal could be set again. Thanks, - Venkatesh.
On Mon, Nov 8, 2021 at 6:54 PM Andy Ross <andrew.j.ross@...> wrote:
|
|
Event: Zephyr Memory Footprint - biweekly discussion - 11/08/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Memory Footprint - biweekly discussion When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ______________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,546018126# United States, Orlando
______________________________
|
|
Re: Issue with k_poll
Andy Ross
That's right: k_poll() is level triggered, it's not a queue. The number of wakeups is not guaranteed to be equal to the number of events signalled. The idea is that you go to sleep waiting on any of a number of events/things to occur and are woken up when
at least one of them does. But then you need to do the accounting yourself to figure out who was signaled (and how many times) and what should happen.
In this particular use case it sounds like you should be polling on a semaphore and not a signal. Semaphores do provide proper counting of how many give/take calls are made.
Andy
From: Cufi, Carles <Carles.Cufi@...>
Sent: Monday, November 8, 2021 1:12 AM To: venkatesh.sukumaran@... <venkatesh.sukumaran@...>; devel@... <devel@...>; Ross, Andrew J <andrew.j.ross@...>; Leung, Daniel <daniel.leung@...> Subject: RE: [Zephyr-devel] Issue with k_poll + Andy, Daniel
From: devel@... <devel@...>
On Behalf Of Venkatesh Sukumaran via lists.zephyrproject.org
Anyone familiar with k_poll architecture here? Let me know if you need any other info.
Thanks, - Venkatesh.
On Wed, Oct 27, 2021 at 12:47 PM Venkatesh Sukumaran <venkatesh.sukumaran@...> wrote:
|
|
Re: Issue with k_poll
Carles Cufi
+ Andy, Daniel
From: devel@... <devel@...>
On Behalf Of Venkatesh Sukumaran via lists.zephyrproject.org
Sent: 08 November 2021 08:08 To: devel@... Subject: Re: [Zephyr-devel] Issue with k_poll
Anyone familiar with k_poll architecture here? Let me know if you need any other info.
Thanks, - Venkatesh.
On Wed, Oct 27, 2021 at 12:47 PM Venkatesh Sukumaran <venkatesh.sukumaran@...> wrote:
|
|
Re: Issue with k_poll
Venkatesh Sukumaran
Anyone familiar with k_poll architecture here? Let me know if you need any other info. Thanks, - Venkatesh.
On Wed, Oct 27, 2021 at 12:47 PM Venkatesh Sukumaran <venkatesh.sukumaran@...> wrote:
|
|
Updated Event: Zephyr: Power Management Sync
#cal-invite
devel@lists.zephyrproject.org Calendar <noreply@...>
Zephyr: Power Management Sync When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,677440320# United States, Orlando
________________________________________________________________________________
|
|