Re: CTU CAN FD driver multi-licence for Nuttx
Hi Alan, Just confirming you got the suggested request i sent you off-list and that it didn't end up in spam. Thanks, Andrew On Sat, Oct 21, 2023, 12:38 AM Alan C. Assis wrote: > Hi Andrew, > > I have access to Apache JIRA, please send me the suggested request and > I will open a ticket there. > > BR, > > Alan > > On 10/20/23, Andrew Dennison wrote: > > To answer my own question: it seems public accounts are disabled for > Apache > > jira. If this is the next step what's the process to get this request > > raised? Can someone here help? > > > > On Fri, Oct 20, 2023, 7:12 AM Andrew Dennison > > > > wrote: > > > >> Hi Brennan, > >> > >> Is this something anyone can do? If so I'll take this step to move > >> forward: it's been unclear how to get this question resolved. > >> > >> Kind regards, > >> > >> Andrew > >> > >> On Fri, Oct 20, 2023, 1:36 AM Brennan Ashton > > >> wrote: > >> > >>> There is way to much speculation here (and some jus wrong > >>> statements). > >>> Someone just needs to open an Apache JIRA ticket with legal and you > will > >>> get an offical answer. > >>> > >>> --Brennan > >>> > >>> On Thu, Oct 19, 2023, 2:54 AM Andrew Dennison < > >>> andrew.denni...@motec.com.au> > >>> wrote: > >>> > >>> > Hi all, > >>> > > >>> > Wow, i didn't think we were doing anything other than trying to help > >>> > facilitate adding more driver support. The easiest approach seems to > >>> > be > >>> to > >>> > get the os independent components licenced by the original authors in > >>> > a > >>> > compatible way so we can move forward with the technical element. > >>> > > >>> > My recollection is the license A OR B proposal came from a document > on > >>> the > >>> > Apache website we were pointed to on this mailing list a few months > >>> > ago, > >>> > but maybe I'm mistaken. > >>> > > >>> > Is this really the first time this has been debated? There seemed to > >>> > be > >>> > examples of this exact model when a had a quick look around. > >>> > > >>> > I just want to find out if there is a way forward compatible with > >>> > Apache > >>> > requirements: IANAL and don't want to speculate on the way forward, > >>> > just > >>> > thought it was easier to ask. > >>> > > >>> > Can anyone in the project help facilitate an "official" answer from > >>> Apache? > >>> > > >>> > Kind regards, > >>> > > >>> > Andrew > >>> > > >>> > PS: the driver authors are not subscribed, so probably haven't seen > >>> > this > >>> > recently debate. I'll coordinate with them if there is a way forward. > >>> > > >>> > On Thu, Oct 19, 2023, 6:49 PM Sebastien Lorquet < > sebast...@lorquet.fr> > >>> > wrote: > >>> > > >>> > > Are you seriously taking legal advice, on behalf of an apache > >>> > > project, > >>> > > from a generative language model? > >>> > > > >>> > > Sebastien > >>> > > > >>> > > > >>> > > Le 17/10/2023 à 22:22, Alan C. Assis a écrit : > >>> > > > Oops, it was: you cannot enforce both at same time. > >>> > > > > >>> > > > Actually I think I was wrong (not about enforcing), but the main > >>> issue > >>> > > > about Dual license is how the contributions will evolve. > >>> > > > > >>> > > > I decided to ask about it to ChatGPT: > >>> > > > > >>> > > > " > >>> > > > Question: if an open-source software X was released as dual > >>> > > > license > >>> > > > GPL and Apache License, can we used it in our project NuttX that > >>> used > >>> > > > Apache License? > >>> > > > > >>> > > > If an open-source software X is released under both the GPL (GNU > >>> > > > General Public License) and the Apache License, you generally > have > >>> > > > some flexibility in how you can use it in your project NuttX, > >>> > > > which > >>> is > >>> > > > licensed under the Apache License. However, there are important > >>> > > > considerations and potential complications to keep in mind: > >>> > > > > >>> > > > Compatibility of Licenses: > >>> > > > The Apache License and the GPL are generally considered > >>> > > > to > >>> be > >>> > > > compatible licenses. This means that you can include > >>> > > > Apache-licensed > >>> > > > code in a GPL-licensed project and vice versa without violating > >>> > > > the > >>> > > > terms of either license. > >>> > > > > >>> > > > License Choice: > >>> > > > When incorporating dual-licensed code into your project, > >>> you > >>> > > > have a choice in which license to follow. If you choose the > Apache > >>> > > > License, you can do so without any issues, as the Apache License > >>> > > > is > >>> > > > permissive. However, if you choose the GPL, you must comply with > >>> > > > the > >>> > > > terms of the GPL, which may include open-sourcing your entire > >>> project > >>> > > > under the GPL. > >>> > > > > >>> > > > Potential GPL Implications: > >>> > > > Using the GPL-licensed version of software X may have > >>> > > > implications for the licensing of your entire project. The GPL is > >>> > > > a > >>> > > > more restrictive license that requi
Re: Trouble adding a new board
Hi Robert, On 11/8/23, Robert Middleton wrote: > Turns out it was a typo in the Kconfig file that took a while to track > down. I don't think that Kconfig has an option to detect errors like > this, which is pretty annoying. > > From boards/Kconfig: > config ARCH_BOARD_STM32_THING_PLUS > bool "SparkFun STM32 Thing Plus board" > depends on CONFIG_ARCH_CHIP_STM32F405RG < THIS IS WRONG. > DON'T PUT CONFIG_ IN FRONT OF YOUR CONFIG OPTIONS! It will not check > the option correctly if it starts with CONFIG_ > select ARCH_HAVE_LEDS > ---help--- > SparkFun STM32 Thing Plus development board. Arduino > Feather compatible board > Yes, Kconfig is not able to detect that you already included a CONFIG_ in the symbol I suggest you to use the name "SparkFun STM32 Thing Plus board ( DEV-17712 )" to make it easy to people find it. BR, Alan > -Robert Middleton > > On Mon, Nov 6, 2023 at 9:34 AM Mark Stevens > wrote: >> >> Robert, >> >> There was a YouTube video posted a few weeks ago and the 2+ hour session >> which covered porting to a new STM32F4 board. Maybe that can help. >> >> https://www.youtube.com/watch?v=TeBkVJLATcw&t=7s >> >> Regards, >> Mark >> __ >> mark.stev...@wildernesslabs.co >> >> >> >> >> > On 6 Nov 2023, at 00:18, Robert Middleton wrote: >> > >> > I'm working on adding NuttX support to the SparkFun STM32 board, but >> > I'm having trouble adding the support to an in-tree build. >> > Specifically I have done the following: >> > >> > * Copied the OmnibusF4 directory to a new directory to use as a base >> > * Updated the defconfig to use STM32_THING_PLUS instead of OMNIBUSF4 >> > * Updated the boards/Kconfig file to add in the new baord >> > >> > The config does show up when I check with the tools/configure.sh >> > script: >> > robert@debian:~/nuttx$ ./tools/configure.sh -L | grep thing-plus >> > stm32-thing-plus:nsh >> > But once I try to use it, menuconfig doesn't work because the .config >> > file that is generated thinks that it's a custom board, even though >> > the ARCH_BOARD and ARCH_BOARD_STM32_THING_PLUS are set in the >> > defconfig: >> > >> > robert@debian:~/nuttx$ grep ARCH_BOARD .config >> > # CONFIG_ARCH_BOARD_DEBUG_H is not set >> > # CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG is not set >> > # CONFIG_ARCH_BOARD_OLIMEX_STM32H405 is not set >> > # CONFIG_ARCH_BOARD_OMNIBUSF4 is not set >> > CONFIG_ARCH_BOARD_CUSTOM=y >> > CONFIG_ARCH_BOARD_CUSTOM_NAME="" >> > CONFIG_ARCH_BOARD_CUSTOM_DIR="" >> > CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y >> > # CONFIG_ARCH_BOARD_COMMON is not set >> > >> > So clearly I've missed something here, but what? I've done everything >> > that should be done according to the porting guide on >> > Confluence(cwiki), but I'm not sure if that's up to date. What might >> > I be missing? >> > >> > -Robert Middleton >> >
Re: CTU CAN FD driver multi-licence for Nuttx
Hi Andrew, Sorry my delay, I opened the jira issue and they suggested me to ask at legal-discuss mailling list. I think it is public, so maybe everybody involved on this subject could be involved. Could you please confirm you have access to: https://lists.apache.org/list.html?legal-disc...@apache.org ? BR, Alan On 11/9/23, Andrew Dennison wrote: > Hi Alan, > > Just confirming you got the suggested request i sent you off-list and that > it didn't end up in spam. > > Thanks, > > Andrew > > > On Sat, Oct 21, 2023, 12:38 AM Alan C. Assis wrote: > >> Hi Andrew, >> >> I have access to Apache JIRA, please send me the suggested request and >> I will open a ticket there. >> >> BR, >> >> Alan >> >> On 10/20/23, Andrew Dennison wrote: >> > To answer my own question: it seems public accounts are disabled for >> Apache >> > jira. If this is the next step what's the process to get this request >> > raised? Can someone here help? >> > >> > On Fri, Oct 20, 2023, 7:12 AM Andrew Dennison >> > >> > wrote: >> > >> >> Hi Brennan, >> >> >> >> Is this something anyone can do? If so I'll take this step to move >> >> forward: it's been unclear how to get this question resolved. >> >> >> >> Kind regards, >> >> >> >> Andrew >> >> >> >> On Fri, Oct 20, 2023, 1:36 AM Brennan Ashton >> >> > > >> >> wrote: >> >> >> >>> There is way to much speculation here (and some jus wrong >> >>> statements). >> >>> Someone just needs to open an Apache JIRA ticket with legal and you >> will >> >>> get an offical answer. >> >>> >> >>> --Brennan >> >>> >> >>> On Thu, Oct 19, 2023, 2:54 AM Andrew Dennison < >> >>> andrew.denni...@motec.com.au> >> >>> wrote: >> >>> >> >>> > Hi all, >> >>> > >> >>> > Wow, i didn't think we were doing anything other than trying to >> >>> > help >> >>> > facilitate adding more driver support. The easiest approach seems >> >>> > to >> >>> > be >> >>> to >> >>> > get the os independent components licenced by the original authors >> >>> > in >> >>> > a >> >>> > compatible way so we can move forward with the technical element. >> >>> > >> >>> > My recollection is the license A OR B proposal came from a document >> on >> >>> the >> >>> > Apache website we were pointed to on this mailing list a few months >> >>> > ago, >> >>> > but maybe I'm mistaken. >> >>> > >> >>> > Is this really the first time this has been debated? There seemed >> >>> > to >> >>> > be >> >>> > examples of this exact model when a had a quick look around. >> >>> > >> >>> > I just want to find out if there is a way forward compatible with >> >>> > Apache >> >>> > requirements: IANAL and don't want to speculate on the way forward, >> >>> > just >> >>> > thought it was easier to ask. >> >>> > >> >>> > Can anyone in the project help facilitate an "official" answer from >> >>> Apache? >> >>> > >> >>> > Kind regards, >> >>> > >> >>> > Andrew >> >>> > >> >>> > PS: the driver authors are not subscribed, so probably haven't seen >> >>> > this >> >>> > recently debate. I'll coordinate with them if there is a way >> >>> > forward. >> >>> > >> >>> > On Thu, Oct 19, 2023, 6:49 PM Sebastien Lorquet < >> sebast...@lorquet.fr> >> >>> > wrote: >> >>> > >> >>> > > Are you seriously taking legal advice, on behalf of an apache >> >>> > > project, >> >>> > > from a generative language model? >> >>> > > >> >>> > > Sebastien >> >>> > > >> >>> > > >> >>> > > Le 17/10/2023 à 22:22, Alan C. Assis a écrit : >> >>> > > > Oops, it was: you cannot enforce both at same time. >> >>> > > > >> >>> > > > Actually I think I was wrong (not about enforcing), but the >> >>> > > > main >> >>> issue >> >>> > > > about Dual license is how the contributions will evolve. >> >>> > > > >> >>> > > > I decided to ask about it to ChatGPT: >> >>> > > > >> >>> > > > " >> >>> > > > Question: if an open-source software X was released as dual >> >>> > > > license >> >>> > > > GPL and Apache License, can we used it in our project NuttX >> >>> > > > that >> >>> used >> >>> > > > Apache License? >> >>> > > > >> >>> > > > If an open-source software X is released under both the GPL >> >>> > > > (GNU >> >>> > > > General Public License) and the Apache License, you generally >> have >> >>> > > > some flexibility in how you can use it in your project NuttX, >> >>> > > > which >> >>> is >> >>> > > > licensed under the Apache License. However, there are important >> >>> > > > considerations and potential complications to keep in mind: >> >>> > > > >> >>> > > > Compatibility of Licenses: >> >>> > > > The Apache License and the GPL are generally >> >>> > > > considered >> >>> > > > to >> >>> be >> >>> > > > compatible licenses. This means that you can include >> >>> > > > Apache-licensed >> >>> > > > code in a GPL-licensed project and vice versa without violating >> >>> > > > the >> >>> > > > terms of either license. >> >>> > > > >> >>> > > > License Choice: >> >>> > > > When incorporating dual-licensed code into your >> >>> > > > project, >> >>> you >> >>> > > > have a choice in whi
SPI+DMA with ws2812 driver on samd21
Hello, I have figured what causes the transmission problem. I had to setup the Channel Control B Register with: DMAC_CHCTRLB_TRIGACT_BLOCK instead of DMAC_CHCTRLB_TRIGACT_BEAT Because it would only do one pulse. With TRIGACT_BLOCK, it looks better but DMAC do not read all the buffer. it seams that DMAC outputs one byte (8bits) and then is jumping 8 bytes. Looking at the buffer below, it ouputs only values in brackets. I tried to modify DMACH_FLAG_STEPSIZE_MASK value to DMACH_FLAG_STEPSIZE_X1 but it has no impact. I did the same with LPSRAM_BTCTRL_STEPSIZE_MASK. I am pretty sure that it has something to do with STEPSIZE. But I don't understand why it has no impact at all. Is it because of DMACH_FLAG_MEM_INCREMENT set to automatic? Where am I supposed to configure the DMAC? in the samd_dmac.h, sam_dmac.h, sam_dmac.c or spi.c?? I am a bit confused. The buffer (a short version of it) look like this: 0x60 is ONE 0x78 is ZERO 0x0 is RESET 0x200023c8: 0x[00]00 0x 0x[00]00 0x 0x200023d8: 0x[00]00 0x 0x[00]00 0x 0x200023e8: 0x[00]00 0x 0x[00]00 0x 0x200023f8: 0x[00]00 0x 0x[00]00 0x60606060 0x20002408: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002418: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002428: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002438: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002448: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002458: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002468: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 0x20002478: 0x[60]606060 Regards, Bert.
Re: SPI+DMA with ws2812 driver on samd21
Hi Bert, Are you configuring the DMA similar to way he did: https://web.archive.org/web/20221027190645/http://www.lucadavidian.com/2018/03/08/wifi-controlled-neo-pixels-strips/ ? Although on NuttX each driver is a separated instance, under the hook the basic configuration will be similar. BR, Alan On 11/9/23, Bert Voldenuit wrote: > Hello, > > I have figured what causes the transmission problem. > > I had to setup the Channel Control B Register with: > DMAC_CHCTRLB_TRIGACT_BLOCK instead of DMAC_CHCTRLB_TRIGACT_BEAT > > Because it would only do one pulse. With TRIGACT_BLOCK, it looks better but > DMAC do not read all the buffer. it seams that DMAC outputs one byte > (8bits) and then is jumping 8 bytes. Looking at the buffer below, it ouputs > only values in brackets. > > I tried to modify DMACH_FLAG_STEPSIZE_MASK value to DMACH_FLAG_STEPSIZE_X1 > but it has no impact. > I did the same with LPSRAM_BTCTRL_STEPSIZE_MASK. > > I am pretty sure that it has something to do with STEPSIZE. But I don't > understand why it has no impact at all. > > Is it because of DMACH_FLAG_MEM_INCREMENT set to automatic? > > Where am I supposed to configure the DMAC? in the samd_dmac.h, sam_dmac.h, > sam_dmac.c or spi.c?? I am a bit confused. > > The buffer (a short version of it) look like this: > 0x60 is ONE > 0x78 is ZERO > 0x0 is RESET > > > 0x200023c8: 0x[00]00 0x 0x[00]00 0x > 0x200023d8: 0x[00]00 0x 0x[00]00 0x > 0x200023e8: 0x[00]00 0x 0x[00]00 0x > 0x200023f8: 0x[00]00 0x 0x[00]00 0x60606060 > 0x20002408: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002418: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002428: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002438: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002448: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002458: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002468: 0x[60]606060 0x60606060 0x[60]606060 0x60606060 > 0x20002478: 0x[60]606060 > > Regards, > Bert. >
Re: CTU CAN FD driver multi-licence for Nuttx
Hi Alan, Yes - I can view that list and have successfully subscribed. Kind regards, Andrew Dennison Chief Architect and Hardware Team Lead On Fri, 10 Nov 2023 at 03:17, Alan C. Assis wrote: > Hi Andrew, > > Sorry my delay, I opened the jira issue and they suggested me to ask > at legal-discuss mailling list. > > I think it is public, so maybe everybody involved on this subject > could be involved. > Could you please confirm you have access to: > https://lists.apache.org/list.html?legal-disc...@apache.org ? > > BR, > > Alan > > On 11/9/23, Andrew Dennison wrote: > > Hi Alan, > > > > Just confirming you got the suggested request i sent you off-list and > that > > it didn't end up in spam. > > > > Thanks, > > > > Andrew > > > > > > On Sat, Oct 21, 2023, 12:38 AM Alan C. Assis wrote: > > > >> Hi Andrew, > >> > >> I have access to Apache JIRA, please send me the suggested request and > >> I will open a ticket there. > >> > >> BR, > >> > >> Alan > >> > >> On 10/20/23, Andrew Dennison wrote: > >> > To answer my own question: it seems public accounts are disabled for > >> Apache > >> > jira. If this is the next step what's the process to get this request > >> > raised? Can someone here help? > >> > > >> > On Fri, Oct 20, 2023, 7:12 AM Andrew Dennison > >> > > >> > wrote: > >> > > >> >> Hi Brennan, > >> >> > >> >> Is this something anyone can do? If so I'll take this step to move > >> >> forward: it's been unclear how to get this question resolved. > >> >> > >> >> Kind regards, > >> >> > >> >> Andrew > >> >> > >> >> On Fri, Oct 20, 2023, 1:36 AM Brennan Ashton > >> >> >> > > >> >> wrote: > >> >> > >> >>> There is way to much speculation here (and some jus wrong > >> >>> statements). > >> >>> Someone just needs to open an Apache JIRA ticket with legal and you > >> will > >> >>> get an offical answer. > >> >>> > >> >>> --Brennan > >> >>> > >> >>> On Thu, Oct 19, 2023, 2:54 AM Andrew Dennison < > >> >>> andrew.denni...@motec.com.au> > >> >>> wrote: > >> >>> > >> >>> > Hi all, > >> >>> > > >> >>> > Wow, i didn't think we were doing anything other than trying to > >> >>> > help > >> >>> > facilitate adding more driver support. The easiest approach seems > >> >>> > to > >> >>> > be > >> >>> to > >> >>> > get the os independent components licenced by the original authors > >> >>> > in > >> >>> > a > >> >>> > compatible way so we can move forward with the technical element. > >> >>> > > >> >>> > My recollection is the license A OR B proposal came from a > document > >> on > >> >>> the > >> >>> > Apache website we were pointed to on this mailing list a few > months > >> >>> > ago, > >> >>> > but maybe I'm mistaken. > >> >>> > > >> >>> > Is this really the first time this has been debated? There seemed > >> >>> > to > >> >>> > be > >> >>> > examples of this exact model when a had a quick look around. > >> >>> > > >> >>> > I just want to find out if there is a way forward compatible with > >> >>> > Apache > >> >>> > requirements: IANAL and don't want to speculate on the way > forward, > >> >>> > just > >> >>> > thought it was easier to ask. > >> >>> > > >> >>> > Can anyone in the project help facilitate an "official" answer > from > >> >>> Apache? > >> >>> > > >> >>> > Kind regards, > >> >>> > > >> >>> > Andrew > >> >>> > > >> >>> > PS: the driver authors are not subscribed, so probably haven't > seen > >> >>> > this > >> >>> > recently debate. I'll coordinate with them if there is a way > >> >>> > forward. > >> >>> > > >> >>> > On Thu, Oct 19, 2023, 6:49 PM Sebastien Lorquet < > >> sebast...@lorquet.fr> > >> >>> > wrote: > >> >>> > > >> >>> > > Are you seriously taking legal advice, on behalf of an apache > >> >>> > > project, > >> >>> > > from a generative language model? > >> >>> > > > >> >>> > > Sebastien > >> >>> > > > >> >>> > > > >> >>> > > Le 17/10/2023 à 22:22, Alan C. Assis a écrit : > >> >>> > > > Oops, it was: you cannot enforce both at same time. > >> >>> > > > > >> >>> > > > Actually I think I was wrong (not about enforcing), but the > >> >>> > > > main > >> >>> issue > >> >>> > > > about Dual license is how the contributions will evolve. > >> >>> > > > > >> >>> > > > I decided to ask about it to ChatGPT: > >> >>> > > > > >> >>> > > > " > >> >>> > > > Question: if an open-source software X was released as dual > >> >>> > > > license > >> >>> > > > GPL and Apache License, can we used it in our project NuttX > >> >>> > > > that > >> >>> used > >> >>> > > > Apache License? > >> >>> > > > > >> >>> > > > If an open-source software X is released under both the GPL > >> >>> > > > (GNU > >> >>> > > > General Public License) and the Apache License, you generally > >> have > >> >>> > > > some flexibility in how you can use it in your project NuttX, > >> >>> > > > which > >> >>> is > >> >>> > > > licensed under the Apache License. However, there are > important > >> >>> > > > considerations and potential complications to keep in mind: > >> >>> > > > > >> >>> > > > Compatibility of Licenses: > >> >>> >