[PR] Fix typo in scheduling docs [nuttx]

2025-06-02 Thread via GitHub
mortenfyhn opened a new pull request, #16468: URL: https://github.com/apache/nuttx/pull/16468 ## Summary Remove repeated word in > Sporadic scheduling scheduling is more complex in the _[Task Scheduling Interfaces](https://nuttx.apache.org/docs/latest/reference/user/02_t

Re: [I] [BUG] RP2040 Unstability, garbled NSH [nuttx]

2025-06-02 Thread via GitHub
raiden00pl commented on issue #16305: URL: https://github.com/apache/nuttx/issues/16305#issuecomment-2929800971 > An easy way to test this problem is to enable CPU heavy operations, such as KASAN, granular allocator and enable ALL debug logging. This stresses the serial a lot. This has b

Re: [I] [BUG] nxsem_wait_irq assertion failure [nuttx]

2025-06-02 Thread via GitHub
pussuw commented on issue #16462: URL: https://github.com/apache/nuttx/issues/16462#issuecomment-2930874955 Yes, almost certainly. The wrong user mappings are active during the watchdog interrupt and atomic_read reads the sem counter from the wrong physical page, getting a garbage value.

Re: [PR] drivers/serial: fix race conditions [nuttx]

2025-06-02 Thread via GitHub
acassis commented on code in PR #16466: URL: https://github.com/apache/nuttx/pull/16466#discussion_r2121299247 ## drivers/serial/serial.c: ## @@ -1875,7 +1933,18 @@ static int uart_poll(FAR struct file *filep, ndx = 0; } - if (ndx != dev->xmit.tail) +

Re: [PR] Fix typo in scheduling docs [nuttx]

2025-06-02 Thread via GitHub
acassis commented on PR #16468: URL: https://github.com/apache/nuttx/pull/16468#issuecomment-2930858594 Thank you @mortenfyhn -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment

Re: [I] [BUG] RP2040 Unstability, garbled NSH [nuttx]

2025-06-02 Thread via GitHub
keever50 commented on issue #16305: URL: https://github.com/apache/nuttx/issues/16305#issuecomment-2929808564 > > An easy way to test this problem is to enable CPU heavy operations, such as KASAN, granular allocator and enable ALL debug logging. This stresses the serial a lot. > > This h

Re: [I] [BUG] RP2040 Unstability, garbled NSH [nuttx]

2025-06-02 Thread via GitHub
keever50 commented on issue #16305: URL: https://github.com/apache/nuttx/issues/16305#issuecomment-2929743718 > ~I've noticed that `nsh_update_prompt()` get's called every time I hit enter, which seems incorrect to me since it's only called during initialization and `nsh_session()`. I don't

Re: [I] [BUG] nxsem_wait_irq assertion failure [nuttx]

2025-06-02 Thread via GitHub
acassis commented on issue #16462: URL: https://github.com/apache/nuttx/issues/16462#issuecomment-2930773395 Thank you for explanation @pussuw ! Do you think this new exception that @atr294 found while running monkey in foreground also have the same root cause? -- This is an automated mes

(nuttx) branch master updated: Documentation: Fix a typo in scheduler docs

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 143242776f Documentation: Fix a typo in schedu

Re: [PR] arch/arm/src/samv7/sam_serial_spi.c: set correct SPI mode during init [nuttx]

2025-06-02 Thread via GitHub
xiaoxiang781216 merged PR #16465: URL: https://github.com/apache/nuttx/pull/16465 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

Re: [PR] fs/vfs: Separate file descriptors from file descriptions [nuttx]

2025-06-02 Thread via GitHub
xiaoxiang781216 commented on PR #16361: URL: https://github.com/apache/nuttx/pull/16361#issuecomment-2931222990 > Is this ready for merge? I have seen crashes probably caused by file descriptor race conditions. @Donny9 is testing and refining the patch, the verified patchset will be

(nuttx-apps) 02/02: examples: add mdnsd example application to accompany netutils/mdns library

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git commit f0eb00ffd99d6a520348c2ae552fff77e851957d Author: Tim Hardisty <56726697+tim...@users.noreply.github.com> AuthorDat

(nuttx) branch master updated: mcx-nxxx: Add LPI2C driver for mcx-nxxx architecture

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 436c814c2e mcx-nxxx: Add LPI2C driver for mcx-

Re: [PR] audio/comp: fix build warning caused by invalid return value [nuttx]

2025-06-02 Thread via GitHub
xiaoxiang781216 merged PR #16467: URL: https://github.com/apache/nuttx/pull/16467 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

(nuttx) branch master updated: arch/arm/src/samv7/sam_serial_spi.c: set correct SPI mode during init

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new b0342c87ee arch/arm/src/samv7/sam_serial_spi.c

Re: [PR] drivers/serial: fix race conditions [nuttx]

2025-06-02 Thread via GitHub
xiaoxiang781216 commented on code in PR #16466: URL: https://github.com/apache/nuttx/pull/16466#discussion_r2121473225 ## drivers/serial/serial.c: ## @@ -248,9 +249,26 @@ static int uart_putxmitchar(FAR uart_dev_t *dev, int ch, bool oktoblock) nexthead = 0;

Re: [PR] mcx-nxxx: Add LPI2C driver for mcx-nxxx architecture [nuttx]

2025-06-02 Thread via GitHub
xiaoxiang781216 merged PR #16469: URL: https://github.com/apache/nuttx/pull/16469 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

Re: [PR] netutils: add mDNS library support [nuttx-apps]

2025-06-02 Thread via GitHub
xiaoxiang781216 merged PR #3081: URL: https://github.com/apache/nuttx-apps/pull/3081 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...

(nuttx-apps) 01/02: apps/netutils: add mdns library support

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git commit 30b1c024a1d1c59f4b7108643bead85616b4334a Author: Tim Hardisty <56726697+tim...@users.noreply.github.com> AuthorDat

(nuttx) branch master updated: audio/comp: fix build warning caused by invalid return value

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new cc44b3b521 audio/comp: fix build warning cause

(nuttx-apps) branch releases/12.10 created (now 8ff533beb)

2025-06-02 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch releases/12.10 in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git at 8ff533beb examples/posix_stdio: Fix Kconfig to define default stack size No new revisions were added b

(nuttx) branch releases/12.10 created (now ef04b4ccb6)

2025-06-02 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch releases/12.10 in repository https://gitbox.apache.org/repos/asf/nuttx.git at ef04b4ccb6 boards/avr/atmega: Added Elegoo Mega2560r3 board support No new revisions were added by this upda

[PR] arch/arm/src/samv7/sam_serial_spi.c: set correct SPI mode during init [nuttx]

2025-06-02 Thread via GitHub
michallenc opened a new pull request, #16465: URL: https://github.com/apache/nuttx/pull/16465 ## Summary Bitfield `CPHA` has to be set to run SPI in mode 0. This is a default mode, therefore it should be set during the peripheral initialization. ## Impact Samv7 only. SPI on

Re: [I] [BUG] nxsem_wait_irq assertion failure [nuttx]

2025-06-02 Thread via GitHub
pussuw commented on issue #16462: URL: https://github.com/apache/nuttx/issues/16462#issuecomment-2929187000 Duplicate of https://github.com/apache/nuttx/issues/8917 The underlying issue is that when nxsem_wait_irq is called, the wrong mappings might be active. In order for it to work

Re: [I] [BUG] STM32H5 __start failure when debugging and flash banks are swapped [nuttx]

2025-06-02 Thread via GitHub
raiden00pl commented on issue #16416: URL: https://github.com/apache/nuttx/issues/16416#issuecomment-2929245249 maybe this issue is related to additional security present in cortex-m33 (TZ features)? I'm not familiar with stm32h5, but from my experience with other cortex-m33 - security sett

[PR] drivers/serial: fix race conditions [nuttx]

2025-06-02 Thread via GitHub
jerpelea opened a new pull request, #16466: URL: https://github.com/apache/nuttx/pull/16466 ## Summary While going through the code in drivers/serial/serial.c, I noticed this comment: The head and tail pointers are 16-bit values. The only time that the following could be

[PR] syslog/rpmsg: disable force put char to lower putc [nuttx]

2025-06-02 Thread via GitHub
anchao opened a new pull request, #16474: URL: https://github.com/apache/nuttx/pull/16474 ## Summary syslog/rpmsg: disable force put char to lower putc ``` if rpmsg triggers force flushing when the master core provides lower putc, characters will be duplicated caused b

Re: [PR] adding "edit on github" option in docs [nuttx]

2025-06-02 Thread via GitHub
linguini1 commented on PR #16440: URL: https://github.com/apache/nuttx/pull/16440#issuecomment-2932944689 This change has broken the `make autobuild` option, since it re-defines `html_context` without adding the `nuttx_versions` key. -- This is an automated message from the Apache Git Ser

(nuttx-apps) branch master updated (8ff533beb -> f0eb00ffd)

2025-06-02 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git from 8ff533beb examples/posix_stdio: Fix Kconfig to define default stack size new 30b1c024a apps/netutils: add

[PR] docs/conf.py: Fix missing `nuttx_versions` [nuttx]

2025-06-02 Thread via GitHub
linguini1 opened a new pull request, #16470: URL: https://github.com/apache/nuttx/pull/16470 ## Summary Add `nuttx_versions` back into the `html_context` variable after it was re-defined in #16440 to include more options. This fixes the failing Pphinx autobuild. I also moved the opti

(nuttx-website) branch asf-site updated: Publishing web: be40bd59e126a7ffe6ebacfb1b7682fcd8e89704 docs: b0342c87eeca5d00204f11d2141c0bf4cb93ead9

2025-06-02 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 8b2714f22 Publishing web: be40bd5

[PR] Better AVR docs [nuttx]

2025-06-02 Thread via GitHub
linguini1 opened a new pull request, #16471: URL: https://github.com/apache/nuttx/pull/16471 ## Summary This PR re-organizes the structure of the AVR documentation to separate chips more clearly, allowing special information about their currently supported features, quirks, tool-chai

Re: [PR] Fix typo in scheduling docs [nuttx]

2025-06-02 Thread via GitHub
xiaoxiang781216 merged PR #16468: URL: https://github.com/apache/nuttx/pull/16468 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nu

[PR] docs/contributing: Add a commit message template [nuttx]

2025-06-02 Thread via GitHub
linguini1 opened a new pull request, #16472: URL: https://github.com/apache/nuttx/pull/16472 ## Summary Introduces a commit message template with instructions in the contributing documentation about how to set it up. This way users are reminded of what makes a "good" NuttX commit as

[PR] drivers/mtd: fix compile warning [nuttx]

2025-06-02 Thread via GitHub
anchao opened a new pull request, #16473: URL: https://github.com/apache/nuttx/pull/16473 ## Summary drivers/mtd: fix compile warning ``` mtd/mtd_rwbuffer.c:42: mtd/mtd_rwbuffer.c: In function 'mtd_erase': mtd/mtd_rwbuffer.c:189:9: warning: format '%zx' expects argu

[PR] audio/comp: fix build warning caused by invalid return value [nuttx]

2025-06-02 Thread via GitHub
anchao opened a new pull request, #16467: URL: https://github.com/apache/nuttx/pull/16467 ## Summary audio/comp: fix build warning caused by invalid return value ``` audio/audio_comp.c:958:14: warning: returning ‘int’ from a function with return

[PR] mcx-nxxx: Add LPI2C driver for mcx-nxxx architecture [nuttx]

2025-06-02 Thread via GitHub
pussuw opened a new pull request, #16469: URL: https://github.com/apache/nuttx/pull/16469 ## Summary This adds a LPI2C driver for the mcx-nxxx chip, and the necessary board definitions for the frdm-mcxn236 evaluation kit. ## Impact Only the mcx-nxxx platform is affected.

Re: [I] [BUG] RP2040 Unstability, garbled NSH [nuttx]

2025-06-02 Thread via GitHub
raiden00pl commented on issue #16305: URL: https://github.com/apache/nuttx/issues/16305#issuecomment-2929925010 if the execution time of critical USB functions is an issue, then setting priorities won't help. USB stack functions should be executed as quickly as possible. If the problem is U

Re: [PR] Add DMA Alignment Component and Integrate It into the MMC Driver [nuttx]

2025-06-02 Thread via GitHub
snikeguo closed pull request #16464: Add DMA Alignment Component and Integrate It into the MMC Driver URL: https://github.com/apache/nuttx/pull/16464 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to