Re: Subject: [VOTE] Apache NuttX 11.0.0 (incubating) RC2 release

2022-09-19 Thread Alan Carvalho de Assis
Guys, please help!!! The idea is to have the NuttX 11.0.0 available before this weekend (guess why?) https://nuttx.events/2022/09/19/list-of-presentation-of-the-nuttx-international-2022/ BR, Alan On 9/19/22, alin.jerpe...@sony.com wrote: > Please test this release > We need some more votes to

Re: How to use the w5500 network module?

2022-09-15 Thread Alan Carvalho de Assis
Hi Prelude, The W5500 initialization code is already merged into mainline: https://github.com/apache/incubator-nuttx/blob/master/boards/arm/stm32/stm32f4discovery/src/stm32_w5500.c Did you have the chance to test it? BR, Alan On 9/14/22, Alan Carvalho de Assis wrote: > Hi Prelude

Re: RP2040 SPI in common?

2022-09-15 Thread Alan Carvalho de Assis
boards that have common board directory. BR, Alan On 9/15/22, Alan Carvalho de Assis wrote: > Hi Bernd, > > Yes, I think the current implementation is fixed to allow only 1 CS > per RP2040 SPI. > > That is not ideal (read: "incorrect"). > > It is possible to have t

Re: RP2040 SPI in common?

2022-09-15 Thread Alan Carvalho de Assis
Hi Bernd, Yes, I think the current implementation is fixed to allow only 1 CS per RP2040 SPI. That is not ideal (read: "incorrect"). It is possible to have the rp2040_spi.c as a common boards file, but the CS should be extended, i.e.: #if defined(LCDxyz) || defined(LCDwku) ... rp2040_gpio_put

Re: How to use the w5500 network module?

2022-09-14 Thread Alan Carvalho de Assis
Hi Prelude and Michael, Yes, I'm adding W5500 to ESP32-S2 to test the SPI driver that I implemented and because I was facing some issues on it I decided to test on STM32F4Discovery board. I'll submit the PR to mainline. I got it working, but for some reason it is stopping after 5 pings: https://p

Re: Subject: [VOTE] Apache NuttX 11.0.0 (incubating) RC2 release

2022-09-13 Thread Alan Carvalho de Assis
Thank you very much Craig! For release a new version all votes count because if a user found a critical issue we need to prepare a new version. That said all here are welcome to test and report their finding! BR, Alan On 9/13/22, Craig Altenburg wrote: > Not a voting member but built on MacOS

Re: Subject: [VOTE] Apache NuttX 11.0.0 (incubating) RC2 release

2022-09-13 Thread Alan Carvalho de Assis
+1 Please find board checking below: ESP32 = $ xtensa-esp32-elf-gcc -v Using built-in specs. COLLECT_GCC=xtensa-esp32-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/lto-wrapper Target: xtensa-esp32-elf Configured with: /builds/idf/crosstool-NG/.build/xtensa-

Re: Cache

2022-09-13 Thread Alan Carvalho de Assis
I don't know about sama5, but probably it is done here: arch/arm/src/armv7-a/ On 9/13/22, TimH wrote: > I will probably hit send then find it.but, right now, I can't see if > there's > anything I need to do to enable DCACHE? > > > > My .config has CONFIG_ARCH_DCACHE set, and that seems to "enable

Re: [VOTE] Apache NuttX 11.0.0 (incubating) RC1 release

2022-09-08 Thread Alan Carvalho de Assis
+1 Please find below important information for analysis/comparison: ESP32-DEVKITC: == Compiler info - $ xtensa-esp32-elf-gcc -v Using built-in specs. COLLECT_GCC=xtensa-esp32-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/lto-wrapper Tar

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Alan Carvalho de Assis
On 9/7/22, Tim Hardisty wrote: > > >>> Please correct me if I'm still missing something, as there are zero > >>> clues I can find as to what each ops function (for example) is > >>> actually supposed to do. > >> > >> > >> > >>Here is two examples: > >>https://github

Re: Driver for combined battery charger and regulator

2022-09-06 Thread Alan Carvalho de Assis
should do it. > > Thank you as ever, Alan, for taking the time to help me. > > FYI I am awaiting 11.0 release and will then rebase to that, and submit my > first PR's for my new drivers 😊 > >>-Original Message- >>From: Alan Carvalho de Assis >>Sen

Re: Driver for combined battery charger and regulator

2022-09-06 Thread Alan Carvalho de Assis
ing? > >>-Original Message- >>From: Alan Carvalho de Assis >>Sent: 06 September 2022 13:51 >>To: dev@nuttx.apache.org >>Subject: Re: Driver for combined battery charger and regulator >> >>Hi Tim, >> >>AFAIK we don't have a PMIC with ba

Re: Driver for combined battery charger and regulator

2022-09-06 Thread Alan Carvalho de Assis
Hi Tim, AFAIK we don't have a PMIC with battery regulator in the mainline yet. So you don't have a reference to base on it. You don't need to create a single file with all functions on it, you can create separated file for each specific function. This is how MC13892 is implemented on Linux (pleas

Re: Networking on simulator

2022-09-03 Thread Alan Carvalho de Assis
Hi Fotis, Besides its name the simhostroute.sh is using the bridge mode (look inside the script). I tested today few minutes ago and it is not working, I should have documented my config and all the steps. Maybe this article could help you: https://eadalabs.com/esp32-nuttx-and-bridged-networking

Re: ESP32's RMT driver PR

2022-09-02 Thread Alan Carvalho de Assis
Hi Victor, It should be better if you had shown me the code before submitting the PR, now you will need to face a longer review process! :-) BR, Alan On 9/2/22, Victor Benso wrote: > Hi everyone, > > Recently I came in need of adding a WS2812 LED to one of my ESP32 projects > that run NuttX. >

Re: Article: NuttX on PinePhone: Fixing the Interrupts

2022-09-01 Thread Alan Carvalho de Assis
Hi Lup, Are you planing to submit the support to mainline? It should be nice to motivate more people to try it! Question: is there some other lower cost Allwinner board that use this same microcontroller? BR, Alan On 8/31/22, Lee, Lup Yuen wrote: > NuttX on Pine64's PinePhone had some issues

Re: Networking on simulator

2022-08-31 Thread Alan Carvalho de Assis
Hi Fotis, Did you try it: https://acassis.wordpress.com/2021/09/02/using-internet-in-the-nuttx-running-on-simulator/ BR, Alan On 8/31/22, Fotis Panagiotopoulos wrote: > Hello, > > motivated by the recent issues of the network, I would like to perform more > tests on NuttX and maybe automate so

Re: Article: PinePhone boots NuttX

2022-08-28 Thread Alan Carvalho de Assis
WOW!!! You rulez man!!! On Saturday, August 27, 2022, Lee, Lup Yuen wrote: > NuttX now boots on Pine64's PinePhone! (Arm Cortex-A53) This article > explains the changes that I made... > > https://lupyuen.github.io/articles/uboot > > Lup >

Re: STM32F103RET6 and HSI

2022-08-23 Thread Alan Carvalho de Assis
I don't know how ST internal oscillator is implemented in silicon, but some MCUs have good internal oscillator. For example the SAMD21 used on Arduino M0 board works fine with NSH running at 115200 and it even supports USB console, but I didn't test your freezing spray, maybe it could fail too. :-

Re: Quectel BG770A support on NuttX

2022-08-18 Thread Alan Carvalho de Assis
Hi Bill, Thank Bill, I will follow more info for you. Sure, I think this time you could contribute back to mainline :-) BR, Alan On 8/18/22, Bill Rees wrote: > > > > Hi Alan, > > > >I am interested in this work. > > > >I am an embedded engineer and have worked with nuttx for

Quectel BG770A support on NuttX

2022-08-17 Thread Alan Carvalho de Assis
Hi Everyone, By the chance, did you know if someone already added support to this modem on NuttX? A friend of mine from a USA company is willing to use this modem and they are interested to contract someone from community to do the port, case this modem is not support yet. At the end of the day

Re: 10.3 merge issues

2022-08-17 Thread Alan Carvalho de Assis
Hi Tim, Try to compile with verbose enabled: $ make V=1 Probably your board is bringing some older definition that is causing a variable to be created incorrectly, because "-T/something" doesn't appear a valid target. BR, Alan On Wednesday, August 17, 2022, TimH wrote: > Hi All, > > > > My

Call for Proposals: NuttX Online Workshop 2022 extended until August 21

2022-08-15 Thread Alan Carvalho de Assis
Hi NuttXers, We extended the proposal submission until this weekend: August 21: https://nuttx.events Some people are asking to extend the time because their holidays. BR, Alan

Re: STM32F4 Ethernet Issues

2022-08-12 Thread Alan Carvalho de Assis
thandler() >> 3. tcp_close_eventhandler() assumes that conn is NOT NULL. Which causes >> the crash. >> >> This is wrong, but I don't have the understanding of it yet. >> Shall there be a check for a NULL conn? >> Or maybe tcp_close_eventhandler() is wrong to be

Re: STM32F4 Ethernet Issues

2022-08-12 Thread Alan Carvalho de Assis
ndler() assumes that conn is NOT NULL. Which causes the > crash. > > This is wrong, but I don't have the understanding of it yet. > Shall there be a check for a NULL conn? > Or maybe tcp_close_eventhandler() is wrong to be in the cb's list in the > first place? > Or tcp_c

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

2022-08-12 Thread Alan Carvalho de Assis
; your -1 ? > > @Petro Thanks for providing a explanation for the issue > > Best regards > Alin > > -Original Message- > From: Alan Carvalho de Assis > Sent: den 12 augusti 2022 02:38 > To: dev@nuttx.apache.org > Subject: Re: [VOTE] Apache NuttX 10.4.0 (incuba

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

2022-08-11 Thread Alan Carvalho de Assis
The most important I forgot to say: Alin: reverting Petro's commit solves the issue, but is not the solution. He fixed the issue, it is just incompatible with old hash. The solution is to fix the hash. BR, Alan On 8/11/22, Alan Carvalho de Assis wrote: > Hi Petro, > > I think

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

2022-08-11 Thread Alan Carvalho de Assis
ol from > "space" to zero should also make decryption working. I really do not know > what is the best solution and what is better "to be right" or "to be > backward compatible". > > Best regards, > Petro > > On Thu, Aug 11, 2022, 10:10 PM Alan Ca

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

2022-08-11 Thread Alan Carvalho de Assis
ACK Strange, the previous email went only to you! On 8/11/22, Alin Jerpelea wrote: > @Alan Carvalho de Assis please confirm that works > after revert > > On Thu, 11 Aug 2022, 20:22 Petro Karashchenko, > > wrote: > >> Hello Alan, >> >> Seems th

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

2022-08-11 Thread Alan Carvalho de Assis
ps/pull/1097 > > I think that all previously generated passwords need to be re-generated. > > Best regards, > Petro > > On Thu, Aug 11, 2022, 8:49 PM Alan Carvalho de Assis > wrote: > >> Alin, >> >> I want to redraw my vote, I found the first regression, s

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

2022-08-11 Thread Alan Carvalho de Assis
Alin, I want to redraw my vote, I found the first regression, so my vote is: -1 Seems like the console login is not working, I'm using user: admin and password: Administrator $ ./tools/configure.sh sim:nsh $ make -j $ ./nuttx login: admin password: Invalid username or password login: admin pa

Re: Potential UDP packets loss, how to debug?

2022-08-11 Thread Alan Carvalho de Assis
Hi Oleg, I suggest you to increase this to at least 1500 bytes. I don't remember all the configs, but I think inside boards/ you will find some examples. BR, Alan On 8/10/22, Oleg wrote: > Hi all again, > > Thanks all for feedbacks. I got back from COVID and can continue to debug > this issue.

Re: STM32F4 Ethernet Issues

2022-08-11 Thread Alan Carvalho de Assis
Hi Fotis, Are you in sync with mainline? If you can create a host application to induce the issue will be easier for us to test. BR, Alan On 8/9/22, Fotis Panagiotopoulos wrote: > Hello, > > still trying to make the network work reliably. > After fixing another issue of my application, I hit

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

2022-08-08 Thread Alan Carvalho de Assis
+1 Please find the results below: ESP32-DEVKITC: == Compilation Info: $ ./tools/configure.sh esp32-devkitc:nsh $ xtensa-esp32-elf-gcc -v gcc version 8.4.0 (crosstool-NG esp-2021r2-patch3) Binary size: $ xtensa-esp32-elf-size nuttx textdata bss dec hex filename

Re: PIC32: disabling JTAG

2022-08-08 Thread Alan Carvalho de Assis
Hi Robert, Strange, if it was the opposite "LEDs only works after you disable JTAG on DDPCON" would make more sense. Maybe the gpio config is activating some necessary clock, but I don't see nothing about it here http://ww1.microchip.com/downloads/en/DeviceDoc/61129D.pdf What is happening when yo

Last Call: IV NuttX International Workshop

2022-08-07 Thread Alan Carvalho de Assis
Hi NuttXers, This is the last week to submit your proposal to 4th NuttX International Workshop (until Aug 12). Please after your sunny day spend some time to fill the form: https://nuttx.events Be part of history, be part of NuttX Community! BR, Alan

Re: Article: Visual Programming with NuttX

2022-08-07 Thread Alan Carvalho de Assis
WOW! Very nice Lup! That could be old hot topic to present at NuttX Workshop if you still have more stamina to do so! :-) BR, Alan On Saturday, August 6, 2022, Lee, Lup Yuen wrote: > This article explains how we might drag-and-drop NuttX Sensors to create > IoT Sensor Apps... > > https://lupy

Re: Potential UDP packets loss, how to debug?

2022-08-04 Thread Alan Carvalho de Assis
Hi Oleg, Did you try to tune the configs? Try to increase the buffers size, etc. BR, Alan On 8/4/22, Oleg wrote: > Hi all, > > I'm working with a custom stm32f767 based board and px4 project fork with > nuttx-10.0.0+ and uploading data (~900KB) to the board using mavlink_ftp. > > If mavlink is

Re: Sensor DS18b20

2022-08-02 Thread Alan Carvalho de Assis
maybe you are not looking at the right place: https://github.com/apache/incubator-nuttx/tree/master/drivers/sensors BR, Alan On 8/2/22, disruptivesolution...@gmail.com wrote: > Its not there anymore? Or am I missing something? > > Ben > > -Oorspronkelijk bericht----- >

Re: Sensor DS18b20

2022-08-02 Thread Alan Carvalho de Assis
Hi Ben, It is supposed to be at drivers/sensors/ds18b20.c BR, Alan On 8/2/22, disruptivesolution...@gmail.com wrote: > Is there a driver available for the DS18b20/DS1820? And yes where can I find > dit? > > Thanks in advance > Ben > >

Re: Wikipedia: "Proposal deletion of NuttX"

2022-07-21 Thread Alan Carvalho de Assis
Hi Tomek, Thank you for your support on it. I don't know how we could avoid it, if someone decided that NuttX is not relevant they can go on and try to suggest to remove the article. Fortunately I was on my computer today and saw it, but imagine if I was in vacation? Maybe others here need to se

Re: Wikipedia: "Proposal deletion of NuttX"

2022-07-21 Thread Alan Carvalho de Assis
on his talk page > (https://en.wikipedia.org/wiki/User_talk:MrsSnoozyTurtle) what parts of the > > article does he consider to be promotional so we know what we need to > change. > > > > > > Best regards, > > Michal Lenc > > > > > -- Původní e

Re: LCD Framebuffer putarea and display redraw

2022-07-21 Thread Alan Carvalho de Assis
Hi Karel, On Thursday, July 21, 2022, Karel Kočí wrote: > Hi > > Excerpts from Alan Carvalho de Assis's message of July 20, 2022 5:21 pm: > > Hi Karel, > > > > On 7/20/22, Karel Kočí wrote: > >> Hi > >> > >> I discovered that commit 664d45dcbace03a879017aa99566592be31f4308 > broke LCD > >> > >>

Wikipedia: "Proposal deletion of NuttX"

2022-07-21 Thread Alan Carvalho de Assis
Hi team, I received this email and I don't know what we need to do to avoid it: ‪MrsSnoozyTurtle‬ left a message on *your talk page* in "*‪Proposed deletion of NuttX‬*". The article NuttX has been proposed for deletion because of the following concern: Promotional article While all constructive c

Re: LCD Framebuffer putarea and display redraw

2022-07-20 Thread Alan Carvalho de Assis
Hi Karel, On 7/20/22, Karel Kočí wrote: > Hi > > I discovered that commit 664d45dcbace03a879017aa99566592be31f4308 broke LCD > > framebuffer (at least for ST7789). The issue is with `putarea` call. > Originally > it was called only when full display redraw was requested but now it is > called > e

Re: Is there a way to have NSH loaded as the init task from an sd card?

2022-07-16 Thread Alan Carvalho de Assis
Hi Nimish, I don't think NuttX supports booting directly to an init or other ENTRYPOINT in SD card. I will be surprised and happy to discover it is possible. But you can boot from Flash and use the initscript to mount the SDCard and run an application from it. Maybe it will help you to achieve yo

Re: CRC32 what gives?

2022-07-15 Thread Alan Carvalho de Assis
> only some fields enter the crc (I have seen this happen several times). > you cant call the global crc() function on several buffers in sequence > if bits are inverted on crc output. > > Sebastien > > On 7/15/22 20:21, Nathan Hartman wrote: > > On Fri, Jul 15, 2022 at 1:

Re: CRC32 what gives?

2022-07-15 Thread Alan Carvalho de Assis
Hi Sebastien, I think we don't need these three functions for each CRC, just one like in the Linux kernel is enough: https://www.kernel.org/doc/htmldocs/kernel-api/API-crc-ccitt.html BR, Alan On 7/15/22, Sebastien Lorquet wrote: > Hi, > > Sorry to throw a rock in the pond but having a single f

Re: CRC32 what gives?

2022-07-15 Thread Alan Carvalho de Assis
On 7/15/22, Karel Kočí wrote: > The impact might be pretty significant from my search and that is also why I > > rather discuss instead of suggesting changes. > > The significant place where the current crc32 implementation is used is in > file systems (such as smartfs or nxffs). The change would

Re: CRC32 what gives?

2022-07-15 Thread Alan Carvalho de Assis
This site is very good to compare and test CRCs: http://www.sunshine2k.de/coding/javascript/crc/crc_js.html The result is CRC32_JAMCRC as Karel pointed. So, just like CRC-16, there are many CRC-32 implementations. Since crc32() function is already used in many places on NuttX I don't know the i

Re: Can musl libc replace the libc of nuttx system?

2022-07-14 Thread Alan Carvalho de Assis
On 7/14/22, Ismael Luceno wrote: > On 12/Jul/2022 10:38, Xiang Xiao wrote: >> musl is designed to work exclusively with Linux and then there is no OS >> abstraction layer. So it's hard to adapt musl to other OS. > > Not really, adapting to another kernel is as simple as either providing > the miss

Re: Can musl libc replace the libc of nuttx system?

2022-07-11 Thread Alan Carvalho de Assis
Hi Prelude, I don't think someone already tried it before. BTW, why do you want to do it? BR, Alan On Monday, July 11, 2022, prelude wrote: > > > I am currently working on a project that I want to transplant musl LIC to > nuttx to replace the built-in libc, have any friends done similar work

Re: QUESTIONS

2022-07-11 Thread Alan Carvalho de Assis
Hi Briann, The main idea of NuttX RTOS is to have a POSIX and in some way a Linux-like RTOS that runs on low/mid-end microcontrollers, like STM32, ESP32, etc. You also can run NuttX on high-end processors like Freescale/NXP iMX6 and others. Then in theory you can port Java Virtual Machine and eve

Re: nucleo-stm32h7zi vs nucleo-stm32h7zi2 boards

2022-06-29 Thread Alan Carvalho de Assis
the "System timer > tick period" I can't see relations between this configuration and the > network... Network is ok with values of this timer set to 1 and > 1000, but when I modify it to 100, the network doesn't work anymore... > > BR > > Roberto > &

Re: nucleo-stm32h7zi vs nucleo-stm32h7zi2 boards

2022-06-29 Thread Alan Carvalho de Assis
Hi Roberto, I found both boards listed on Digikey: NUCLEO-H743ZI: https://www.digikey.com/en/products/detail/stmicroelectronics/NUCLEO-H743ZI/7809236 NUCLEO-H743ZI2: https://www.digikey.com/en/products/detail/stmicroelectronics/NUCLEO-H743ZI2/10130892 The ZI board was replaced with ZI2 by ST ac

Re: [DISCUSS] Graduate NuttX as TLP

2022-06-28 Thread Alan Carvalho de Assis
Yes, a lot of files with hyphen: $ find . -name "*-*" ./arch/z80/src/ez80/clang-compat.asm ./arch/xtensa/include/esp32s2/core-isa.h ./arch/xtensa/include/esp32s2/tie-asm.h ./arch/xtensa/include/esp32/core-isa.h ./arch/xtensa/include/esp32/tie-asm.h ./arch/xtensa/include/esp32s3/core-isa.h ./arch/x

Re: [DISCUSS] Graduate NuttX as TLP

2022-06-28 Thread Alan Carvalho de Assis
Agree! nuttx_apps is better :-) BR, Alan On Tuesday, June 28, 2022, Tomek CEDRO wrote: > On Tue, Jun 28, 2022 at 9:50 AM Sebastien Lorquet wrote: > > if I can express my taste on this extra minor choice I think nuttx-apps > > looks better than nuttx_apps > > I also prefer '-' character but aft

Re: [DISCUSS] Graduate NuttX as TLP

2022-06-27 Thread Alan Carvalho de Assis
Tue, Jun 28, 2022 at 12:18 AM Nathan Hartman > wrote: >> >> On Mon, Jun 27, 2022 at 5:56 PM Alan Carvalho de Assis >> wrote: >> > >> > On 6/27/22, Abdelatif Guettouche >> > wrote: >> > > For the checklist, there are two point

Re: [DISCUSS] Graduate NuttX as TLP

2022-06-27 Thread Alan Carvalho de Assis
On 6/27/22, Abdelatif Guettouche wrote: > For the checklist, there are two points where we gonna need external > help, probably from our mentors: > > 1. Demonstrate ability to create Apache releases > 2. Demonstrate community readiness > > For the first one, Nathan has summarized above the work th

Re: [DISCUSS] Graduate NuttX as TLP

2022-06-27 Thread Alan Carvalho de Assis
Hahaha, I liked that joke! Alin, please use this same joke in the NuttX Online Workshop thread! +1 to graduation! I don't know you guys but I hate this incubator-nuttx and incubator-nuttx-apps repositories names. I hope we get github.com/apache/nuttx and github.com/apache/apps soon (hope they ac

Re: [ANNOUNCE] Apache NuttX 10.3.0-incubating released

2022-06-24 Thread Alan Carvalho de Assis
You just did it! Go ahead! Hehehe BR, Alan On 6/24/22, Nathan Hartman wrote: > On Fri, Jun 24, 2022 at 7:16 AM Abdelatif Guettouche < > abdelatif.guettou...@gmail.com> wrote: > >> > What are next steps? >> >> Release wise, nothing -- we just need to keep making releases. >> >> For graduation t

Re: [ANNOUNCE] Apache NuttX 10.3.0-incubating released

2022-06-24 Thread Alan Carvalho de Assis
Very nice! Kudo guys! What are next steps? BR, Alan On Friday, June 24, 2022, Abdelatif Guettouche < abdelatif.guettou...@gmail.com> wrote: > First non-WIP release! One step closer to graduation! > > On Fri, Jun 24, 2022 at 7:47 AM Tomek CEDRO wrote: > > > > CONGRATZ! :-) > > > > -- > > CeDe

Re: NuttX-aware debugging.

2022-06-23 Thread Alan Carvalho de Assis
ther Ubuntu machines). > This time the build succeeded. > > However I haven't managed to debug the application from within this Docker > container. > > I took the successfully built plug-in, and used it on my Fedora machine. > Again, it crashes in the same way. > > >

Re: NuttX-aware debugging.

2022-06-23 Thread Alan Carvalho de Assis
sfully, what is the > version of JLinkGDBServer ? > Mine is V7.54c. > > > > > > > > > On Thu, Jun 23, 2022 at 1:50 AM Alan Carvalho de Assis > wrote: > >> Ahhh, so it is your Fedora 36 issue, hahaha >> >> Here on Ubuntu "make -C tools -f Makef

Re: NuttX-aware debugging.

2022-06-22 Thread Alan Carvalho de Assis
Ahhh, so it is your Fedora 36 issue, hahaha Here on Ubuntu "make -C tools -f Makefile.host all" works fine. It created the jlink-nuttx.so file. BR, Alan On 6/22/22, Fotis Panagiotopoulos wrote: > Yes I enabled CONFIG_DEBUG_TCBINFO. > (When disabled, debugging works normally but without being

Re: NuttX-aware debugging.

2022-06-22 Thread Alan Carvalho de Assis
Hi Fotis, There are two (at least) options to debug NuttX with Thread awareness: 1) Using OpenOCD + GDB: some years ago Mr. Masayuki-san submitted support to OpenOCD get thread awareness; 2) Using Segger JLink + GDB: this is the option you are trying. I think we don't have a documentation to it

Re: [NuttX] mailing list messages subject prefix

2022-06-20 Thread Alan Carvalho de Assis
They just replied: "Note that this is true of most ASF mailing lists. Also adding a subject prefix can cause issues with message signatures, e.g. DCIM." BR, Alan On 6/20/22, Tomek CEDRO wrote: > On Mon, Jun 20, 2022 at 4:20 PM Alan Carvalho de Assis wrote: >> Ok, I ope

Re: [NuttX] mailing list messages subject prefix

2022-06-20 Thread Alan Carvalho de Assis
Ok, I opened a ticket to let Apache Infra to fix it: https://issues.apache.org/jira/browse/INFRA-23402 BR, Alan On 6/20/22, Tomek CEDRO wrote: > hello world :-) > > would that be possible to add "[NuttX]" or "[Nuttx-dev]" prefix to mailing > list messages? > > that would help in quick messages

Re: Cannot enter stm32l4's low-power modes

2022-06-16 Thread Alan Carvalho de Assis
ab.com > > Twitter <https://twitter.com/geotab> | Facebook > <https://www.facebook.com/Geotab> | YouTube > <https://www.youtube.com/user/MyGeotab> | LinkedIn > <https://www.linkedin.com/company/geotab/> > > > On Wed, Jun 15, 2022 at 7:18 PM Alan Carval

Re: "make menuconfig" break build-ability on ESP32-Ethernet-kit

2022-06-16 Thread Alan Carvalho de Assis
Alternately you can create a new board, it is not difficult. You can start copying some board from boards/xtensa/esp32/ i.e.: $ cd boards/xtensa/esp32/ $ cp -a esp32-devkitc esp32-new-board-name Then inside your new board src/ rename esp32-devkitc.h to your esp32-new-board-name.h and update all

Re: Cannot enter stm32l4's low-power modes

2022-06-15 Thread Alan Carvalho de Assis
Hi Jesse, About two years ago I used exactly the nucleo-l476rg board to test low power mode on NuttX, but I didn't use it with Tickless. I can try to find my config, but I put the test on my blog at that time: https://acassis.wordpress.com/2020/05/03/testing-nuttx-low-power-modes/ Did you test

Re: Cannot enter stm32l4's low-power modes

2022-06-15 Thread Alan Carvalho de Assis
Hi Jesse, Did you implement arm_pminitialize()? What did you put on it? Case you don't, please look other boards as reference. BR, Alan On 6/14/22, Jesse Jensen wrote: > Hello, > > I am using the STM32L4 (nucleo-l476rg board) and am attempting to enter the > mcu's low-power modes (i.e. Stop1

Re: [VOTE] Apache NuttX 10.3.0 (incubating) RC4 release

2022-06-10 Thread Alan Carvalho de Assis
Hi Alin, Thank you very much! +1 Follow the size increase verification: - $ ./tools/configure.sh esp32-devkitc:nsh $ xtensa-esp32-elf-size nuttx textdata bss dec hex filename 74615 2284888

Re: Suggestion to turn a nwarn into an ninfo in ipv4_input

2022-06-09 Thread Alan Carvalho de Assis
I completely agree! We need to reduce the number of configurations, not increase it. Just converting it to ninfo() is enough. Other OS has a good documentation to educate developers to avoid creating unnecessary Kconfig entries: https://doc.riot-os.org/kconfig-in-riot.html https://docs.zephyrpr

Re: POSIX: ECANCELED returned by sem_wait

2022-05-26 Thread Alan Carvalho de Assis
Hi Petro, According with OpenGroup there is not ECANCELED as possible return: https://pubs.opengroup.org/onlinepubs/7908799/xsh/sem_wait.html Maybe it should be replaced with EINTR case it was cancelled because was interrupted by a signal. BR, Alan On 5/26/22, Petro Karashchenko wrote: > Hi,

Re: [VOTE] Apache NuttX 10.3.0 (incubating) RC2 release

2022-05-10 Thread Alan Carvalho de Assis
+1 Compilation and size report ESP32-Devkit: compiler: xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0 $ ./tools/configure.sh esp32-devkitc:nsh $ xtensa-esp32-elf-size nuttx textdata bss dec hex filename 74615 2284888 79731 13773 nuttx

Re: Still problems with network on the ARM - STM32F7 - Nucleo-144 board

2022-05-07 Thread Alan Carvalho de Assis
Hi Roberto, I did a test with stm32f746g-disco using the default netnsh board profile and it got IP: $ ./tools/configure.sh stm32f746g-disco:netnsh $ make Connect a mini-usb cable to CN14 USB-STLINK $ sudo openocd -f interface/stlink-v2.cfg -f target/stm32f7x.cfg -c init -c "reset halt" -c "fl

Re: NuttX export cannot set some variables (i.e. LDSTARTGROUP LDENDGROUP HEAD_OBJ)

2022-04-17 Thread Alan Carvalho de Assis
Hi Pavel, Did you have some idea about last time that "make export" was working? This feature is used by PX4 project too. I think it needs to be fixed before current release. I'm on vacation without a laptop to test it. About CMake support is was done by Matias some years ago, but it suffered re

Re: [LEGAL] Update of include/nuttx/wireless/ieee80211/ieee80211.h

2022-04-13 Thread Alan Carvalho de Assis
Simple header files, for example only symbols definitions are not considered derivative work, more info: https://linux.slashdot.org/story/11/03/20/1529238/rms-on-header-files-and-derivative-works On 4/13/22, Gregory Nutt wrote: > >> We are having a PRhttps://github.com/apache/incubator-nuttx/pul

Re: Article: PineDio Stack BL604 runs NuttX

2022-04-11 Thread Alan Carvalho de Assis
Amazing, Lup! For sure a great reference for people using this Pine device! BR, Alan On 4/10/22, Lee, Lup Yuen wrote: > Pine64 will soon be selling the PineDio Stack BL604 RISC-V board with > ST7789 Display, Touch Panel, LoRa SX1262 and a bunch of I2C sensors > onboard. > > This article descri

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

2022-04-06 Thread Alan Carvalho de Assis
, Alan Carvalho de Assis wrote: > Hi Alin, > > +1 > > Please find attached the size information for ESP32, ESP32C3 and STM32F4: > > $ xtensa-esp32-elf-gcc -v > gcc version 8.2.0 (crosstool-NG esp-2020r2) > > $ ./tools/configure.sh esp32-devkitc:nsh > > $ x

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

2022-04-06 Thread Alan Carvalho de Assis
Hi Alin, +1 Please find attached the size information for ESP32, ESP32C3 and STM32F4: $ xtensa-esp32-elf-gcc -v gcc version 8.2.0 (crosstool-NG esp-2020r2) $ ./tools/configure.sh esp32-devkitc:nsh $ xtensa-esp32-elf-size nuttx textdata bss dec hex filename 74671 228

Re: Websockets with NuttX

2022-04-05 Thread Alan Carvalho de Assis
Hi Petro, Please take a look on this project: https://github.com/m8rge/cwebsocket The author stopped working on it, so this is a died project that could be included on app/ under MIT license. Other option is to use the esp_websocket_client from IDF, but it should be hard to port (internal depe

Re: PR 5782 and code reviee process

2022-04-01 Thread Alan Carvalho de Assis
erged, > but received another 20 "maybe it looks better this way" from the other > reviewer! > > - Jukka > > Alan Carvalho de Assis kirjoitti perjantai 1. huhtikuuta 2022: >> Hi Jukka, >> >> I think everybody want RISC-V with Kernel mode support on Nu

Re: PR 5782 and code reviee process

2022-04-01 Thread Alan Carvalho de Assis
Hi Jukka, I think everybody want RISC-V with Kernel mode support on NuttX. Sometimes we get really angry because some comments seem too picky, but we need to believe in the "The Wisdom of Crowds" (i.e.: https://www.youtube.com/watch?v=Qfh-k9P8ZPI ) So, instead getting mad about it, please try to

Re: register_driver with 0000 mode

2022-04-01 Thread Alan Carvalho de Assis
octl only drivers, to include reading flag) 3) Remove the flag checking. Probably we should do 1) because NuttX follows Unix/Linux approach, although I agree that Unix/Linux are completely non-sense on this subject, oflag should be a flag like it is on NuttX :-) BR, Alan On 4/1/22, Alan Carvalho de

Re: register_driver with 0000 mode

2022-04-01 Thread Alan Carvalho de Assis
1/22, Xiang Xiao wrote: >> > It's better to check ioctl callback too since ioctl means the driver >> > has >> > the compatibility of read(i)and write(o). >> > >> > On Fri, Apr 1, 2022 at 9:15 PM Petro Karashchenko < >> > petro.karashche...@gmai

Re: Article: ST7789 Display with LVGL Graphics

2022-04-01 Thread Alan Carvalho de Assis
Hi Lup, Nice work! Kudos!!! Did you manually change the Red to Blue color? If you are running the default LVGL 7.3 demo the color should be Red see: ESP32 with NuttX: https://www.youtube.com/watch?v=b2m4LNd29ao ESP32 with Arduino: https://www.youtube.com/watch?v=Zq_MZXYbdgI Maybe your R and B

Re: register_driver with 0000 mode

2022-04-01 Thread Alan Carvalho de Assis
move inode_checkflags? >> >> On Fri, Apr 1, 2022, 4:13 PM Alan Carvalho de Assis >> wrote: >> >> > Hi Petro, >> > >> > I saw your PR #1117 but I think opening a device file with flag 0 is >> > not correct, please see the open man-pa

Re: register_driver with 0000 mode

2022-04-01 Thread Alan Carvalho de Assis
be used during > opening of a file. Or we need to remove "inode_checkflags()". > > Best regards, > Petro > > пт, 28 січ. 2022 р. о 15:11 Petro Karashchenko > > пише: > >> I see. Thank you for the feedback. I will rework changes to get back >> read per

Re: NuttX github code review practices

2022-03-28 Thread Alan Carvalho de Assis
On 3/28/22, Sebastien Lorquet wrote: > In this example it's Xiaomi and Sony. > > NuttX has a code review problem and it has to be identified and addressed. > > I have the same feeling here, last time I tried to send a pull request, > it took several day to fix style issues for a ONE LINE code typo

Re: usleep can't wake up incidentally in tickless mode

2022-03-27 Thread Alan Carvalho de Assis
Zou, just a think that passed on my mind: try to enable the CONFIG_PRIORITY_INHERITANCE and let us know if the issue will happen again in this case. BR, Alan On 3/27/22, Alan Carvalho de Assis wrote: > Hi Zou, > > Is there some way to identify that thread A didn't wake up and

Re: usleep can't wake up incidentally in tickless mode

2022-03-27 Thread Alan Carvalho de Assis
Hi Zou, Is there some way to identify that thread A didn't wake up and create some unity test to report and to analyze it? Maybe there is some very specific race condition that we never saw before. BR, Alan On 3/27/22, fft wrote: > Hi team, > > > I've been puzzled by a strange problem for a l

Re: STM32U585: Can't enable peripheral clock for IO port I (GPIOIEN in RCC_AHB2ENR1)

2022-03-25 Thread Alan Carvalho de Assis
On 3/25/22, Michael Jung wrote: > Hi David, > > I think I figured it out: I am running in the non-secure world of > TrustZone. Turns out ST missed configuring the IO Port I as non-secure in > their STM32U5 port of TrustedFirmware-M (all other IO ports are configured > as non-secure). I am compil

Re: NuttX Presenrtation

2022-03-23 Thread Alan Carvalho de Assis
Hi Roberto, For each NuttX Workshop we use a different template, if it is what you are looking for. Also you can find some presentations about NuttX here: https://cwiki.apache.org/confluence/display/NUTTX/NuttX+Presentations BR, Alan On 3/23/22, Roberto Bucher wrote: > Hi > > I'm preparing a

NuttX and GSoC 2022 looking for mentors

2022-03-15 Thread Alan Carvalho de Assis
Hi Everyone, Just like last year, this year we will participate of the GSoC again. The good news is this year it is open not only to students but also for everyone that wants to contribute with open-source. I already submitted this message internally to our PPMCs, but nobody returned yet. We nee

Re: GSoC 2022 ideas - pysimCoder, silicon-heaven, ORTE Data-Distribution Service (DDS), motion control, CAN

2022-03-15 Thread Alan Carvalho de Assis
Hi Pavel, I think all these projects are interesting. Bringing DDS RTPS support to NuttX will make it easier to people use it with robot and could open doors to new applications. CAN and CAN FD port to your university open-source IP will be very useful too. BR, Alan On 3/15/22, Pavel Pisa wr

Re: NuttX timers

2022-03-09 Thread Alan Carvalho de Assis
Hi Roberto, Try to sleep less than 1000us, because the sleep(X) means it will sleep at least X us, not less, not equal. BR, Alan On 3/9/22, Roberto Bucher wrote: > Hi > > I've tried to modify the base timer from 10ms to 1ms, but in the > execution of the generated RT Thread i get a overrun (of

Re: nuttx lora sx127x device use for help

2022-03-07 Thread Alan Carvalho de Assis
t(&dev->rx_sem); > } > } > else > { > /* RX Data invalid */ > > > wlinfo("Invalid LORA RX data!\n"); > } > On 3/7/2022 18:02,Alan Carvalho de Assi

Re: SPI Example

2022-03-04 Thread Alan Carvalho de Assis
00a 080236b8 2004f774 > 2004f770 2 > .... > > BR > > Roberto > > On 3/4/22 12:29, Alan Carvalho de Assis wrote: >> Hi Roberto, >> >> We have the SPI Tool that does exactly what you want: >> >> Application Configuration ---> >> System

  1   2   3   4   5   6   7   >