Re: [ANNOUNCE] Apache NuttX 10.3.0-incubating released

2022-06-23 Thread Tomek CEDRO
CONGRATZ! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

[ANNOUNCE] Apache NuttX 10.3.0-incubating released

2022-06-23 Thread Alin Jerpelea
The Apache NuttX (incubating) project team is proud to announce Apache NuttX 10.3.0-incubating has been released. The release artifacts and Release Notes can be found at:https://nuttx.apache.org/download/https://nuttx.apache.org/releases/10.3.0/ Thanks, Alin Jerpelea on behalf of Apache NuttX PPM

Re: NuttX-aware debugging.

2022-06-23 Thread Xiang Xiao
We document the JLinker plugin usage, but it's the Chinese version only. Pengxiang, please prepare a document. In the meantime, Fotis, could you attach gdb to JLinkGDBServer and print the backtrace when it crashes, so we can identify the reason quickly. On Thu, Jun 23, 2022 at 10:36 PM Alan Carva

Re: NuttX-aware debugging.

2022-06-23 Thread Alan Carvalho de Assis
Please describe all the steps you are doing and such way everybody can reproduce yet (same way I did in previous email). I don't think a library compile to Ubuntu will work on Fedora. Xiang, do you have a documentation about the JLink integration? BTW, any news about the guy/gal Xiaomi was contra

Re: NuttX-aware debugging.

2022-06-23 Thread Fotis Panagiotopoulos
I tried your instructions. The build fails on a clean repository too. I then tried a newer version of Ubuntu (as a Docker container, I do not have access to any other Ubuntu machines). This time the build succeeded. However I haven't managed to debug the application from within this Docker contai

Re: NuttX-aware debugging.

2022-06-23 Thread Alan Carvalho de Assis
Hi Fotis, I'm using Ubuntu 20.04 and I can confirm it is working fine, I don't need to add -fPIC. Please try a clear repository, I will do it here step-by-step on /tmp to removed after next reboot: $ cd /tmp/ $ git clone https://github.com/apache/incubator-nuttx nuttx $ git clone https://github.

Re: NuttX-aware debugging.

2022-06-23 Thread Fotis Panagiotopoulos
> Ahhh, so it is your Fedora 36 issue, hahaha No, it is not. I just tried on Ubuntu 18, and I got the exact same result. Build fails with the same error. I added the -fPIC flag, and the build succeeded. Then I tried to debug the firmware with JLink and GDB crashes during init with a SEGFAULT. J