|
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
·
|
|
Re: STM32F103x port
Hej Maciek,
I added stm32f4 support to your stm32 patch:
https://gerrit.zephyrproject.org/r/#/c/671/
Code is tested to run on Nucleo board included it the patch.
Cheers,
Pawel
Hej Maciek,
I added stm32f4 support to your stm32 patch:
https://gerrit.zephyrproject.org/r/#/c/671/
Code is tested to run on Nucleo board included it the patch.
Cheers,
Pawel
|
By
Pawel Wodnicki <root@...>
·
#2478
·
|
|
Re: RFC: Counter driver API
Hi Andre, Tomasz, Jesus,
Thanks for your feedbacks. I updated the API with these feedbacks. Please
correct or if I missed any part that needed to be reflected. The updated API
looks like
Hi Andre, Tomasz, Jesus,
Thanks for your feedbacks. I updated the API with these feedbacks. Please
correct or if I missed any part that needed to be reflected. The updated API
looks like
|
By
Tseng, Kuo-Lang <kuo-lang.tseng@...>
·
#2477
·
|
|
Re: RFC: Use error codes from errno.h
Hi all,
Quoting Jesus Sanchez-Palencia (2016-03-02 16:03:22)
Yes, this is the idea.
Back then, I reviewed the error codes usages and this was what I had in mind:
DEV_OK = 0
DEV_FAIL =
Hi all,
Quoting Jesus Sanchez-Palencia (2016-03-02 16:03:22)
Yes, this is the idea.
Back then, I reviewed the error codes usages and this was what I had in mind:
DEV_OK = 0
DEV_FAIL =
|
By
Andre Guedes <andre.guedes@...>
·
#2476
·
|
|
Re: RFC: Use error codes from errno.h
Hi everyone,
Benjamin Walsh <benjamin.walsh(a)windriver.com> wrote:
After all the feedback so far (thanks, btw!), the updated list now looks like:
DEV_OK = 0
DEV_FAIL =
Hi everyone,
Benjamin Walsh <benjamin.walsh(a)windriver.com> wrote:
After all the feedback so far (thanks, btw!), the updated list now looks like:
DEV_OK = 0
DEV_FAIL =
|
By
Jesus Sanchez-Palencia <jesus.sanchez-palencia@...>
·
#2475
·
|
|
Re: RFC: Use error codes from errno.h
I think -ENOTSUP is a 1-1 match here:
ENOTSUP Operation not supported (POSIX.1)
I think -ENOTSUP is a 1-1 match here:
ENOTSUP Operation not supported (POSIX.1)
|
By
Benjamin Walsh <benjamin.walsh@...>
·
#2474
·
|