Re: Jenkins CI

2020-01-09 Thread Haitao Liu
Gregory Nutt 于2020年1月9日周四 上午11:55写道: > > > Thanks, I think we can firstly get start in Linux and Windows. Then > > consider how to setup Mac later, donate slave or other. > > Two other question, nuttx uses some cross compile toolchains etc. In > > addition, Cygwin or MinGW is in need once nuttx b

Re: Jenkins CI

2020-01-09 Thread Haitao Liu
In my opinion, Jenkins CI scripts could be version controlled firstly locally or my github. Once the whole process is functional, I think the best place is to put them into nuttx testing project if available. Adam Feuer 于2020年1月9日周四 下午12:51写道: > Haitao, > > Will the Jenkins CI scripts live in ve

Re: PR60 Needs Approval from Alin Jerpelea

2020-01-09 Thread Alin Jerpelea
Hi all, unfortunately github is giving me the error "Only those with write access to this repository can merge pull requests." Alin On Wed, Jan 8, 2020 at 11:18 PM Alin Jerpelea wrote: > I updated my details on my ac

Re: Jenkins CI

2020-01-09 Thread Haitao Liu
Or https://github.com/NuttX/tools would be better to hold the jenkins CI scripts in this period? Haitao Liu 于2020年1月9日周四 下午4:08写道: > In my opinion, Jenkins CI scripts could be version controlled firstly > locally or my github. > Once the whole process is functional, I think the best place is to

Re: PR60 Needs Approval from Alin Jerpelea

2020-01-09 Thread Alan Carvalho de Assis
Hi Alin, First you need to add your github user and after you add your keys and sync it with ASF server you will have access. But for tests I think you can download Greg's PR from github, not sure. BR, Alan On Thursday, January 9, 2020, Alin Jerpelea wrote: > Hi all, > > unfortunately github

Re: PR60 Needs Approval from Alin Jerpelea

2020-01-09 Thread Abdelatif Guettouche
Here are the steps that Alan described: https://cwiki.apache.org/confluence/display/NUTTX/Accessing+Apache+GitHub+as+a+Committer On Thu, Jan 9, 2020 at 9:41 AM Alan Carvalho de Assis wrote: > Hi Alin, > > First you need to add your github user and after you add your keys and sync > it with ASF s

Re: Jenkins CI

2020-01-09 Thread Miguel Ángel Herranz
Hi, I have configured Jenkins CI pipelines in the past and aside the scripts running in the jobs, managing the jobs definition in the UI can be a pain, since is easy to apply untrackable changes that impact the pipeline. So I am wondering if you are going to use any kind of solution like Jenkins

Re: PR60 Needs Approval from Alin Jerpelea

2020-01-09 Thread Alin Jerpelea
After some waiting time it works as expected Thanks On Thu, Jan 9, 2020 at 11:44 AM Abdelatif Guettouche < abdelatif.guettou...@gmail.com> wrote: > Here are the steps that Alan described: > > https://cwiki.apache.org/confluence/display/NUTTX/Accessing+Apache+GitHub+as+a+Committer > > On Thu, Ja

Re: Question about savedefconfig warnings

2020-01-09 Thread Alin Jerpelea
I cant see any config ! heck what selects those options and why they are not selected NETDEVICES ARCH_HAVE_PHY On Thu, Jan 9, 2020 at 8:23 AM Adam Feuer wrote: > I forgot to attach the config file. Here it is. > > -adam > > On Wed, Jan 8, 2020 at 7:57 PM Adam Feuer wrote: > >> Hi, >> >> I'm t

Re: Question about savedefconfig warnings

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 7:36 AM Alin Jerpelea wrote: > I cant see any config ! > > heck what selects those options and why they are not selected > NETDEVICES > ARCH_HAVE_PHY I get this warning whenever I configure or try to savedefconfig. In my case it is because I'm using a Tiva MCU, which has

[PATCH] net/usrsock/usrsock_dev.c: fix uninitialized 'ret' introduced in 6a3c2ade

2020-01-09 Thread Juha Niskanen (Haltian)
Hi Patch fixes recently introduced usersock failure. There is debugging discussion at https://github.com/apache/incubator-nuttx/pull/24 Best Regards, Juha Niskanen From b45e76c83b18f4443a2620fdec7121a51c1810fd Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Thu, 9 Jan 2020 14:40:32 +0200 S

Re: Jenkins CI

2020-01-09 Thread Gregory Nutt
In my opinion, Jenkins CI scripts could be version controlled firstly locally or my github. Once the whole process is functional, I think the best place is to put them into nuttx testing project if available. We need to request the creation of the NuttX testing repository. I created the new

Re: Jenkins CI

2020-01-09 Thread Gregory Nutt
In configure.sh, there are four wenv options for windows as below: -c selects the Windows host and Cygwin (c) environment. -u selects the Windows host and Ubuntu under Windows 10 (u) environment. -g selects the Windows host and MinGW/MSYS environment. -n selects the Windows

Re: [PATCH] net/usrsock/usrsock_dev.c: fix uninitialized 'ret' introduced in 6a3c2ade

2020-01-09 Thread Gregory Nutt
Hi, Juha, Patch fixes recently introduced usersock failure. There is debugging discussion at https://github.com/apache/incubator-nuttx/pull/24 Thanks!  Patch committed and pushed. Greg

Please test SmartFS

2020-01-09 Thread Alan Carvalho de Assis
Hi Everyone, Please test the SmartFS for confirm it still working after recent modifications (PR #66). These are good improvements introduced by Alin from Sony. But we need to confirm everything still working after these improvements. So please test it and stress it to confirm everything is fine

Re: Question about savedefconfig warnings

2020-01-09 Thread Gregory Nutt
I cant see any config ! heck what selects those options and why they are not selected NETDEVICES ARCH_HAVE_PHY dev@nuttx.apache.org scrapes more attachments.  You could change it to config.txt and it would come through.

Re: Question about savedefconfig warnings

2020-01-09 Thread Gregory Nutt
When I do 'make savedefconfig' I get the following message twice: warning: (IMXRT_ENET && TIVA_PHY_INTERRUPTS && ARCH_BOARD_SAMA5D3X_EK && ARCH_BOARD_SAMA5D3_XPLAINED && ARCH_BOARD_SAMA5D4_EK && ARCH_BOARD_SAM4EEK && ARCH_BOARD_SAME70_XPLAINED && ARCH_BOARD_SAMV71_XULT && BOARD_CUSTOM_INTERRUPT

Re: Jenkins CI

2020-01-09 Thread Gregory Nutt
In my opinion, Jenkins CI scripts could be version controlled firstly locally or my github. Once the whole process is functional, I think the best place is to put them into nuttx testing project if available. We need to request the creation of the NuttX testing repository. I created the n

Re: Jenkins CI

2020-01-09 Thread Gregory Nutt
Or https://github.com/NuttX/tools would be better to hold the jenkins CI scripts in this period? Let's please not use nuttx/tools.  Let's not let any testing framework develop inside of the RTOS. I have created this for you https://github.com/apache/incubator-nuttx-testing so that you wil

Re: Question about savedefconfig warnings

2020-01-09 Thread Gregory Nutt
This is an error in the Kconfig files.  This one is complex because a lot of settings are involved.  This kind of error occurs because you are auto-selecting a setting that has dependencies that are not selected.  A simple example would be like config FOO     bool "Foo"     depends on BAR

Re: Please test SmartFS

2020-01-09 Thread Daniel Pereira Carvalho
Hi Alan, I can help with these tests. Did you have a test set or suggestions about the test? Thanks Daniel Pereira de Carvalho Em qui., 9 de jan. de 2020 às 10:37, Alan Carvalho de Assis < acas...@gmail.com> escreveu: > Hi Everyone, > > Please test the SmartFS for confirm it still working af

Re: Please test SmartFS

2020-01-09 Thread Gregory Nutt
I can help with these tests. Did you have a test set or suggestions about the test? There are a rather exhaustive tests at apps/testing/smart and apps/testing/smartfs. I would use the simulator with simulated FLASH to do the test. There is no existing SmartFS simulation test configuratio

Path to fix STM32L4 build issue

2020-01-09 Thread Daniel Pereira Carvalho
Hi, The following patch fix STM32L4 PWM build issue. Thanks Daniel Pereira de Carvalho From efee42f51054a75e5ea1594d1da244e13fc0a79a Mon Sep 17 00:00:00 2001 From: "Daniel P. Carvalho" Date: Thu, 9 Jan 2020 13:43:27 -0300 Subject: [PATCH] Fix stm32_pwm.c build error, 'OK' undeclared. --- boar

Re: Path to fix STM32L4 build issue

2020-01-09 Thread Gregory Nutt
The following patch fix STM32L4 PWM build issue. Committed and pushed.  Thanks, Daniel! Greg

Fwd: Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Gregory Nutt
There was a recent issue added to the Bitbucket Repository: https://bitbucket.org/nuttx/apps/issues/15/null-dereference-in-ftp-size-command My response:  "These repositories are no longer in use and Issues will not be addressed here. Please repost the issue at https://github.com/apache/incubat

Re: Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 12:37 PM Gregory Nutt wrote: > There was a recent issue added to the Bitbucket Repository: > > https://bitbucket.org/nuttx/apps/issues/15/null-dereference-in-ftp-size-command > > My response: "These repositories are no longer in use and Issues will > not be addressed here.

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Gregory Nutt
Jira? There was pro-Jira and anti-Jira talk but no conclusion as far as I know.  In order to submit issues on Jira, we need to understand how grant people access to Jira.  It is basically open to everyone, but you have to be registered in order have any write access. As far as I know, there

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 2:27 PM Gregory Nutt wrote: > > Jira? > > There was pro-Jira and anti-Jira talk but no conclusion as far as I > know. In order to submit issues on Jira, we need to understand how > grant people access to Jira. It is basically open to everyone, but you > have to be registe

Add support to LPTIM2 PWM output on nucleo-l432kc

2020-01-09 Thread Daniel Pereira Carvalho
Hi, The following patch add support to LPTIM2 PWM output on nucleo-l432kc. Thanks Daniel Pereira de Carvalho

Re: Add support to LPTIM2 PWM output on nucleo-l432kc

2020-01-09 Thread Gregory Nutt
The following patch add support to LPTIM2 PWM output on nucleo-l432kc. I don't see anything attached.  Currently dev@nuttx.apache.org is removing attachments with the extension.  I know that is a bad behavior and needs to be fixed someday. If you change the patch extension to .txt, it wil

Re: Issue Reporting

2020-01-09 Thread Brennan Ashton
It seems like most people are pushing towards the simplicity of GitHub. My main objection was that we put such a focus on letting people submit code without using GitHub that it seemed odd to then force GitHub for issues. JIRA can really do a lot but I see it as tool that gives you a million featur

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Justin Mclean
HI, > But "This github repository has disabled Issues. Where can I post this > issue?” This can be changes and issues turned on, assuming you want to use them. Thanks, Justin

Re: Add support to LPTIM2 PWM output on nucleo-l432kc

2020-01-09 Thread Daniel Pereira Carvalho
Daniel Pereira de Carvalho Em qui., 9 de jan. de 2020 às 16:59, Gregory Nutt escreveu: > > > The following patch add support to LPTIM2 PWM output on nucleo-l432kc. > > I don't see anything attached. Currently dev@nuttx.apache.org is > removing attachments with the extension. I know that is a

Re: Issue Reporting

2020-01-09 Thread Gregory Nutt
My preference would be to let users submit issues on github, but then track them with Jira.  Is it possible to link Jira issues to github issues? Otherwise, the rest that you say makes good sense. We do need to consolidate issues in one place somehow. Currently, there are issues in apps and nu

Re: Add support to LPTIM2 PWM output on nucleo-l432kc

2020-01-09 Thread Alan Carvalho de Assis
I just requested to fix this issue! https://issues.apache.org/jira/browse/INFRA-19691 On 1/9/20, Gregory Nutt wrote: > >> The following patch add support to LPTIM2 PWM output on nucleo-l432kc. > > I don't see anything attached. Currently dev@nuttx.apache.org is > removing attachments with the e

Re: Question about savedefconfig warnings

2020-01-09 Thread Adam Feuer
Greg, Thanks for explaining that the defconfig attachment got removed, here it is. > # > # Automatically generated file; DO NOT EDIT. > # Nuttx/ Configuration > # > > # > # Build Setup > # > # CONFIG_EXPERIMENTAL is not set > # CONFIG_DEFAULT_SMALL is not set > CONFIG_HOST_LINUX=y > # CONFIG_HOS

Re: Question about savedefconfig warnings

2020-01-09 Thread Adam Feuer
The "imply BAZ" method seems like a way to have a permanent solution to this. I'll try to track this down. If I do that, is it something that can would be accepted as part of a PR? cheers adam On Thu, Jan 9, 2020 at 6:10 AM Gregory Nutt wrote: > > >> This is an error in the Kconfig files. Thi

Re: Jenkins CI

2020-01-09 Thread Adam Feuer
Haitao, Cool! Anywhere in a public git repo is great; nuttx testing project also sounds great. cheers adam On Thu, Jan 9, 2020 at 12:08 AM Haitao Liu wrote: > In my opinion, Jenkins CI scripts could be version controlled firstly > locally or my github. > Once the whole process is functional,

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Gregory Nutt
For now, is this particular issue easy to fix? I didn't look at the code yet. If it's a quick fix, we should just fix it right away. It is not. You could have to create and FTP client configuration and bring and FTP server on some test network.  I have never done that kind of thing for user

Re: Question about savedefconfig warnings

2020-01-09 Thread Gregory Nutt
The "imply BAZ" method seems like a way to have a permanent solution to this. I'll try to track this down. If I do that, is it something that can would be accepted as part of a PR? I don't see why not.  'imply' is only available in the newest version of Kconfig-frontends so it is possible it c

Re: Jenkins CI

2020-01-09 Thread Gregory Nutt
Haitao, Would you like me to initialize the repository?  I can do that for you if you like with apps/ and nuttx/ as submodules but nothing else. Greg

Re: Question about savedefconfig warnings

2020-01-09 Thread Adam Feuer
The Kconfig for ARCH_BOARD_SAMA5D3_XPLAINED had this: select ARCH_PHY_INTERRUPT if NETDEVICES > Since now NETDEVICES can include CDC ECM Ethernet over USB which does not have a PHY interrupt, I solved the conflict like this: select ARCH_PHY_INTERRUPT if NETDEVICES && (SAMA5_EMACA || SAMA5_EMAC0

Re: Add support to LPTIM2 PWM output on nucleo-l432kc

2020-01-09 Thread Gregory Nutt
Daniel, > The following patch add support to LPTIM2 PWM output on nucleo-l432kc. Committed, Thanks!  My apologies again for the chaos but it will take time to work out the kinks with all volunteer, part-time support.  But I am confident we will get there. Greg

Re: Add support to LPTIM2 PWM output on nucleo-l432kc

2020-01-09 Thread Daniel Pereira Carvalho
No problem. You and the community are doing a great job. Thanks for the effort Daniel Pereira de Carvalho Em qui., 9 de jan. de 2020 às 18:24, Gregory Nutt escreveu: > Daniel, > > > > > > > The following patch add support to LPTIM2 PWM output on > > nucleo-l432kc. > > > Committed, Tha

Re: Question about savedefconfig warnings

2020-01-09 Thread Adam Feuer
Thanks. I didn't have to use the imply, but it's good to know about. cheers adam On Thu, Jan 9, 2020 at 1:05 PM Gregory Nutt wrote: > > The "imply BAZ" method seems like a way to have a permanent solution to > > this. > > > > I'll try to track this down. If I do that, is it something that can w

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 4:01 PM Gregory Nutt wrote: > > For now, is this particular issue easy to fix? I didn't look at the code > > yet. If it's a quick fix, we should just fix it right away. > > It is not. You could have to create and FTP client configuration and > bring and FTP server on some te

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 6:21 PM Nathan Hartman wrote: > > On Thu, Jan 9, 2020 at 4:01 PM Gregory Nutt wrote: > > > For now, is this particular issue easy to fix? I didn't look at the code > > > yet. If it's a quick fix, we should just fix it right away. > > > > It is not. You could have to create

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Gregory Nutt
I agree with you there 100%. Open Source can be whatever someone wants it to be, if they're willing to put in the effort. Yes, certainly.  If you have a particular interest in an issue you will be more inclined to invest more of your personal time and resources in helping a user solve the p

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Gregory Nutt
Ok so it is not a trivial "check for NULL before dereferencing and return error" five-minute-fix type situation. Even if is (and I don't know that it is not) I would expect a user to contribute a verified patch or PR that is known to solve the problem.

Re: Issue Reporting

2020-01-09 Thread Gregory Nutt
Another thing, most issues are reported by email.  How would that fit in? On 1/9/2020 2:55 PM, Gregory Nutt wrote: My preference would be to let users submit issues on github, but then track them with Jira.  Is it possible to link Jira issues to github issues? Otherwise, the rest that you s

Re: [Bitbucket] Issue #15: NULL dereference in FTP SIZE command (nuttx/apps)

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 6:35 PM Gregory Nutt wrote: > > > I agree with you there 100%. Open Source can be whatever someone wants > > it to be, if they're willing to put in the effort. > > Yes, certainly. If you have a particular interest in an issue you will > be more inclined to invest more of y

Re: Issue Reporting

2020-01-09 Thread Nathan Hartman
On Thu, Jan 9, 2020 at 6:55 PM Gregory Nutt wrote: > Another thing, most issues are reported by email. How would that fit in? > One of two ways. Either we'd ask the reporter to file an issue. Or we would file the issue ourselves. Either way, triaging of issues would need to be an ongoing eff

Re: Issue Reporting

2020-01-09 Thread Xiang Xiao
I justed open a JIRA for this: https://issues.apache.org/jira/browse/INFRA-19692 Thanks Xiang On Fri, Jan 10, 2020 at 4:55 AM Gregory Nutt wrote: > My preference would be to let users submit issues on github, but then > track them with Jira. Is it possible to link Jira issues to github issues?

Re: Issue Reporting

2020-01-09 Thread Brennan Ashton
As I said we control this. I'll open the correct PR, let's not bother infra when it is on us. --Brennan On Thu, Jan 9, 2020, 6:43 PM Xiang Xiao wrote: > I justed open a JIRA for this: > https://issues.apache.org/jira/browse/INFRA-19692 > > Thanks > Xiang > > On Fri, Jan 10, 2020 at 4:55 AM Greg

Re: Jenkins CI

2020-01-09 Thread Haitao Liu
That's great nuttx-testing project is available. I think empty nuttx-testing project is ok now. We'll put the CI scripts and testing related stuff here later. So sum up, in my opinion, there would be four CI jobs for NuttX projects: 1 One incubator-nuttx-website CI Job: Once commit merged i

Re: Issue Reporting

2020-01-09 Thread Xiang Xiao
Ok, I have closed it. On Fri, Jan 10, 2020 at 10:51 AM Brennan Ashton wrote: > As I said we control this. I'll open the correct PR, let's not bother > infra when it is on us. > > --Brennan > > On Thu, Jan 9, 2020, 6:43 PM Xiang Xiao wrote: > >> I justed open a JIRA for this: >> https://issues.a

Re: Issue Reporting

2020-01-09 Thread Brennan Ashton
I was going to only apply it to the os repo so we have one place to triage/manage and people might not know where to file an issue or I might span both. We can use labels to further filter, this is how I usually see it done for projects with multiple repos. We can always enable the apps one later

Re: Jenkins CI

2020-01-09 Thread Haitao Liu
Thanks Miguel share your approach. We'll look into it, the aim for NuttX is keep nuttx/ and apps/ user-end projects clean and do not mess up with CI stuffs. And now prepare to use Apache Infra Jenkins CI firstly. Miguel Ángel Herranz 于2020年1月9日周四 下午7:45写道: > Hi, > > I have configured Jenkins

Re: Issue Reporting

2020-01-09 Thread Brennan Ashton
Ok we now have issues and projects on apache-nuttx. No projects have been configured, but I suspect a lot of the project management features that people were asking about can be handled via this, see the docs: https://help.github.com/en/github/managing-your-work-on-github/about-project-boards Also

thttpd setup guide...?

2020-01-09 Thread Adam Feuer
Hi, Is there a guide to setting up thttpd on nuttx? I see it in the examples and netutils, and tried to get it going, but got lost in trying to create a romfs... help! If there's a guide, can someone point me in the right direction? If there's no guide... what's the simplest way to get a simple w