Re: PCF8575 driver for NuttX

2023-10-06 Thread Alan C. Assis
Hi David, On 10/6/23, David S. Alessio wrote: >>> In a quick search I noticed that i2c_vbus_initialize() never was part of NuttX, >>> >>> OK, that’s not good. What’s the best way to submit it now? >>> >> >> No idea, I think this function is something you created for your project. >>

Re: PCF8575 driver for NuttX

2023-10-06 Thread David S. Alessio
>> >>> In a quick search I noticed that i2c_vbus_initialize() never was part >>> of NuttX, >> >> OK, that’s not good. What’s the best way to submit it now? >> > > No idea, I think this function is something you created for your project. > > How is i2c_vbus_initialize() defined in your source

Re: PCF8575 driver for NuttX

2023-10-06 Thread Alan C. Assis
Hi David, On 10/6/23, David S. Alessio wrote: > >> In a quick search I noticed that i2c_vbus_initialize() never was part >> of NuttX, > > OK, that’s not good. What’s the best way to submit it now? > No idea, I think this function is something you created for your project. How is

Re: PCF8575 driver for NuttX

2023-10-06 Thread Alan C. Assis
Hi Gustavo, On 10/6/23, Gustavo Soares wrote: > Hi, Alan and David! > > I'm using nrf52_sx1509.c (at boards/arm/nrf62/thingy52/src) as model for my > driver. I've attached what I have wrote so far and I'd like to know if you > could tell me if I'm at the right direction: >

Re: PCF8575 driver for NuttX

2023-10-06 Thread David S. Alessio
> In a quick search I noticed that i2c_vbus_initialize() never was part > of NuttX, OK, that’s not good. What’s the best way to submit it now?

RE: PCF8575 driver for NuttX

2023-10-06 Thread Gustavo Soares
Hi, Alan and David! I'm using nrf52_sx1509.c (at boards/arm/nrf62/thingy52/src) as model for my driver. I've attached what I have wrote so far and I'd like to know if you could tell me if I'm at the right direction: [cid:efd68788-44d6-4e3f-a528-ab0fb1e35f03] (print from nrf52_sx1509.c,

Re: PCF8575 driver for NuttX

2023-10-06 Thread Alan C. Assis
Hi David, In a quick search I noticed that i2c_vbus_initialize() never was part of NuttX, maybe it is something you created to abstract from different MCUs initialization. I think we can use some similar (a generic function) to create a boards/common/ directory to keep all I2C, SPI, devices