Greg,
I agree with your point here– that these files are another kind of data
sheet, and that it is ok to generate header files and other code from them.
-adam
On Fri, Jul 3, 2020 at 4:52 PM Gregory Nutt wrote:
>
> > I just looked at that header and looks like a "no warranty" disclaimer.
> Doe
I just added support for bitfields. It defines the _SHIFT, _MASK and specific
value definitions, as well as description as a comment. I tried to be clever
about when not to print obvious values and to maintain a reasonable formatting.
I think it works pretty well. You can see the output for RADI
I agree with your understanding. I followed the same reasoning. If this data is
on a public datasheet, the header is indistinguishable from one manually
created from the SVD. Unless the text description of each register is considered
some kind of original artwork, but that could be even omitted i
I just looked at that header and looks like a "no warranty" disclaimer. Does
not impose any restriction on generation code based on that file.
I am not an attorney and not qualified to give a legal opinion. But that
has never stopped me before.
A copyright covers the presentation of a mat
Both of these I also linked are far more restrictive:
https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/STMicro/License.html
TI is another example with further restrictions.
https://github.com/posborne/cmsis-svd/blob/master/data/TexasInstruments/TM4C123GH6ZRB.svd
--Brennan
On Fr
I just looked at that header and looks like a "no warranty" disclaimer. Does
not impose any restriction on generation code based on that file.
On Fri, Jul 3, 2020, at 18:25, Brennan Ashton wrote:
> Just a warning on generating code from these files. Many of the have
> explicit restrictions on us
Hi Matias,
> I thought about doing this for a long time
Yes So many times...Thank you for doing it!
David
-Original Message-
From: Matias N. [mailto:mat...@imap.cc]
Sent: Friday, July 03, 2020 1:45 PM
To: dev@nuttx.apache.org
Subject: SVD -> header generator
Hi,
I thought about
It seems really strange to me that the output file of a code generator tool is
something that would be within the scope of a license of the SVD file itself.
If I were to write that same output myself by hand what would be different?
Anyway, we can look further into the validity of that licensing
Brennan,
Ah, I see. The data files all have their own individual licenses, yes, some
are not open source. Ugh.
Yeah, I wouldn't use a tool to generate it unless the data file was using a
compatible license...
-adam
On Fri, Jul 3, 2020 at 3:30 PM Brennan Ashton
wrote:
> They are not all Apache
They are not all Apache 2.0. The NXP ones are a mixed bag, some call
out BSD, some just liability disclaimer, looks like the example I gave
was not the best one.
For STM this file is restricted in a way that is not compatible.
Personally I think that is a mistake on the part of STM, but here we
ar
Brennan,
All the files in this repo are Apache 2.0 licensed:
https://github.com/posborne/cmsis-svd/blob/master/LICENSE-APACHE
Doesn't that cover the license issue? The header is only a liability
disclaimer.
-adam
On Fri, Jul 3, 2020 at 2:25 PM Brennan Ashton
wrote:
> Just a warning on gene
Just a warning on generating code from these files. Many of the have
explicit restrictions on using them which may not be compatible with BSD or
Apache. For example NXP
https://github.com/posborne/cmsis-svd/blob/master/data/NXP/LPC1102_4_v4.svd
I'm not sure on the legal side about this but it is
Very good Matias!
Indeed, registers definition is a boring part of creating a new NuttX
port, your tool makes it a breeze!
BR,
Alan
On 7/3/20, Adam Feuer wrote:
> Matias,
>
> This looks like it would be a lot of help bringing NuttX up on a new
> microprocessor. Thanks!
>
> -adam
>
> On Fri, Ju
That's a great one!
Does it do bitfields? I gave it a quick try and I only got register
definitions.
Regardless, that could be a great time saver!
On Fri, Jul 3, 2020 at 9:57 PM Adam Feuer wrote:
>
> Matias,
>
> This looks like it would be a lot of help bringing NuttX up on a new
> microprocess
Matias,
This looks like it would be a lot of help bringing NuttX up on a new
microprocessor. Thanks!
-adam
On Fri, Jul 3, 2020 at 1:46 PM Matias N. wrote:
> Hi,
> I thought about doing this for a long time and I just did it, wasn't
> really hard.
> If you're not aware, CMSIS-SVD file format is
Hi,
I thought about doing this for a long time and I just did it, wasn't really
hard.
If you're not aware, CMSIS-SVD file format is an XML based definitions of
peripherals and registers available in a given MCU. This is typically used for
debugging but it is quite useful for generating header de
16 matches
Mail list logo