Re: Build failed in Jenkins: NuttX-Nightly-Build #245

2020-08-06 Thread Ishikawa, Masayuki (SHES)
Already fixed in https://github.com/apache/incubator-nuttx/pull/1528 From: Apache Jenkins Server Sent: Friday, August 7, 2020 15:01 To: dev@nuttx.apache.org Subject: Build failed in Jenkins: NuttX-Nightly-Build #245 See

Build failed in Jenkins: NuttX-Nightly-Build #245

2020-08-06 Thread Apache Jenkins Server
See Changes: -- [...truncated 281.15 KB...] Configuration/Tool: sim/bluetooth

Re: official nuttx-ci-linux image

2020-08-06 Thread Brennan Ashton
> > > > > > https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358 > > heh. i may add my complaint there. > > now, i have a variation of my original suggestion. > in addition to github packages, how about pushing the image to a les

Re: official nuttx-ci-linux image

2020-08-06 Thread Takashi Yamamoto
On Fri, Aug 7, 2020 at 9:38 AM Brennan Ashton wrote: > > On Thu, Aug 6, 2020, 4:35 PM Takashi Yamamoto > wrote: > > > On Thu, Aug 6, 2020 at 11:57 PM Brennan Ashton > > wrote: > > > > > > On Thu, Aug 6, 2020, 4:03 AM Takashi Yamamoto > > > > > wrote: > > > > > > > hi, > > > > > > > > the docker

Re: official nuttx-ci-linux image

2020-08-06 Thread Brennan Ashton
On Thu, Aug 6, 2020, 4:35 PM Takashi Yamamoto wrote: > On Thu, Aug 6, 2020 at 11:57 PM Brennan Ashton > wrote: > > > > On Thu, Aug 6, 2020, 4:03 AM Takashi Yamamoto > > > wrote: > > > > > hi, > > > > > > the docker image used by the CI (nuttx-ci-linux) is useful for other > > > purposes. > > >

Re: official nuttx-ci-linux image

2020-08-06 Thread Takashi Yamamoto
On Thu, Aug 6, 2020 at 11:57 PM Brennan Ashton wrote: > > On Thu, Aug 6, 2020, 4:03 AM Takashi Yamamoto > wrote: > > > hi, > > > > the docker image used by the CI (nuttx-ci-linux) is useful for other > > purposes. > > but as far as i know, it isn't pullable publicly. > > > > right now, i'm buildi

Re: official nuttx-ci-linux image

2020-08-06 Thread Justin Mclean
HI, > This is a build environment we use for CI, it does not contain any NuttX > release code. Thanks for that perhaps make that clearer by adding a description? Thanks, Justin

Re: official nuttx-ci-linux image

2020-08-06 Thread Brennan Ashton
This is a build environment we use for CI, it does not contain any NuttX release code. On Thu, Aug 6, 2020, 3:44 PM Justin Mclean wrote: > Hi, > > This is a little bit of a concern.[1] "Projects MUST direct outsiders > towards official releases rather than raw source repositories, nightly > buil

Re: official nuttx-ci-linux image

2020-08-06 Thread Justin Mclean
Hi, This is a little bit of a concern.[1] "Projects MUST direct outsiders towards official releases rather than raw source repositories, nightly builds, snapshots, release candidates, or any other similar packages” Thanks, Justin 1. http://www.apache.org/legal/release-policy.html#publication

Re: USB host mass storage class automount.

2020-08-06 Thread Gregory Nutt
Would it be acceptable that the automount handler is called from usbhost_storage.c, from a modularity point of view? Because that way it would be only a notification towards the work queue, using a mechanism that is already in place. I don't like the idea to have another kthread that does onl

Re: USB host mass storage class automount.

2020-08-06 Thread Gregory Nutt
Would it be acceptable that the automount handler is called from usbhost_storage.c, from a modularity point of view? Because that way it would be only a notification towards the work queue, using a mechanism that is already in place. I don't like the idea to have another kthread that does onl

Re: USB host mass storage class automount.

2020-08-06 Thread Schock, Johannes - NIVUS GmbH
Would it be acceptable that the automount handler is called from usbhost_storage.c, from a modularity point of view? Because that way it would be only a notification towards the work queue, using a mechanism that is already in place. I don't like the idea to have another kthread that does only wa

Re: ADC Examples error?

2020-08-06 Thread Alan Carvalho de Assis
Very nice Nii! On 8/6/20, Nii Jyeni wrote: > This board is made by myself, the MCU model is STM32F429IIT6, and the > configuration file refers to the STM32F429i-disco board. > At present, LAN, FLASH, SDRAM, and GPIO have all passed the test, and other > functions are still being tested. >> 2020年8

Re: ADC Examples error?

2020-08-06 Thread Nii Jyeni
This board is made by myself, the MCU model is STM32F429IIT6, and the configuration file refers to the STM32F429i-disco board. At present, LAN, FLASH, SDRAM, and GPIO have all passed the test, and other functions are still being tested. > 2020年8月6日 下午7:32,Alan Carvalho de Assis 写道: > > Hi Nii,

Re: ADC Examples error?

2020-08-06 Thread Nii Jyeni
Thank you very much, this patch is effective for me. Now it is possible to run the ADC example multiple times to read the analog value > 2020年8月6日 下午8:28,raiden00pl 写道: > > Hi, > there seems to be a bug in the ADC setup logic and adc_reset() is only > called when the ADC driver is first opened.

Re: official nuttx-ci-linux image

2020-08-06 Thread Brennan Ashton
On Thu, Aug 6, 2020, 4:03 AM Takashi Yamamoto wrote: > hi, > > the docker image used by the CI (nuttx-ci-linux) is useful for other > purposes. > but as far as i know, it isn't pullable publicly. > > right now, i'm building and pushing it to docker hub for my own > consumption. > https://hub.dock

Re: USB host mass storage class automount.

2020-08-06 Thread Gregory Nutt
But: I haven't yet found a way to determine if I enumerated really a mass storage class device. So with only activating mass storage it seems rather clean, but if I have multiple class drivers active, it gets complicated. Can you give a hint how to retrieve the type of driver bound to the cur

Re: USB host mass storage class automount.

2020-08-06 Thread Schock, Johannes - NIVUS GmbH
> -Original Message- > From: Gregory Nutt [mailto:spudan...@gmail.com] > Sent: Thursday, August 6, 2020 3:51 PM > > Instead of a new new notification event, you would also use the USB host > polling thread.  Look, for example at, > boards/arm/imxrt/imxrt1060-evk/src/imxrt_usbhost.c.  The p

Re: USB host mass storage class automount.

2020-08-06 Thread Gregory Nutt
just a short question: I'd like to have my USB stick attached to USB high speed host automounted as vfat. Would it be acceptable to call mount/umount directly in the usbhost_storage.c where the blockdriver is registered/unregistered? For sure switchable with Kconfig options. I tried to setup a

Re: ADC Examples error?

2020-08-06 Thread raiden00pl
Hi, there seems to be a bug in the ADC setup logic and adc_reset() is only called when the ADC driver is first opened. You can fix it with the patch below, but I need to verify if it doesn't break the ADC for STM32F3. If it works, I prepare a PR diff --git a/arch/arm/src/stm32/stm32_adc.c b/arch/a

Re: USB host mass storage class automount.

2020-08-06 Thread Alan Carvalho de Assis
Hi Johannes, You cannot do it because it will not work for KERNEL and PROTECTED mode. We need to create a hotplug/udev for NuttX (just joking)... Well, you can use some signal to notify mount/umount that the USB Thumb driver was inserted/removed. BR, Alan On 8/6/20, Schock, Johannes - NIVUS Gm

USB host mass storage class automount.

2020-08-06 Thread Schock, Johannes - NIVUS GmbH
Hello, just a short question: I'd like to have my USB stick attached to USB high speed host automounted as vfat. Would it be acceptable to call mount/umount directly in the usbhost_storage.c where the blockdriver is registered/unregistered? For sure switchable with Kconfig options. I tried to set

Re: ADC Examples error?

2020-08-06 Thread Alan Carvalho de Assis
Hi Nii, What board are you using? It appears like an incorrect ADC board configuration. The analog value for channels 4 and 5 are changing a little bit from each sampling, but they appear to make sense. Try to isolate the issue, you can start with a single channel, start without DMA, etc. Also

RE: official nuttx-ci-linux image

2020-08-06 Thread David Sidrane
Love it! -Original Message- From: Takashi Yamamoto [mailto:yamam...@midokura.com.INVALID] Sent: Thursday, August 06, 2020 4:03 AM To: dev@nuttx.apache.org Subject: official nuttx-ci-linux image hi, the docker image used by the CI (nuttx-ci-linux) is useful for other purposes. but as far

official nuttx-ci-linux image

2020-08-06 Thread Takashi Yamamoto
hi, the docker image used by the CI (nuttx-ci-linux) is useful for other purposes. but as far as i know, it isn't pullable publicly. right now, i'm building and pushing it to docker hub for my own consumption. https://hub.docker.com/repository/docker/yamt/nuttx-ci-linux i think it's worth to prov