Re: [Owfs-developers] Many-port bus master

2018-11-15 Thread Alastair D'Silva
On Thu, 2018-11-15 at 11:19 +0100, Stefano Miccoli via Owfs-developers wrote: > > On 15 Nov 2018, at 08:27, Alastair D'Silva > > wrote: > > > > > > One question, my code has C99isms, which are fine for modern > > compilers as they default to C99. Older compilers default to C90. > > > > I can fi

Re: [Owfs-developers] Many-port bus master

2018-11-15 Thread Stefano Miccoli via Owfs-developers
> On 15 Nov 2018, at 08:27, Alastair D'Silva wrote: > > > One question, my code has C99isms, which are fine for modern compilers as > they default to C99. Older compilers default to C90. > > I can fix this in 2 ways: > Easy way: add std=c99 to CFLAGS to force C99 mode > Hard(er) way: Remove

Re: [Owfs-developers] Many-port bus master

2018-11-14 Thread Alastair D'Silva
> > > PS. Would it be possible to get my current work reviewed? I'm not > > > quite ready to push it upstream, but it would be good to know early if > > > there is anything there that would prevent it from being merged. My > repo > > is here: > > > https://github.com/InfernoEmbedded/owfs/tree/infer

Re: [Owfs-developers] Many-port bus master

2017-08-01 Thread Jan Kandziora
Am 02.08.2017 um 01:41 schrieb Alastair D'Silva: > > My situation is a bit special - all the lighting, roller shutters, > fans, etc will be controlled by the bus. By splitting out as many > ports as I can fit on the microcontroller, it means that I can have > many independent buses with only a few

Re: [Owfs-developers] Many-port bus master

2017-08-01 Thread Alastair D'Silva
> -Original Message- > From: Jan Kandziora [mailto:j...@gmx.de] > Sent: Wednesday, 2 August 2017 1:25 AM > To: owfs-developers@lists.sourceforge.net >> OWFS (One-wire file system) > discussion and help > Subject: Re: [Owfs-developers] Many-port bus master >

Re: [Owfs-developers] Many-port bus master

2017-08-01 Thread Paul Alfille
owlib does have support for that kind of device -- (multiple buses) -- The DS2482-800 is a good example. It has one "port" and multiple buses. The port gets locked for just the message (e.g. serial communication) and the individual 1-wire bus and slave gets locked for the 1-wire "conversation". Eac

Re: [Owfs-developers] Many-port bus master

2017-08-01 Thread Jan Kandziora
Am 01.08.2017 um 16:01 schrieb Alastair D'Silva: > Hi folks, > > I'm currently designing an open-hardware 32 port 1wire bus master for part > of my home automation system, and would like your input. > > The design is based around an STM32F412ZG microcontroller, with MOSFET > active pullups & driv

[Owfs-developers] Many-port bus master

2017-08-01 Thread Alastair D'Silva
Hi folks, I'm currently designing an open-hardware 32 port 1wire bus master for part of my home automation system, and would like your input. The design is based around an STM32F412ZG microcontroller, with MOSFET active pullups & drive transistors. It will present as a hat for the Orange Pi Prime