RFC: fix of atomic functions on AVR

2025-06-05 Thread kr . git
Hello, I would like to submit a patch fixing atomic functions defined in arch_atomic.c when compiled for AVR When trying to fix a race condition in the serial driver (PR #16466) using __atomic_load_N, I noticed that the generated code was incorrect for AVR architecture. The disassembly looke

Re: book: RISC-V System-On-Chip Design.

2025-06-05 Thread Tomek CEDRO
On Thu, Jun 5, 2025 at 9:55 PM Tomek CEDRO wrote: > Very interesting book upcoming soon on RISC-V :-) > > https://www.youtube.com/watch?v=Qyq5nHUDt4g And at ~42:30 Pavel Pisa mentions porting NuttX to FPGA RISC-V by one of his students :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: [Q&A] LTO Marked as "experimental"

2025-06-05 Thread Xiang Xiao
one big issue with LTO we hit is that you can put .o or .a to the specific location in the link script. On Tue, Jun 3, 2025 at 4:59 PM Javier Alonso wrote: > Bump here :) > > We're planning on introducing this feature and I'd like to know the > caveats, if any. > > BR, > > Javier Alonso Silva (h

Re: uIP Webserver - CGI help needed

2025-06-05 Thread Tim Hardisty
Wow - thank you: very helpful indeed :-) On 05/06/2025 11:08, Maciej Wójcik wrote: This is how I implemented REST API with uIP in NuttX some time ago. http.c int format_header(char* buff, int status, int body_len) { if (body_len > 0) {return snprintf(buff, HTTPD_MAX_HEADERLEN, "HTTP/1.0 %

Re: uIP Webserver - CGI help needed

2025-06-05 Thread Maciej Wójcik
This is how I implemented REST API with uIP in NuttX some time ago. http.c int format_header(char* buff, int status, int body_len) { if (body_len > 0) {return snprintf(buff, HTTPD_MAX_HEADERLEN, "HTTP/1.0 %d %s\r\n" "Connection: %s\r\n" "Content-Length: %d\r\n" "%s" "\r\n

Re: BINFS - builtin apps are 0 size

2025-06-05 Thread Tim Hardisty
Thanks Gregory. I raised this as an issue on github and as a result learned from Alan C. Assis that I was misdirected by the zero size: static int binfs_fstat(FAR const struct file *filep, FAR struct stat *buf) {   DEBUGASSERT(buf != NULL);   /* It's a execute-only file system */   buf->st_mod

Re: uIP Webserver - CGI help needed

2025-06-05 Thread Tim Hardisty
Make that "PUT" not "GET", of course. On 05/06/2025 15:42, Tim Hardisty wrote: And...the magic answer to make this form actually work with the uIP webserver is that:  1.  the form's "method" has to be GET not POST otherwise the URL CGI    "call" is not made visible/sent correctly/processed. 2.

Re: uIP Webserver - CGI help needed

2025-06-05 Thread Tim Hardisty
And...the magic answer to make this form actually work with the uIP webserver is that: 1.  the form's "method" has to be GET not POST otherwise the URL CGI "call" is not made visible/sent correctly/processed. 2. the webserver has to be configured with URL/CGI mapping enabled (CONFIG_NETUT

Changing USART baud rate in sensor driver

2025-06-05 Thread Elias Hawa
Hello everyone, I'm currently working on a sensor driver for the Quectel L86-M33 GNSS module. It communicates over UART and is very feature rich, allowing users to send commands over UART to modify things such as position fix interval and device baud rate (default at 9600). I'm able to correctly

book: RISC-V System-On-Chip Design.

2025-06-05 Thread Tomek CEDRO
Very interesting book upcoming soon on RISC-V :-) https://www.youtube.com/watch?v=Qyq5nHUDt4g Recorded session from RISC-V's Academic and Training SIG meeting on Thursday, June 5 at 8 AM PT. We heard from David Harris, Sarah Harris, James Stine and Rose Thompson about their upcoming textbook. >F

Re: Changing USART baud rate in sensor driver

2025-06-05 Thread Michał Łyszczek
On 2025-06-05 15:36:09, Elias Hawa wrote: > Hello everyone, > > I'm currently working on a sensor driver for the Quectel L86-M33 GNSS > module. It communicates over UART and is very feature rich, allowing users > to send commands over UART to modify things such as position fix interval > and devic

Re: Changing USART baud rate in sensor driver

2025-06-05 Thread Nathan Hartman
On Thu, Jun 5, 2025 at 3:37 PM Elias Hawa wrote: > Hello everyone, > > I'm currently working on a sensor driver for the Quectel L86-M33 GNSS > module. It communicates over UART and is very feature rich, allowing users > to send commands over UART to modify things such as position fix interval > a

STM32H7 DMA allocation and stream sharing

2025-06-05 Thread Jacob Dahl
Hi, this is my first time posting in the mailing list. I'm an embedded software engineer and I primarily work on the PX4-Autopilot project. I recently implemented Bidirectional DShot in PX4 which uses Timer Burst with DMA to simultaneously update channels 1 - 4 to send data to the ESCs (electronic