Help with video streaming infrastructure to NuttX Online Workshop

2020-07-31 Thread Alan Carvalho de Assis
Dear Apache Leaders, Does Apache have some streaming account (i.e. Zoom) that we could use to N.O.W event? What will be the tool used to "ApacheCon @Home 2020" streaming? Could we use the same tool? I asked this question in the private list, but didn't get response. Anyway if Apache cannot sup

Re: Help with video streaming infrastructure to NuttX Online Workshop

2020-07-31 Thread Alan Carvalho de Assis
15-16 people can apply thru: https://nuttx.events/2020/06/15/apply-to-attend-nuttx-online-workshop/ BR, Alan On 7/31/20, Kevin A. McGrail wrote: > Have you looked at the free jitsi open source platform? > > When is your now event? > > On Fri, Jul 31, 2020, 10:58 Alan Carvalho de

Re: Help with video streaming infrastructure to NuttX Online Workshop

2020-07-31 Thread Alan Carvalho de Assis
Hi Kevin, Than you very much! I really appreciate it! I will contact you to get more info. BR, Alan On 7/31/20, Kevin A. McGrail wrote: > Ok. I am open to using my zoom account if you need. > > On Fri, Jul 31, 2020, 11:39 Alan Carvalho de Assis > wrote: > >> Hi Kevin

Re: new documentation

2020-08-01 Thread Alan Carvalho de Assis
Hi Adam, It is already getting a very good shape! This is a great improvement to NuttX! In the Supported Boards I think we could implement some table showing the supported status of each board, similar to this: https://wiki.postmarketos.org/wiki/Devices Some RTOSes claim to support some boards,

Re: Setting MAC address on STM32.

2020-08-02 Thread Alan Carvalho de Assis
Hi Fotis, Please take a look at arm/samv7/same70-xplained/src/sam_ethernet.c It does exactly what you are planing to do. BR, Alan On 8/2/20, Fotis Panagiotopoulos wrote: > Hi, > > I am using an STM32F427 MCU on a project that I am porting to NuttX. > For the moment everything seems to be work

Re: Setting MAC address on STM32.

2020-08-02 Thread Alan Carvalho de Assis
Hi Fotis, On 8/2/20, Fotis Panagiotopoulos wrote: >> Where do you initialize the IP address? You should use the same socket >> descriptor to call the ioctl to set the MAC address at that location > > I am using the NuttX apps package for the moment, and specifically nsh. So > I guess this code h

Re: Nuttx was found to be a strange error compiling on Macos

2020-08-03 Thread Alan Carvalho de Assis
Hi Nii, There are many warnings like this: "no object file members in the library define global symbols". Probably it is some issues on your setup. Try again using pristine setup. If it doesn't work, try to use an old NuttX/Apps version to verify if it broke recently. I don't think so because th

Re: STM32H7: Support for Multiprocessing between Cortex M7 and Cortex M4

2020-08-04 Thread Alan Carvalho de Assis
Hi Frank-Christian, The port is to Cortex-M7, but since NuttX also supports Cortex-M4 it could be possible to run NuttX at both at same time. I don't know if the PX4 guys already did it, maybe... BR, Alan On 8/4/20, Frank-Christian Kruegel wrote: > Hello World; > > I'm about to choose a Cortex

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: 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

Re: ADC Examples error?

2020-08-06 Thread Alan Carvalho de Assis
ed. >> 2020年8月6日 下午7:32,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 sampl

The NuttX Online Workshop Speakers/Presentations Line-up is done

2020-08-11 Thread Alan Carvalho de Assis
Hi Everyone, I want to let you know that our event Speakers Line-up with information of each Presentation is done. Please access this link to see it: https://nuttx.events/ BR, Alan

Re: Roadmap?

2020-08-12 Thread Alan Carvalho de Assis
Hi Matous, Did you see this CANopen implementation: https://github.com/rscada/libcanopen Now it should be easy to use because NuttX supports SocketCAN. BR, Alan On 8/12/20, Matous Pokorny wrote: > Hello! > > I definitely agree with all the words written below and I would like to add > few wi

Re: cpp cxx help - No thread API

2020-08-14 Thread Alan Carvalho de Assis
Guys, I think we should move your bitbucket libcxx to github.com/nuttx to make it more official. What do you think? Other (better) option should including official support to NuttX on llvm libcxx. BR, Alan On 8/14/20, Xiang Xiao wrote: > This is because Alan's porting isn't compatible with the

Re: NuttX Online Workshop

2020-08-15 Thread Alan Carvalho de Assis
Hi Ben, The YouTube link will be announce at https://nuttx.events/ at 12:00 GMT BR, Alan On 8/15/20, disruptivesolution...@gmail.com wrote: > And will there be a Zoom link? Or did I miss some info? > > Ben > > -Oorspronkelijk bericht- > Van: Schock, Johannes - NIVUS GmbH > Verzonden:

Re: Telnet: up arrow key in putty returns ^[[A

2020-08-16 Thread Alan Carvalho de Assis
Hi Oleg, Well, I don't know if there is an easy way to fix it. BTW, could you please open an issue for it? https://github.com/apache/incubator-nuttx/issues BR, Alan On 8/16/20, Oleg Evseev wrote: > Hi all, > > Up arrow key in Putty returns ^[[A instead of choosing last command when > connect

Re: Color ANSI support in nsh

2020-08-16 Thread Alan Carvalho de Assis
Christian, If I'm not wrong NuttX already has this feature to fancy interface if you use of pdcurses library. Greg added pdcurses some time ago and Ken Petit added support to use it over telnet BR, Alan On 8/16/20, Christian Catchpole wrote: > Yeah i should have had a poke around before posti

Re: Color ANSI support in nsh

2020-08-17 Thread Alan Carvalho de Assis
oo it 😉 Color is throwing >> money where functionality died.... >> >> Ben >> >> -Oorspronkelijk bericht- >> Van: Alan Carvalho de Assis >> Verzonden: zondag 16 augustus 2020 17:02 >> Aan: dev@nuttx.apache.org >> Onderwerp: Re: Color AN

Re: Color ANSI support in nsh

2020-08-17 Thread Alan Carvalho de Assis
I liked it to! Should be nice to have some "text bar" widgets too, like we have in the alsamixer ;-) BR, Alan On 8/17/20, Matias N. wrote: > I really liked your telemetry app with colored output you shown on the > video. > > On Mon, Aug 17, 2020, at 20:47, Christian Catchpole wrote: >> somethi

Re: NuttX project on Hackaday

2020-08-20 Thread Alan Carvalho de Assis
WOW!!! Kudos Matias! Very nice project! It's inspiring! BR, Alan On 8/20/20, Gregory Nutt wrote: > Matias' bike computer project is featured on Hackaday: > https://hackaday.com/2020/08/20/bike-computer-powers-on-long-after-your-legs-give-out/ > > Also interesting, but off topic, ESP32 Altair

LVGL moving to Kconfig, how we could integrated better with them

2020-08-25 Thread Alan Carvalho de Assis
Hi Everyone, Mr. Gábor Kiss-Vámosi contacted and told me that LVGL is moving to use Kconfig: "At LVGL we are planning to add a Kconfig file to the main repo but we are not sure if it will harm the existing Kconfig based projects. Could you comment on what your requirements are and what we should

Re: Thread-aware debugging for STM32H7 with OpenOCD

2020-08-27 Thread Alan Carvalho de Assis
Hi John, On 8/27/20, John Rippetoe wrote: > Hi everyone, > > I recently jumped back into working on the FDCAN driver for the STM32H7 > and have something working which I would like to test further. In doing > so, I was hoping to easily debug with GDB through OpenOCD, but am having > some issues w

Re: Thread-aware debugging for STM32H7 with OpenOCD

2020-08-27 Thread Alan Carvalho de Assis
x27;s suggestion of adding the '-rtos > nuttx' flag to my config did the trick, so maybe this process isn't > needed anymore? > > - John > > On 8/27/20 5:29 PM, Alan Carvalho de Assis wrote: >> Hi John, >> >> On 8/27/20, John Rippetoe wrote: >>&g

Re: Thread-aware debugging for STM32H7 with OpenOCD

2020-08-28 Thread Alan Carvalho de Assis
tex-M boards. >> >> $ arm-none-eabi-gdb-py --version >> >> GNU gdb (GNU Tools for Arm Embedded Processors 9-2019-q4-major) >> 8.3.0.20190709-git >> >> So if you are interested in the script. Please try the following git. >> >> $ git clone -b gdbinit_f

Re: Thread-aware debugging for STM32H7 with OpenOCD

2020-08-28 Thread Alan Carvalho de Assis
u, Aug 27, 2020, at 18:29, Alan Carvalho de Assis wrote: >> Hi John, >> >> On 8/27/20, John Rippetoe wrote: >> > Hi everyone, >> > >> > I recently jumped back into working on the FDCAN driver for the STM32H7 >> > and have something working which

Re: NuttX SDXC / exFAT support

2020-09-02 Thread Alan Carvalho de Assis
Hi Pelle, On 9/2/20, Pelle Windestam wrote: > Hi everyone, > > Is there any support for high capacity SD-cards in NuttX, i.e. larger than > 32GB? I have done some research online and it seems that for those sizes, > SDXC cards using the exFAT file system is required. I have looked through > the c

Re: Keyboard FeatherWing

2020-09-11 Thread Alan Carvalho de Assis
Hi Matias, On 9/11/20, Matias N. wrote: > A bit related but maybe not so much: as you may have seen in my workshop > presentation, I'm working on a tiny BLE mouse using BlackBerry trackpad > sensor, > based on the nRF52832. As part of this, I built a Feather Wing format board > just for the senso

Re: i.MX RT 1060 ADC

2020-09-23 Thread Alan Carvalho de Assis
Hi Thomas, On 9/22/20, Thomas Axelsson wrote: > Hi, > > I have now created a PR for a simple IMXRT ADC driver. ( > https://github.com/apache/incubator-nuttx/pull/1868 ) > Nice work, thank you! > The names of register bit values for ADC_CFG:ADSTS do not match between > IMXRT 1020 and 1050/1060.

Re: NAND R/W support

2020-09-25 Thread Alan Carvalho de Assis
Hi Thomas, According to drivers/mtd/README.txt the NAND support is only partial because there is not a FS to handle it correctly. Normally for NAND you will need to scan the NAND to update the bad block table during the boot (could be on NuttX or in a bootloader) to guarantee the FS will be use a

Re: NAND R/W support

2020-09-25 Thread Alan Carvalho de Assis
Sorry for the typo: will be use a bad block -> will not use a bad block On 9/25/20, Alan Carvalho de Assis wrote: > Hi Thomas, > > According to drivers/mtd/README.txt the NAND support is only partial > because there is not a FS to handle it correctly. > > Normally for NAND

Re: Say I do not want to use a board but a standalone MCU say the STM32F722RET6

2020-09-26 Thread Alan Carvalho de Assis
I didn't follow! Maybe someone else could get it and help. On 9/26/20, disruptivesolution...@gmail.com wrote: > NuttX speaks of "boards" and not about MCUs. Maybe a dumb question, but > does > NuttX run on custom made PCB's where one uses the MCU named in "boards"? Or > is there something with a

Re: Logic issue in Timers' Exemple

2020-09-30 Thread Alan Carvalho de Assis
Hi Sara, Actually it is not incorrect, because inside the timer start function the interruption it enabled to call the ISR (the callback function). Let's use the nRF52 as example, inside setcallback() we have: /* Save the new callback */ priv->callback = callback; priv->arg = arg; if

Re: nuttx\arch\arm\src\stm32h7\stm32_spi.c uses txresult even when SPI_DMA is not defined

2020-10-16 Thread Alan Carvalho de Assis
Hi Eduard, Unfortunately the mailing list is refusing patches with extension .patch, we need to rename it to .txt to get it here. BTW, you can submit a Pull Request directly to https://github.com/apache/incubator-nuttx and we could review it. BR, Alan On 10/16/20, Eduard Niesner wrote: > Hi a

Re: nuttx\arch\arm\src\stm32h7\stm32_spi.c uses txresult even when SPI_DMA is not defined

2020-10-16 Thread Alan Carvalho de Assis
the > impact of the change could look into it. > > PS: If the changes look ok, I will register on github and create the pull > request. Do I need to get any approvals to create branches or pull > requests on nuttx incubator? > > Edi > > > > On Fri, Oct 16, 2020 at 7

Re: [DISCUSS] NuttX 10.0.0 Release schedule

2020-10-19 Thread Alan Carvalho de Assis
Kudos Brennan! On 10/19/20, Brennan Ashton wrote: > On Sat, Oct 17, 2020 at 6:37 AM Abdelatif Guettouche > wrote: >> >> Thanks for merging, Brennan! >> >> I'll work on some more today. >> It'd be great if others can help, there are 515 PRs left :D >> In any case, here are the links: >> Github Pr

[OT] Support to Sparkfun MicroMod

2020-10-23 Thread Alan Carvalho de Assis
Hi Everyone, Sparkfun just created an interesting board ecosystem that could let people to replace the MCU module and still having access to the base board features: https://www.sparkfun.com/micromoddev https://www.sparkfun.com/micromod#carrier-boards https://www.sparkfun.com/micromod#processor

Re: Multiwii MSP

2020-10-24 Thread Alan Carvalho de Assis
Hi Ben, There is a discussion about it on PX4 forum: https://discuss.ardupilot.org/t/any-way-to-get-msp-telemetry-to-work-with-pixhawk-2-1/25761 You could implement it as a library, maybe it could fit inside apps / inertial / libmsp. I think inertial is a more generic name than drones, uav, etc.

Re: Bug in arch/arm/stm32h7/src/stm32_ethernet.c

2020-10-26 Thread Alan Carvalho de Assis
Hi Frank-Christian, I just submitted a PR to fix the issue you reported: https://github.com/apache/incubator-nuttx/pull/2120 Please let me know if it works for you. BR, Alan On 10/26/20, Frank-Christian Kruegel wrote: > Hello World(); > > When using the CONFIG_STM32H7_PHYINIT option I get an

Re: Running ifconfig on BeagleboneBlack

2020-10-26 Thread Alan Carvalho de Assis
Hi Subhra, Welcome to the NuttX community! Unfortunately we selected a board that doesn't have Ethernet driver, see inside this directory: nuttx/arch/arm/src/am335x/ and you will realize which peripherals are supported to this board. I'm CC Mr. Petro, he is the guy who ported NuttX to BBB, maybe

Re: interrupt priorities on nRF52

2020-10-27 Thread Alan Carvalho de Assis
Hi Matias, The High-perf Zero Latency Interrupts is a misleading name. In fact it works like something external to the NuttX: https://cwiki.apache.org/confluence/display/NUTTX/High+Performance%2C+Zero+Latency+Interrupts You can use it with a timer with highest priority that will interrupt the N

Re: interrupt priorities on nRF52

2020-10-27 Thread Alan Carvalho de Assis
Hi Nathan, I totally agree! Zero Jitter Interrupt is a better name. We don't have zero latency, we have zero jitter. BR, Alan On 10/27/20, Nathan Hartman wrote: > On Tue, Oct 27, 2020 at 10:03 AM Matias N. wrote: > >> Hi Nathan, >> as I mentioned in my previous email, this isn't about overhe

Re: BLE602 and NuttX

2020-10-27 Thread Alan Carvalho de Assis
Hi Matias, Bouffalo Lab is following Espressif path, this is a good news!!! Let's see if they will really open-source everything! BR, Alan On 10/27/20, Matias N. wrote: > In case you missed it, there's a new RISC-V chip with BLE+WIFI support, > clearly competing with ESP8266/ESP32. > The docu

Re: Support for additional TI TIVA processors

2020-10-29 Thread Alan Carvalho de Assis
Hi Frank-Christian, Last time I converted your patch to a PR, but it would be nice if you could send the PR directly to github, this is how people are contributing today. ;-) This is very easy, just fork the https://github.com/apache/incubator-nuttx to user github, apply your patch and click on P

Re: Typo in arch/arm/src/samd2l2/sam_i2c_master.c

2020-10-29 Thread Alan Carvalho de Assis
Hi Bernd, Nice finding! Could you please submit a Pull Request? This is very easy, just fork the https://github.com/apache/incubator-nuttx to github user, apply your patch and click on Pulll requests -> New pull request Thank you very much! BR, Alan On 10/29/20, Bernd Walter wrote: > When us

Re: Problems and a bug in samd2l2 ADC code

2020-10-29 Thread Alan Carvalho de Assis
Hi Bernd, It was "working" few mont ago. I put working covered by quotes because the ADC convertion wasn't linear. I think the calibration process was failing. I tested it on Arduino Zero board (SAMD21). BR, Alan On 10/29/20, Bernd Walter wrote: > arch/arm/src/samd2l2/sam_adc.c requires two f

Re: Typo in arch/arm/src/samd2l2/sam_i2c_master.c

2020-10-29 Thread Alan Carvalho de Assis
Hi Bernd, Thank you very much! Yes, it appears correct! Let's wait the CI to complete, but so far so good! BR, Alan On 10/29/20, Bernd Walter wrote: > On Thu, Oct 29, 2020 at 08:48:56AM -0300, Alan Carvalho de Assis wrote: >> Hi Bernd, >> >> Nice finding! Coul

Re: Problems and a bug in samd2l2 ADC code

2020-10-29 Thread Alan Carvalho de Assis
Hello, On 10/29/20, Bernd Walter wrote: > On Thu, Oct 29, 2020 at 08:51:13AM -0300, Alan Carvalho de Assis wrote: >> Hi Bernd, >> >> It was "working" few mont ago. I put working covered by quotes because >> the ADC convertion wasn't linear. I th

Re: Problems and a bug in samd2l2 ADC code

2020-10-29 Thread Alan Carvalho de Assis
I don't think it is wrong. See: arch/arm/src/stm32/stm32_adc.h Now look inside boards/arm/stm32/ and you will find many board that includes this file same way. BR, Alan On 10/29/20, Bernd Walter wrote: > On Thu, Oct 29, 2020 at 05:42:58PM -0300, Alan Carvalho de Assis wrote:

Re: Problems and a bug in samd2l2 ADC code

2020-10-29 Thread Alan Carvalho de Assis
t 29, 2020 at 06:33:46PM -0300, Alan Carvalho de Assis wrote: >> I don't think it is wrong. > > Well - inlcuding and requiring two files with the same protector clearly > is wrong. > >> See: arch/arm/src/stm32/stm32_adc.h > > There is no arch/arm/include/stm32/stm3

Re: LVGL moving to Kconfig, how we could integrated better with them

2020-10-31 Thread Alan Carvalho de Assis
8/25/20, Alan Carvalho de Assis wrote: > Hi Everyone, > > Mr. Gábor Kiss-Vámosi contacted and told me that LVGL is moving to use > Kconfig: > > "At LVGL we are planning to add a Kconfig file to the main repo but we > are not sure if it will harm the existing Kconfig based

Re: LVGL moving to Kconfig, how we could integrated better with them

2020-11-01 Thread Alan Carvalho de Assis
Hi Matias, The idea of using the Kconfig supplied by LVGL is to simplify our building process, but of course, it needs to avoid some drawbacks that can appear during this development. Currently we already ship our own Kconfig (apps/graphics/lvgl/Kconfig), but since LVGL is moving to Kconfig we ne

Re: Problems and a bug in samd2l2 ADC code

2020-11-02 Thread Alan Carvalho de Assis
Hi Bernd, On 11/2/20, Bernd Walter wrote: sic > > Well, thiss is all weird. > My Chip is a SAMD21E17A, so it has only 16k RAM. > I had been using in in another project with my own IO code and NXFFS on > an SPI flash (W25), but had to reduce stack sizes to have enough RAM > for the NXFFS. Well, 1

Re: LVGL moving to Kconfig, how we could integrated better with them

2020-11-02 Thread Alan Carvalho de Assis
Hi Gábor, On 11/2/20, Gábor Kiss-Vámosi wrote: sic > > Why is it not an issue with other projects you use in NuttX? Have we missed > something? > This is the first time we need to integrate with an external library that uses Kconfig and have more configuration options. All other libraryies/appli

Re: LVGL moving to Kconfig, how we could integrated better with them

2020-11-02 Thread Alan Carvalho de Assis
whoa, I did so many mistakes (it happens everything I don't sleep well) Let's see it: On 11/2/20, Alan Carvalho de Assis wrote: > Hi Gábor, > > On 11/2/20, Gábor Kiss-Vámosi wrote: > sic >> >> Why is it not an issue with other projects you use in Nut

Re: Invitation to participate with the ASF at GSoC 2021

2020-11-03 Thread Alan Carvalho de Assis
> Sally >> >> - - - >> Vice President Marketing & Publicity >> Vice President Sponsor Relations >> The Apache Software Foundation >> >> Tel +1 617 921 8656 | s...@apache.org >> >> On Tue, Nov 3, 2020, at 07:29, Alan Carvalho de Assis wr

Re: Problems and a bug in samd2l2 ADC code

2020-11-04 Thread Alan Carvalho de Assis
Hi Bernd, On 11/3/20, Bernd Walter wrote: > On Mon, Nov 02, 2020 at 03:09:12PM +0100, Bernd Walter wrote: >> On Mon, Nov 02, 2020 at 10:17:41AM -0300, Alan Carvalho de Assis wrote: >> > This should be a better idea because you will have 32KB of RAM. They >> > after

Re: Problems and a bug in samd2l2 ADC code

2020-11-04 Thread Alan Carvalho de Assis
, 2020 at 03:09:12PM +0100, Bernd Walter wrote: >> > On Mon, Nov 02, 2020 at 10:17:41AM -0300, Alan Carvalho de Assis wrote: >> > > This should be a better idea because you will have 32KB of RAM. They >> > > after getting it working you can remove not necessary featu

Xiaomi Vela based on NuttX

2020-11-05 Thread Alan Carvalho de Assis
Kudos Xiaomi We are glad to have you all here!! https://www.gizmochina.com/2020/11/05/xiaomi-launches-a-new-iot-software-platform-xiaomi-vela-based-on-nuttx-os/

Re: Build problems - nuttx as an external library

2020-11-16 Thread Alan Carvalho de Assis
Hi Flávio, A simple band-aid fix: add this typedef inside "arch/chip/stm32_gpio.h" just before it is called at stm32_gpiosetevent(): typedef CODE int (*xcpt_t)(int irq, FAR void *context, FAR void *arg); int stm32_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge,

Re: Remove Device Nodes

2020-11-18 Thread Alan Carvalho de Assis
Hello Cate, You can remove a driver by unlinking the device node and closing all open references to the driver (provided that the driver properly implements the unlink method.) nsh> rm /dev/node is one way. Calling unlink() is another. What exactly are you willing to do? Could you please descri

Re: Mistake in comment describing USEC_PER_TICK?

2020-11-22 Thread Alan Carvalho de Assis
You are right, it should be 100Hz instead 100KHz. On 11/22/20, Nathan Hartman wrote: > Is there a mistake in the following comment in include/nuttx/clock.h? > > [[[ > /* If CONFIG_SCHED_TICKLESS is not defined, then the interrupt interval of > * the system timer is given by USEC_PER_TICK. This

Re: Should TASK_NAME_SIZE be changed in most configs?

2020-11-23 Thread Alan Carvalho de Assis
I think we need to have a good compromise between features and size. For instance, the default "nsh" demo should be small, basically just the terminal and minimum support to its commands to work, like the PROCFS to get 'free' working. Also keep in mind that for debugging purpose we need to "Suppr

Re: Should TASK_NAME_SIZE be changed in most configs?

2020-11-23 Thread Alan Carvalho de Assis
ve debug enable could, perhaps, be named like > nsh-debug. > > On 11/23/2020 5:38 AM, Alan Carvalho de Assis wrote: >> I think we need to have a good compromise between features and size. >> >> For instance, the default "nsh" demo should be small, basically just

Re: [VOTE] Apache NuttX 10.0.0 (incubating) RC0 release

2020-11-26 Thread Alan Carvalho de Assis
Hi Brennan, My vote: +1 Great work! Kudos again! I want to suggest for other people who tested NuttX 10.0 to report its size to let us to track the history of size increasing over time. I did it for version 9.1, so now we can compare with version 10.0. For version 9.1 I used only stm32f4discove

Re: [VOTE] Apache NuttX 10.0.0 (incubating) RC0 release

2020-11-27 Thread Alan Carvalho de Assis
Thank you Nathan, it is consistent with what I saw for other boards config! On 11/27/20, Nathan Hartman wrote: > On Thu, Nov 26, 2020 at 3:36 AM Brennan Ashton wrote: >> >> Hello all, >> Apache NuttX (Incubating) 10.0.0 RC0 has been staged under [1] and it's >> time to vote on accepting it for r

Re: BLE602 and NuttX

2020-11-29 Thread Alan Carvalho de Assis
Hi Matias, Well, I hope that Buffalo Labs follows the Espressif path and submit support to our mainline. I'm CC Pine64 people here, maybe they could be interested to work with us. It is funny because they selected the name Nutcracker for their challenge, that was the name of a NuttX Distro that

Re: adxl372_test SPI Configuration

2020-12-02 Thread Alan Carvalho de Assis
Hi Thiha, First you need to create a stm32_adxl345.c to call the SPIn that you want to initialize/use and initialize the adxl372 driver passing this spi interface. Please look at boards/arm/kl/freedom-kl25z/src/kl_adxl345.c to see how it is done for other board. Note that ADXL345 also uses an in

Re: stm32F407G-disc1 USBNSH Doesn't work

2020-12-02 Thread Alan Carvalho de Assis
Hi Thiha, I don't know what you mean "does not work". It is like someone calling the Help Desk and saying: "My computer doesn't work" Hehehe You need to describe what exactly is not working based on the steps you are doing. After flashing the firmware and resetting the board, does the dmesg com

Re: stm32F407G-disc1 USBNSH Doesn't work

2020-12-02 Thread Alan Carvalho de Assis
ation to get the console. > > --Brennan > > On Wed, Dec 2, 2020 at 9:41 AM Alan Carvalho de Assis > wrote: >> >> Hi Thiha, >> >> I don't know what you mean "does not work". >> >> It is like someone calling the Help Desk and saying: "My compu

Re: stm32F407G-disc1 USBNSH Doesn't work

2020-12-03 Thread Alan Carvalho de Assis
iguration. > > @Berennan, > > STLINK chip on stm32F407G-disc1 does not connect to any UART port. That's > why STLINK port cannot use as a console as well. > > It is very special case. > > Thank you. > > Regards, > Thiha > > > > On Thu, Dec 3, 2020 a

Re: ADXL372_test (SPI Configuration issue)

2020-12-03 Thread Alan Carvalho de Assis
Please read the thread: "adxl372_test SPI Configuration" it could help you! On 12/3/20, Marlar Chan wrote: > Dear Nuttx, > > Currently I am testing with STM32F429_waveshare. It is same with > STM32F429_disco, so I add the new board into Nuttx. > Now, I'm trying to test with adxl372 sensor with

Re: ssd1306 oled help

2020-12-06 Thread Alan Carvalho de Assis
Hi Matt, Sorry my delay to reply. As Mr. Greg pointed the issue is related to your OLED display I2C address. Normally these OLED display has an Address Select using a 0R resistor to 0x78 or 0x7A. You need to setup the CONFIG_SSD1306_I2CADDR with the right address. Also as Mr. Ben suggested, us

Re: CAN RTR ioctl timeout

2020-12-08 Thread Alan Carvalho de Assis
Hi Matt, I think the solution using timeout should be more appropriated. I don't remember using RTR and the test application doesn't use it. probably it was never exercised. Please submit a PR with your suggested modification. BR, Alan On 12/7/20, Matthew Trescott wrote: > Dear NuttX develop

Re: ssd1306 oled help

2020-12-09 Thread Alan Carvalho de Assis
*/ >> >> #if defined(CONFIG_I2C) && defined(CONFIG_SYSTEM_I2CTOOL) static void >> stm32_i2ctool(void) { >> stm32_i2c_register(1); >> #if 0 >> stm32_i2c_register(1); >> stm32_i2c_register(2); >> #endif >> } >> #else &g

[OT] Could be useful for someone porting NuttX to STM32MP1

2020-12-09 Thread Alan Carvalho de Assis
I just saw a post about it: https://werwolv.net/blog/mp1os

Re: ADXL372 sensor test fail

2020-12-11 Thread Alan Carvalho de Assis
You need to enable the Sensors debug to see these sensor's messages: $ make menuconfig Build Setup ---> Debug Options ---> [*] Enable Debug Features [*] Enable Error Output [*] Enable Warnings Output [*] Enable Informational Debug Output [*] Sensor Debug Features [*] Sensor

Re: /dev/i2c* and /dev/spi* missing - why?

2020-12-11 Thread Alan Carvalho de Assis
Hi Frank-Christian, You need to i2c_register() to be called during the boot. Please take a look at boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c for more details. BR, Alan On 12/11/20, Frank-Christian Kruegel wrote: > Hi. > > Platform: STM32H743 Nucleo144 board. > > I've enabled in me

Re: SAMD21 USB

2020-12-20 Thread Alan Carvalho de Assis
Hi Bernd, I develop a product for a customer some years ago using the SAMD21 with USB CDC/ACM and it worked fine. It was based on NuttX 7.27 The board was using a 8MHz crystal. BR, Alan On 12/15/20, Bernd Walter wrote: > On Tue, Dec 15, 2020 at 07:28:38PM +0100, Bernd Walter wrote: >> Ich hav

Re: Submit SGA on behalf o Sony Corporation for donation of the source files in Apache NuttX

2020-12-21 Thread Alan Carvalho de Assis
Hi Alin, The attachment didn't come up, because this mailing list only accepts some kinds of documents: .txt, .jpg, etc, even .patch is not acceptable, I already asked the Apache Infra to change it, but they didn't help on this. BR, Alan On 12/21/20, alin.jerpe...@sony.com wrote: > Hi Secretar

Re: Error in sninfo with argument

2021-01-02 Thread Alan Carvalho de Assis
Hi Thiha, Thank you for reporting this issue. Could you please supply more information? What NuttX version are you using? Is it from mainline? If so, did you get this same issue using NuttX 10.0 or 9.1 ? BR, Alan On 1/2/21, Thiha Kyaw wrote: > Dear Nuttx, > > I am facing the problem in senso

Re: Error in sninfo with argument

2021-01-07 Thread Alan Carvalho de Assis
> Thiha Kyaw > > > > > On Sat, Jan 2, 2021 at 11:52 PM Thiha Kyaw wrote: > >> Dear Alan, >> >> I use NuttShell (NSH) NuttX-10.0.0. >> >> Board is STM32F4Discovery (STM32F407G-DISC1). >> >> Regards, >> Thiha Kyaw >> >

Re: SPI Driver Balkanization

2021-01-08 Thread Alan Carvalho de Assis
On 1/8/21, Abdelatif Guettouche wrote: >> The biggest issue I see is that drivers are hard coding the CS reference >> like the MCP2515 which always uses SPIDEV_CANBUS(0), this should be >> passed >> in to the initialization of all SPI devices and owned by the private >> device >> structure not har

Re: libcxx and buildroot toolchain

2021-01-09 Thread Alan Carvalho de Assis
Hi Anthony, Since Xiang already added support for NuttX on libcxx mainstream: https://reviews.llvm.org/D88718?id=303700 I think it is time to phase out my libcxx repository and we will stick to libcxx mainline. Do you agree on that? BR, Alan On 1/9/21, Anthony Merlino wrote: > Thanks for the

Re: libcxx and buildroot toolchain

2021-01-12 Thread Alan Carvalho de Assis
Hi Anthony, On 1/12/21, Anthony Merlino wrote: >> >> Since Xiang already added support for NuttX on libcxx mainstream: >> https://reviews.llvm.org/D88718?id=303700 >> >> I think it is time to phase out my libcxx repository and we will stick >> to libcxx mainline. >> >> Do you agree on that? > > >

Re: Milestone: 40,000th Commit

2021-01-14 Thread Alan Carvalho de Assis
Kudos guys! Next month (Feb 17) the NuttX RTOS will become a 14 years old "teenager" ! $ git log --reverse BR, Alan On 1/13/21, Nathan Hartman wrote: > We have surpassed our 40,000th commit in the main NuttX repository. > > Many thanks to all of our past and present contributors who helped ge

Re: Problem with USB CDC initialization on board based on STM32F4DISCO

2021-01-17 Thread Alan Carvalho de Assis
Hi Flávio, Other file to compare is the System.map, it will give you some hints about which functions are missing in your board. Then you can investigate why the function is missing. Maybe it is just an #ifdef that is not entering because you forgot the rename the board's name. Try to do it and

Re: dmesg return is empty

2021-01-19 Thread Alan Carvalho de Assis
Hi Flavio, Did you enable DEBUG functions related to the subsystem you want to monitor? Also you can test using syslog() function in your board initialization code just to see if what you try to print appears when you call dmesg command. BR, Alan On 1/19/21, Flavio Castro Alves Filho wrote: >

Re: dmesg return is empty

2021-01-19 Thread Alan Carvalho de Assis
to see the messages? > > Thank you for your fast response. > > Best regards, > > Flavio > > Em ter., 19 de jan. de 2021 às 17:06, Alan Carvalho de Assis > escreveu: >> >> Hi Flavio, >> >> Did you enable DEBUG functions related to the subsystem you

Raspberry Pi Pico a nice board for NuttX

2021-01-21 Thread Alan Carvalho de Assis
Hi Everyone, I think many of you already saw this news! The Raspberry Foundation created their own microcontroller based on ARM Cortex M0+ with 1MB Flash and 256KB RAM. They also add support to OpenOCD (not in mainline yet) see: https://datasheets.raspberrypi.org/pico/getting_started_with_pico.

Re: Raspberry Pi Pico a nice board for NuttX

2021-01-21 Thread Alan Carvalho de Assis
till studying all the docs... The tool chains (multiple!), examples and > docs are already very complete. > > Arie de Muijnck > > > On 2021-01-21 13:47, Alan Carvalho de Assis wrote: >> >> Hi Everyone, >> >> I think many of you already saw this news! >>

Re: #include Link Broken in app/examples

2021-01-21 Thread Alan Carvalho de Assis
Hi Thiha, Did you try to select the same option for STM32F429i-Disco that you used as base? Does it work? It should create the board.h link automatically. Probably during your board setup creation you missed something. BR, Alan On 1/21/21, Thiha Kyaw wrote: > Dear Nuttx, > > I create a new bo

Re: Invitation to participate with the ASF at GSoC 2021

2021-01-31 Thread Alan Carvalho de Assis
Hi Kevin, Do we still have time to submit the NuttX projects to GSoC? We have a list of possible projects, but we didn't create a wiki page about it yet. Coud you please give us some guidance? BR, Alan On 11/3/20, Alan Carvalho de Assis wrote: > Thank you Kevin and Sally, > &

Re: Invitation to participate with the ASF at GSoC 2021

2021-01-31 Thread Alan Carvalho de Assis
>> - - - >>> Vice President Marketing & Publicity >>> Vice President Sponsor Relations >>> The Apache Software Foundation >>> >>> Tel +1 617 921 8656 | s...@apache.org >>> >>> On Sun, Jan 31, 2021, at 07:16, Alan Carval

Re: Invitation to participate with the ASF at GSoC 2021

2021-02-01 Thread Alan Carvalho de Assis
Solodovnik >> wrote: >> >>> Hello Alan, >>> >>> On Mon, 1 Feb 2021 at 04:36, Alan Carvalho de Assis >>> wrote: >>> >>> > Thank you Sallu, Maxim and Kevin! >>> > >>> > We will collect ideas for the project

Re: How to make board specific drivers on nuttx

2021-02-04 Thread Alan Carvalho de Assis
Hi Kenneth, Is it the LED example that you commented at LinkedIn? It is important to always explain exactly what you are trying to do and how you are trying to do. If you want add support for LEDs to be controlled by applications you need: 1) map the GPIO pins you are planing to use; 2) Create

Re: stdout

2021-02-05 Thread Alan Carvalho de Assis
Hi Grr, Could you please test your driver with the following application: / * hello_main / int main(int argc, FAR char *argv[]) { char name[

[OT] Realtime Control Systems using pysimCoder and NuttX

2021-02-22 Thread Alan Carvalho de Assis
Hi NuttXers, Mr. Roberto Bucher integrated NuttX on his pysimCoder: Part1: https://lnkd.in/dKn8tFN Part2: https://lnkd.in/dW266HV Part3: https://lnkd.in/dJ6r_mb Part4: https://lnkd.in/dYXMfg3 How it is easy to create control systems using block diagram like those used on Matlab. BR, Alan

Re: STM32H7 ethernet hardfaults

2021-03-04 Thread Alan Carvalho de Assis
Hi John, Did you try to disable DMA support to see if the issue disappear? I think other MCUs are using DMA for Ethernet too and this issue didn't happen. So I think disabling DMA could be a valid test to find out the root causes. BR, Alan On 3/4/21, John Rippetoe wrote: > Hello All, > > I've

Re: Invitation to participate with the ASF at GSoC 2021

2021-03-06 Thread Alan Carvalho de Assis
want to invite others PPMC to include new Proposals to improve NuttX ! BR, Alan On 1/31/21, Maxim Solodovnik wrote: > Hello Alan, > > On Mon, 1 Feb 2021 at 04:36, Alan Carvalho de Assis > wrote: > >> Thank you Sallu, Maxim and Kevin! >> >> We will collect ideas f

Re: Invitation to participate with the ASF at GSoC 2021

2021-03-08 Thread Alan Carvalho de Assis
t > > On Sat, 6 Mar 2021 at 22:51, Alan Carvalho de Assis > wrote: > >> Hi Maxim, >> >> I created some GSoC proposals here: >> >> https://issues.apache.org/jira/browse/NUTTX-3 >> https://issues.apache.org/jira/browse/NUTTX-4 >> https://issues.ap

  1   2   3   4   5   6   7   >