|
Re: RFC: Counter driver API
Sure. Below are a summary of the API and changes. Please let me know if anything else needs to be mentioned and I can add.
The generic counter API will support 4 functions as summarized below. Based
Sure. Below are a summary of the API and changes. Please let me know if anything else needs to be mentioned and I can add.
The generic counter API will support 4 functions as summarized below. Based
|
By
Tseng, Kuo-Lang <kuo-lang.tseng@...>
·
#2498
·
|
|
Re: RFC: Counter driver API
Before starting, send out a summary of what you're going to change as a final RFC please.
Before starting, send out a summary of what you're going to change as a final RFC please.
|
By
Kalowsky, Daniel <daniel.kalowsky@...>
·
#2497
·
|
|
Re: RFC: Counter driver API
Since this RFC has been quietly for a while and it seems we have reached
a good amount of feedback so we will implement it and update the current
patch.
Since this RFC has been quietly for a while and it seems we have reached
a good amount of feedback so we will implement it and update the current
patch.
|
By
Tseng, Kuo-Lang <kuo-lang.tseng@...>
·
#2496
·
|
|
Re: [RFC] GPIO API changes
Hi Tomasz,
I realize this typedef is inherited from the original code, but do we
really need/want to enforce an opaque type here? The general preference
with the coding style (inherited from Linux
Hi Tomasz,
I realize this typedef is inherited from the original code, but do we
really need/want to enforce an opaque type here? The general preference
with the coding style (inherited from Linux
|
By
Johan Hedberg
·
#2495
·
|
|
Re: [RFC] GPIO API changes
Tomasz Bursztyka <tomasz.bursztyka(a)linux.intel.com> writes:
I am just wondering that in the "old" API '_port_enable_callback()' was
a way to have the callback called with the pins expressed in a
Tomasz Bursztyka <tomasz.bursztyka(a)linux.intel.com> writes:
I am just wondering that in the "old" API '_port_enable_callback()' was
a way to have the callback called with the pins expressed in a
|
By
Vinicius Costa Gomes
·
#2494
·
|
|
Re: [RFC] GPIO API changes
Hi Iván,
It's 2 different features:
- one (un)install a callback function (and the pins it's interested in)
- one enable or disable the interrupt trigger (and keeps track of it) of
one pin.
You
Hi Iván,
It's 2 different features:
- one (un)install a callback function (and the pins it's interested in)
- one enable or disable the interrupt trigger (and keeps track of it) of
one pin.
You
|
By
Tomasz Bursztyka
·
#2493
·
|
|
Re: [RFC] GPIO API changes
Hi Vinicius,
gpio_port_callback() make the callback called, whatever pins is
triggering the interrupt and enabled or not (callback wise).
So they are different (documentation could be better
Hi Vinicius,
gpio_port_callback() make the callback called, whatever pins is
triggering the interrupt and enabled or not (callback wise).
So they are different (documentation could be better
|
By
Tomasz Bursztyka
·
#2492
·
|
|
Re: [RFC] GPIO API changes
Consider there's a set/unset function in those changes, do we need to
enable? Can't we infer from the callbacks the user sets?
Consider there's a set/unset function in those changes, do we need to
enable? Can't we infer from the callbacks the user sets?
|
By
Iván Briano <ivan.briano at intel.com...>
·
#2491
·
|
|
Re: [RFC] GPIO API changes
Hi,
Sorry if I am a little too late.
Tomasz Bursztyka <tomasz.bursztyka(a)linux.intel.com> writes:
Another issue of the current API is the confusion caused by
'gpio_port_enable_callback()' and
Hi,
Sorry if I am a little too late.
Tomasz Bursztyka <tomasz.bursztyka(a)linux.intel.com> writes:
Another issue of the current API is the confusion caused by
'gpio_port_enable_callback()' and
|
By
Vinicius Costa Gomes
·
#2490
·
|
|
Re: [RFC] GPIO API changes
When I say it's untested, it's for real ... should be *callback here.
With new api, this would call all callback handles, whatever is their
pin_mask.
(see _gpio_fire_callbacks())
When I say it's untested, it's for real ... should be *callback here.
With new api, this would call all callback handles, whatever is their
pin_mask.
(see _gpio_fire_callbacks())
|
By
Tomasz Bursztyka
·
#2489
·
|
|
Re: [RFC] GPIO API changes
Hi,
I quickly went through prototyping something, only to detail the RFC (so
it's not really tested etc...)
Also, it's not something that I am planning to send right away as it
breaks the former
Hi,
I quickly went through prototyping something, only to detail the RFC (so
it's not really tested etc...)
Also, it's not something that I am planning to send right away as it
breaks the former
|
By
Tomasz Bursztyka
·
#2488
·
|
|
Zephyr v1.1.0 tagged
Hi,
Zephyr v1.1.0 was tagged 2 days ago and merge window for the next release is no open. Release notes and other details will be posted on the website.
Here is the log of changes since the
Hi,
Zephyr v1.1.0 was tagged 2 days ago and merge window for the next release is no open. Release notes and other details will be posted on the website.
Here is the log of changes since the
|
By
Nashif, Anas
·
#2487
·
|
|
Re: RFC[2/2] Common logging infrastructure and API
Hi,
How is this logging infra RFC going? :)
Just noticed one thing to change as well: include/misc/__assert.h
Would be nice if those __ASSERT macros would use this logging facilities
as
Hi,
How is this logging infra RFC going? :)
Just noticed one thing to change as well: include/misc/__assert.h
Would be nice if those __ASSERT macros would use this logging facilities
as
|
By
Tomasz Bursztyka
·
#2486
·
|
|
Re: STM32F103x port
Hi,
I've uploaded another patchset.
Some of the patches have only gone through updates. Specifically
clock_control and the base st_stm32 tree patch. I've decided to keep
the RCC driver MCU specific.
Hi,
I've uploaded another patchset.
Some of the patches have only gone through updates. Specifically
clock_control and the base st_stm32 tree patch. I've decided to keep
the RCC driver MCU specific.
|
By
Maciek Borzecki <maciek.borzecki@...>
·
#2485
·
|
|
Re: [RFC] Sensor API
As for me, it's a very good aproach for drivers in general. At the very
least, it reduces interrupt latency. Keeping in mind the fact that some
drivers support callback functions, it may be
As for me, it's a very good aproach for drivers in general. At the very
least, it reduces interrupt latency. Keeping in mind the fact that some
drivers support callback functions, it may be
|
By
Dmitriy Korovkin
·
#2484
·
|
|
Re: [RFC v2] uart: add ISR callback mechanism for UART drivers
I have created a JIRA to address this
@ https://jira.zephyrproject.org/browse/ZEP-89
-----
Daniel Leung
I have created a JIRA to address this
@ https://jira.zephyrproject.org/browse/ZEP-89
-----
Daniel Leung
|
By
Daniel Leung <daniel.leung@...>
·
#2483
·
|
|
Re: STM32F103x port
Hi Maciek,
Would be great to generalize as much as possible now. At least for
what's concerning stm32.
For instance, maybe gpio/pinmuxer could be generalized as well that way.
Tomasz
Hi Maciek,
Would be great to generalize as much as possible now. At least for
what's concerning stm32.
For instance, maybe gpio/pinmuxer could be generalized as well that way.
Tomasz
|
By
Tomasz Bursztyka
·
#2482
·
|
|
Re: RFC: Use error codes from errno.h
Hi,
Quoting Nashif, Anas (2016-03-04 09:34:45)
Nice, let's move on with this convention. I'll send patches to gerrit soon.
Thanks all,
Andre
Hi,
Quoting Nashif, Anas (2016-03-04 09:34:45)
Nice, let's move on with this convention. I'll send patches to gerrit soon.
Thanks all,
Andre
|
By
Andre Guedes <andre.guedes@...>
·
#2481
·
|
|
Re: RFC: Use error codes from errno.h
Yes please,
Thanks.
Anas
By
Nashif, Anas
·
#2480
·
|
|
Re: STM32F103x port
That's great. I'll definitely take a look at it.
Can you check if drivers in the patchset that I posted are useful for
you? Specifically,
the UART driver might be reusable across a larger number of
That's great. I'll definitely take a look at it.
Can you check if drivers in the patchset that I posted are useful for
you? Specifically,
the UART driver might be reusable across a larger number of
|
By
Maciek Borzecki <maciek.borzecki@...>
·
#2479
·
|