Ok, so if you feel that your code is now no longer related to that since it is 
actually completely rewritten
I think it is no problem. Otherwise, if you think there may still be code from 
there, the one you linked is MIT
so at least I think it could be a compatible license with Apache 2.0.

Do you have your code available somewhere? That way I can take a look and think 
how it can be integrated
to NuttX. Also, if you can place the apropriate license header already it would 
be better.

Best,
Matias

On Mon, Jan 18, 2021, at 15:42, Fotis Panagiotopoulos wrote:
> It is very possible that this was the original library:
> 
> https://github.com/leaflabs/libmaple/tree/master/libraries/Wire
> 
> By a quick look of it, it "seems" unrelated to my current code.
> 
> 
> 
> Στις Δευ, 18 Ιαν 2021 στις 8:40 μ.μ., ο/η Fotis Panagiotopoulos <
> f.j.pa...@gmail.com> έγραψε:
> 
> > >(maybe by googling a piece of code or comment)
> > Nah... Impossible. It certainly looks nothing like the original code. They
> > may not even share a common line of code any more.
> > This was not a "port" of an external library, rather I used the lib as a
> > basis to write my own think.
> >
> > At least to the part I remember, it was many years ago.
> >
> > I am looking for this maple library, but I think that it is not publicly
> > available any more.
> > The current libraries are a different thing I believe.
> >
> >
> > Στις Δευ, 18 Ιαν 2021 στις 8:22 μ.μ., ο/η Matias N. <mat...@imap.cc>
> > έγραψε:
> >
> >> Hi,
> >> that's great.
> >>
> >> I don't mind adapting it for NuttX. I think it could be made to have a
> >> hardware dependant lower-half to abstract
> >> the calls to GPIO handling.
> >>
> >> The part I'm unsure about is the licensing. If it is based on some code
> >> you cannot identify I think it would not
> >> be possible to include it unless we know the original license is
> >> compatible. Do you think you can identify
> >> where it came from? (maybe by googling a piece of code or comment)
> >>
> >> Best,
> >> Matias
> >>
> >> On Mon, Jan 18, 2021, at 15:12, Fotis Panagiotopoulos wrote:
> >> > Hi,
> >> >
> >> > I do have one.
> >> > It was designed to run on STM32F103s where the I2C peripheral has some
> >> > errata limitations.
> >> > I have used it extensively on many projects without any issues.
> >> > Although I used it only for "simple" transfers of just a few bytes, I
> >> don't
> >> > see any reason it wouldn't work in any other scenario. Apart from the
> >> low
> >> > performance, of course.
> >> >
> >> > It is properly documented, and generally uses my own HAL. So hardware
> >> calls
> >> > are abstracted and self-explanatory.
> >> >
> >> > Two issues:
> >> > 1. It needs some work to get into NuttX. It has a very different
> >> structure,
> >> > it's not just styling that needs to be changed.
> >> > I believe however that it is a good basis. I am also willing to help
> >> with
> >> > testing this on my targets.
> >> >
> >> > 2. License. I am only using it on some of my small personal projects,
> >> so I
> >> > just didn't pay much attention to licencing.
> >> > It loosely originates from an open source library. I think it was the
> >> > arduino-compatible library of Maple (https://www.leaflabs.com/maple),
> >> but I
> >> > am not sure.
> >> > Surely I have re-written most of it, to the point that I don't know
> >> whether
> >> > there is actually any original code in there, but again it may need to
> >> be
> >> > checked.
> >> > In any case, it may serve as a basis for freshly written NuttX code.
> >> >
> >> > If this is of any interest to you, please tell me and I can provide the
> >> > code.
> >> >
> >> >
> >> > Στις Δευ, 18 Ιαν 2021 στις 7:29 μ.μ., ο/η Matias N. <mat...@imap.cc>
> >> έγραψε:
> >> >
> >> > > Hi,
> >> > >
> >> > > by any chance does anyone have a software I2C implementation laying
> >> around
> >> > > (but tested) that could be submitted to NuttX? If the basis is there
> >> I can
> >> > > do any required adaptation.
> >> > >
> >> > > Thanks,
> >> > > Matias
> >> >
> >>
> >
> 

Reply via email to