You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/03/17 13:15:57 UTC

[GitHub] [incubator-nuttx] PetervdPerk-NXP opened a new pull request #581: SocketCAN initial beta

PetervdPerk-NXP opened a new pull request #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581
 
 
   This pull request provides an almost SocketCAN compliant implementation for NuttX.
   
   We support:
   - PF_CAN/CAN_RAW socket
   - CAN FD support
   - PF_CAN poll() support
   - O_NONBLOCK support
   - setsockopt() / getsockopt() support
   - CAN_RAW_FILTER sockopt for CAN id filtering
   - SO_TIMESTAMP for timestamped RX frames
   - Extra CAN_RAW_TX_DEADLINE sockopt for realtime systems, when the tx deadline occurs and the frame is still in the HW tx mailbox the frame gets aborted.
   
   This has been tested on a S32K148EVB with the S32K1XX FlexCAN driver.
   
   Todo list for optional/extra quality-of-life features:
   - CAN & CAN FD bitrate configuration (autobaud)
   - CAN_RAW_LOOPBACK support
   - CAN_RAW_RECV_OWN_MSGS support
   - CAN_RAW_JOIN_FILTERS support
   - Error mask support (CAN_RAW_ERR_FILTER)
   - Multi-CAN device (should work, hasn't been tested yet)
   - Ioctl for HW based CAN filtering, to save CPU usage
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600084723
 
 
   I've had to use some changes S32K @jarivanewijk did to master, thats why I've rebased once to master in my branch. I think your solution to rebase both branches to master will clear this up.
   
   About the ICLA I will look into it and ask my superiors (@igalloway) what's the procedure to do this. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600076060
 
 
   There is some issue with the state of your branch.  This PR clains 278 commits and 2,547 files changed.  Most commits are unrelated to your changes.  We will work through this but it might take a little time.
   
   The current SocketCAN branch is well behind master but I did resync it with master with your last changes.  Perhaps if we were to both rebase to master on both sides some of this might clear up.  Let me know how I can help.
   
   
   Unrelated:  We will probably also need an ICLA in order to incorporate this change into Apache NuttX.  Can you submit one? 
   
   https://www.apache.org/dev/new-committers-guide.html#submitting-your-individual-contributor-license-agreement-icla
   https://www.apache.org/licenses/contributor-agreements.html
   https://www.apache.org/licenses/icla.pdf
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] justinmclean commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
justinmclean commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600963077
 
 
   It would be best to get both an ICLA and a software grant. CCLA are really for your employer not us.
   
   It's fine for other files to have copyright notices as long as they are under a compatible license. Please do not remove any 3rd party headers that contain copyright notices without permission from them - they need to stay as they original are even if you have modified the file. This is ASF policy.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] davids5 commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
davids5 commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600639455
 
 
   hmm would it be a CCLA that is needed?
   
   To avoid the complication on this work flow: Assuming there is no work on the Apache repo not in master or from the contributor, work flow wise, the branch does not help. If the contributor could force push to it, it would help.
   
   The contributor should rebase on master then force push to his remote and do PR. Once the passes CI. (If there is team work, then the contributor can rebase or cherry pick just the Apache commits prior to the master rebase)
   
   The committer should check out the Apache  branch  then fetch the contributor  branch and  force push the contributors branch to the Apache  branch.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600643836
 
 
   Indeed David that's what I learned today by doing this PR (learning git from time to time).
   So next time I would do it that way.
   
   About ICLA/CCLA, so in the internal mail thread I've send to my supervisors CCLA is also mentioned as an option. So yeah the email is out, I just need to wait to get a confirmation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600173521
 
 
   > Hey @patacongo I've pulled master into my SocketCAN branch, I think if we pull apache/incubator-nuttx/master into apache/incubator-nuttx/socketcan we should get rid of the unrelated commits.
   
   Hmmm... I tried that and got two conflicts.  I thought I posted those, but now I don't see my posts.  Mmm.. let me look around.  The two conflicts were in s321kxx_periphclocks related to a FlexCAN changed and and s32k1xxevb/src.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600169489
 
 
   Hey @patacongo I've pulled master into my SocketCAN branch, I think if we pull apache/incubator-nuttx/master into apache/incubator-nuttx/socketcan we should get rid of the unrelated commits.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo merged pull request #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600173521
 
 
   > Hey @patacongo I've pulled master into my SocketCAN branch, I think if we pull apache/incubator-nuttx/master into apache/incubator-nuttx/socketcan we should get rid of the unrelated commits.
   
   Hmmm... I tried that and got two conflicts.  I thought I posted those, but now I don't see my posts.  Mmm.. let me look around.  Oh well, easy to regnerate (make that three conflicts):
   
       Auto-merging include/nuttx/wqueue.h
       CONFLICT (content): Merge conflict in include/nuttx/wqueue.h
   
   I can fix that one, no problem.  But I need your concurrence on the other two:
   
       Auto-merging boards/arm/s32k1xx/s32k148evb/src/s32k1xx_periphclocks.c
       CONFLICT (content): Merge conflict in boards/arm/s32k1xx/s32k148evb/src/s32k1xx_periphclocks.c
       Auto-merging boards/arm/s32k1xx/s32k148evb/src/s32k148evb.h
       CONFLICT (content): Merge conflict in boards/arm/s32k1xx/s32k148evb/src/s32k148evb.h
   
   This first is:
   
       137 <<<<<<< HEAD
       138     .clkname    = FlexCAN0_CLK,
       139     .clkgate    = true,
       140     .clksrc     = CLK_SRC_SOSC,
       141     .frac       = MULTIPLY_BY_ONE,
       142     .divider    = 1,
       143   },
       144   {
       145     .clkname    = RTC0_CLK,
       146     .clkgate    = true,
       147     .clksrc     = CLK_SRC_OFF,
       148     .frac       = MULTIPLY_BY_ONE,
       149     .divider    = 1,
       150 =======
       151     .clkname = LPSPI1_CLK,
       152 #ifdef CONFIG_S32K1XX_LPSPI1
       153     .clkgate = true,
       154 #else
       155     .clkgate = false,
       156 #endif
       157     .clksrc  = CLK_SRC_SIRC_DIV2,
       158 >>>>>>> master
   
   And
   
        85 <<<<<<< HEAD
        86 #define NUM_OF_PERIPHERAL_CLOCKS_0 15
        87 =======
        88 #define NUM_OF_PERIPHERAL_CLOCKS_0 18
        89 >>>>>>> master
   
   I think that in both cases, I should select the first, right?  But note that all #defines with FlexCAN in them have been renamed to FLEXCAN.
   
   Let me know and I will finish the merge.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600273496
 
 
   Looks must better.  There are still some minor coding standard complaints.  I will fix those and bring the code onto the SocketCAN branch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600187282
 
 
   No the master branch is leading, so in both master branch and SocketCAN branch the FLEXCAN periphclocks are being enabled. But due the cleanup and code style fixes in master we get a merge conflict. But if we take the clockconfig from the master branch the FLEXCAN clocks will still be enabled.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600502459
 
 
   > Uhm I've checked the output of the CI and fixed the can/error.h nxstyle error. However it seems there's is a problem in the CI where it's searching for a non-existing file: "boards/arm/s32k1xx/s32k148evb/src/s32k148_clockconfig.c: fatal: Failed to open"
   > which has been removed in master see [ca8fb59](https://github.com/apache/incubator-nuttx/commit/ca8fb59c6269aaf4d377e1fc8d57a620099f73ab) which shouldn't pose an error.
   
   But the new PR pass all style check now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600076060
 
 
   There is some issue with the state of your branch.  This PR clains 278 commits and 2,547 files changed.  Most commits are unrelated to your changes.  We will work through this but it might take a little time.
   
   The current SocketCAN branch is well behind master but I did resync it with master with your last changes.  Perhaps if we were to both rebase to master on both sides some of this might clear up.
   
   Or, perhaps, it would be sufficient if you simply rebase against the upstream SocketCAN branch?
   
   Let me know how I can help.
   
   Unrelated:  We will probably also need an ICLA in order to incorporate this change into Apache NuttX.  Can you submit one? 
   
   https://www.apache.org/dev/new-committers-guide.html#submitting-your-individual-contributor-license-agreement-icla
   https://www.apache.org/licenses/contributor-agreements.html
   https://www.apache.org/licenses/icla.pdf
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600487330
 
 
   Uhm I've checked the output of the CI and fixed the can/error.h nxstyle error. However it seems there's is a problem in the CI where it's searching for a non-existing file: "boards/arm/s32k1xx/s32k148evb/src/s32k148_clockconfig.c: fatal: Failed to open" 
   which has been removed in master see https://github.com/apache/incubator-nuttx/commit/ca8fb59c6269aaf4d377e1fc8d57a620099f73ab which shouldn't pose an error.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on a change in pull request #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#discussion_r393902266
 
 

 ##########
 File path: include/nuttx/can/error.h
 ##########
 @@ -0,0 +1,127 @@
+/* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */
 
 Review comment:
   > So this header is borrowed from Linux and created by Oliver Hartkopp and is BSD or GPL licensed. @patacongo for the initial commits in this SocketCAN you've also reused some code Linux, the question what's the correct to change this header to NuttX code format and Apache license yet still reference to the original BSD licensed material?
   
   That is beyond my knowledge of the intricacies of licensing.  @justinmclean should have some input.  We did discuss this strange dual license. It is from the original VW SocketCAN code.  At that time, the advice was this this should not be an obstacle.
   
   I don't think we should change anything until we have a good understanding.  I believe that we can merge the code onto a branch and make sure that we have what even license headers, ICLAs, or software grants in place before we merge to master.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600214475
 
 
   > But if we take the clockconfig from the master branch the FLEXCAN clocks will still be enabled.
   
   Okay.  Did that.  master has been merged onto the SocketCAN branch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] justinmclean commented on a change in pull request #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
justinmclean commented on a change in pull request #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#discussion_r394057870
 
 

 ##########
 File path: include/nuttx/can/error.h
 ##########
 @@ -0,0 +1,127 @@
+/* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */
 
 Review comment:
   It's BSD licensed so that fine. The BSD license need to be added to our LICENSE file (if it hasn't been). Unless major changes have been made I would leave the original BSD headers on the code and not put an ASF header on it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] Ouss4 commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
Ouss4 commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600509416
 
 
   @xiaoxiang781216  I re-run the CI checks to verify what's going wrong. It looks like the style checks are good.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600628549
 
 
   @PetervdPerk-NXP Okay.  I have done the merge into the SocketCAN branch.  If we coordinate, I can rebase the branch more frequently in the future so that we do not get so far behind master.
   
   But what is the future?  Is the ready to be merged to master.  If so we should (1) coordinate some broader review and (2) resolve the ICLA issues.
   
   @justinmclean Brennan posted a few days ago that new, large contributions have to have an ICLA from the author.  Can you confirm that?  What would be required to get this branch into master.  All new files have Apache 2.0 license headers.  We have talked about the VW file licenses and agreed simply to retain them as is.  Peter is an inidividual contributor but supported by NXP.  Is an ICLA needed?  Would an ICLA be sufficient?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] Ouss4 edited a comment on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
Ouss4 edited a comment on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600509416
 
 
   @xiaoxiang781216  I re-run the CI checks to verify what's going wrong. It looks like the style checks are good.
   
   > However it seems there's is a problem in the CI where it's searching for a non-existing file: "boards/arm/s32k1xx/s32k148evb/src/s32k148_clockconfig.c: fatal: Failed to open"
   > which has been removed in master see [ca8fb59](https://github.com/apache/incubator-nuttx/commit/ca8fb59c6269aaf4d377e1fc8d57a620099f73ab) which shouldn't pose an error.
   
   This file and boards/arm/s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c are causing the conflict and blocking the rebase. Could you please rebase on top of SocketCAN and solve the conflicts?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600647289
 
 
   
   > About ICLA/CCLA, so in the internal mail thread I've send to my 
   > supervisors CCLA is also mentioned as an option. So yeah the email is 
   > out, I just need to wait to get a confirmation.
   >
   We will need to address this with regard to other files in the future as 
   well.?? There are a few older architecture files that have NXP copyrights 
   because they derived in part from NXP sample code.?? Before NuttX can 
   graduate as a Apache project, all of this must be addressed.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600637870
 
 
   So currently core functionality is working and I'm discussing with our primary user of the NuttX SocketCAN stack, which would be the UAVCAN stack that the NuttX SocketCAN stack has all required functionality they need. The discussion of that you find under this forum https://forum.uavcan.org/t/socketcan-api-on-a-rtos/750/10.
   
   In my opinion I'm pretty close, so the next step would be cleanup e.g. removing the warning "missing functionality" etc. In the meanwhile if the UAVCAN teams wants more functionality I will implement that. But if all goes well, I hope finish this in the coming 2 weeks.
   
   About the ICLA I've contacted my supervisors and they are looking into it. I don't know how it takes but I just have to wait for that.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on a change in pull request #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
PetervdPerk-NXP commented on a change in pull request #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#discussion_r393884131
 
 

 ##########
 File path: include/nuttx/can/error.h
 ##########
 @@ -0,0 +1,127 @@
+/* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */
 
 Review comment:
   So this header is borrowed from Linux and created by Oliver Hartkopp and is BSD or GPL licensed. @patacongo for the initial commits in this SocketCAN you've also reused some code Linux, the question what's the correct to change this header to NuttX code format and Apache license yet still reference to the original BSD licensed material?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #581: SocketCAN initial beta

Posted by GitBox <gi...@apache.org>.
patacongo edited a comment on issue #581: SocketCAN initial beta
URL: https://github.com/apache/incubator-nuttx/pull/581#issuecomment-600273496
 
 
   Looks must better.  There are still some minor coding standard complaints.  I will fix those and bring the code onto the SocketCAN branch.
   
   Er.. well I guess I can't do that yet.  There are some conflicts that need to be resolved first.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services