Re: [PR] [New Board] ESP32S3-8048s043 [nuttx]

2025-06-19 Thread via GitHub
acassis commented on code in PR #16558: URL: https://github.com/apache/nuttx/pull/16558#discussion_r2157680431 ## boards/Kconfig: ## @@ -477,6 +477,14 @@ config ARCH_BOARD_ESP32S3_DEVKIT ESP32-S3-DevKitC-1 version may be based either on ESP32-S3-WROOM-1/1U or

Re: [I] [BUG] Unix datagram sockets seems broken [nuttx]

2025-06-19 Thread via GitHub
acassis commented on issue #16555: URL: https://github.com/apache/nuttx/issues/16555#issuecomment-2989199439 @wengzhe please take a look. Do you think it is possible to add ```poll``` support to ```SOCK_DGRAM``` ? @GUIDINGLI since you created the PR https://github.com/apache/nuttx/pu

Re: [PR] [New Board] ESP32S3-8048s043 [nuttx]

2025-06-19 Thread via GitHub
acassis commented on PR #16558: URL: https://github.com/apache/nuttx/pull/16558#issuecomment-2989184368 @halyssonJr please fix the Documentation error: Documentation/platforms/xtensa/esp32s3/boards/esp32s3-8048S043/index.rst:90:Title underline too short. -- This is an automated me

Re: [I] [BUG] SD card issue: Assertion failure in stm32_sdmmc.c on STM32 due to timeout [nuttx]

2025-06-19 Thread via GitHub
acassis commented on issue #16551: URL: https://github.com/apache/nuttx/issues/16551#issuecomment-2989209405 @Feoggou isn't 10ms too low value for a SD Card timeout? Other thing that is raising concern: are you using 100HZ for clock tick? This is exactly 10ms too, if so try to reduce

[PR] libc: Move stdio/README to stream folder [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 opened a new pull request, #16559: URL: https://github.com/apache/nuttx/pull/16559 ## Summary follow up this change: commit 84dc88730cd27ec7ab8ce7cefac89e3763dfd2d5 Author: Xiang Xiao Date: Mon Jun 9 14:39:03 2025 +0800 libc: Move stream printf/sc

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

2025-06-19 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 48edc3db7 Publishing web: be40bd5

Re: [PR] arch/arm/*/stm32f0l0g0: STM32G0 DMA and ADC Support [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 commented on code in PR #16557: URL: https://github.com/apache/nuttx/pull/16557#discussion_r2157886912 ## arch/arm/src/stm32f0l0g0/hardware/stm32g0_dmamux.h: ## @@ -36,26 +36,290 @@ /* DMAMUX1 mapping **/

Re: [PR] [New Board] ESP32S3-8048s043 [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 commented on PR #16558: URL: https://github.com/apache/nuttx/pull/16558#issuecomment-2989587011 @halyssonJr please fix the error: https://github.com/apache/nuttx/actions/runs/15766167307/job/2952375?pr=16558 https://github.com/apache/nuttx/actions/runs/15766167355/

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
xiaoxiang781216 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2157869431 ## system/fastboot/fastboot.c: ## @@ -1422,23 +1484,16 @@ int main(int argc, FAR char **argv) return 0; } - if (sscanf(argv[1], "%

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
xiaoxiang781216 commented on PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#issuecomment-2989575097 @JianyuWang0623 let's change "lckfb-szpi-esp32s3:fastboot" to enable both transport too. -- This is an automated message from the Apache Git Service. To respond to the messag

Re: [PR] Minor improve to stream [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 merged PR #16549: URL: https://github.com/apache/nuttx/pull/16549 -- 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 (a3f8b55143 -> d266bfaca1)

2025-06-19 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.git from a3f8b55143 drivers/serial/serial: prevent race conditions on 8-bit architectures add 4b8a738141 libc/stream: A

Re: [PR] sched: assert: Print Stack pointer value when not within the stack [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 merged PR #16554: URL: https://github.com/apache/nuttx/pull/16554 -- 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] risc-v/mmu: Fix map_region() for incorrect page table setup when vadd… [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 commented on PR #16556: URL: https://github.com/apache/nuttx/pull/16556#issuecomment-2989579396 @Huffer342-WSH please fix: ``` /home/runner/work/nuttx/nuttx/nuttx/arch/risc-v/src/qemu-rv/qemu_rv_mm_init.c:61: continus ==> continue, continuous ``` -- This is an au

(nuttx) branch master updated (d266bfaca1 -> 6c1020204a)

2025-06-19 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.git from d266bfaca1 libc: lib_bsprintf reuse var instead value for string add 6c1020204a sched: assert: Print Stack poin

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
tmedicci commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157460110 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,28 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags =

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
tmedicci commented on PR #16491: URL: https://github.com/apache/nuttx/pull/16491#issuecomment-2988810364 > @Vajnar thanks for the update. > > I would like to know from somebody from Espressif (@tmedicci) what is the exact clearing condition of the event bits in `PCNT_Ux_STATUS_REG`. I

[PR] [New Board] ESP32S3-8048s043 [nuttx]

2025-06-19 Thread via GitHub
halyssonJr opened a new pull request, #16558: URL: https://github.com/apache/nuttx/pull/16558 ## Summary The PR aims to add support to a new board: ESP32S3-8048S043 (aka: Yellow Cheap Board). This hardware version has an LCD with a 4.3-inch display. This initial support covers the minima

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
tmedicci commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157459178 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## Review Comment: Hi @Vajnar , can you please update the PR's description with the testing procedure according t

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

2025-06-19 Thread via GitHub
acassis merged PR #16466: URL: https://github.com/apache/nuttx/pull/16466 -- 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.apac

(nuttx) 01/03: drivers/serial/serial: typo fix in comment

2025-06-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit c6c71b0beb5c986ea29e6804e6d9d3da5c13bdac Author: Kerogit AuthorDate: Sun Jun 1 11:46:13 2025 +0200 drivers/serial/s

Re: [PR] spinlock: Better recursive spinlock implementation. [nuttx]

2025-06-19 Thread via GitHub
acassis commented on PR #16552: URL: https://github.com/apache/nuttx/pull/16552#issuecomment-2988293324 @Fix-Point nice! Please include some testing on real machine as well (QEMU tests sometimes will not catch some issues). If you can please include some performance tests, maybe the bench

[PR] arch/arm/*/stm32f0l0g0: STM32G0 DMA and ADC Support [nuttx]

2025-06-19 Thread via GitHub
kywwilson11 opened a new pull request, #16557: URL: https://github.com/apache/nuttx/pull/16557 ## Summary This PR adds DMA support for the STM32G0 series in NuttX, with a focus on STM32G0B/C devices that include DMA2. It also enables ADC1 DMA functionality and corrects how sample tim

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
Vajnar commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157353176 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,28 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = sp

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
tmedicci commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157295614 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,28 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags =

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
tmedicci commented on PR #16491: URL: https://github.com/apache/nuttx/pull/16491#issuecomment-2988536534 Please rebase to fix CI issues. -- 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 specif

(nuttx) branch master updated (acc067e4f1 -> a3f8b55143)

2025-06-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from acc067e4f1 docs/qemu-armv8a: add doc for fastboot tcp new c6c71b0beb drivers/serial/serial: typo fix in comment

(nuttx) 02/03: drivers/serial/serial: fix race condition in flow control

2025-06-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit b5ccd54dd6c86672c4da0020fd3541e7396dd173 Author: Kerogit AuthorDate: Sun Jun 8 23:08:55 2025 +0200 drivers/serial/s

(nuttx) 03/03: drivers/serial/serial: prevent race conditions on 8-bit architectures

2025-06-19 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit a3f8b55143ad8ade1da2df0d848b5adb3a15cd9d Author: Kerogit AuthorDate: Wed Jun 18 20:14:45 2025 +0200 drivers/serial/

[PR] risc-v/mmu: Fix map_region() for incorrect page table setup when vadd… [nuttx]

2025-06-19 Thread via GitHub
Huffer342-WSH opened a new pull request, #16556: URL: https://github.com/apache/nuttx/pull/16556 ## Summary This commit fixes the issue where `map_region()` sets the page table incorrectly when provided with an unaligned `vaddr`. E.g. defconfig `rv-virt:knsh_paging` set

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
tmedicci commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157274441 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,34 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags =

Re: [I] [BUG] Unix datagram sockets seems broken [nuttx]

2025-06-19 Thread via GitHub
michallenc commented on issue #16555: URL: https://github.com/apache/nuttx/issues/16555#issuecomment-2988420432 So it seems there are two problems. The first one is pretty obvious after looking to the code, we simply don't support `poll` on `SOCK_DGRAM` 😅 See https://github.com/apache/nuttx

Re: [PR] build(deps): bump urllib3 from 2.2.3 to 2.5.0 in /Documentation [nuttx]

2025-06-19 Thread via GitHub
dependabot[bot] commented on PR #16553: URL: https://github.com/apache/nuttx/pull/16553#issuecomment-2988276949 OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let

[PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 opened a new pull request, #3101: URL: https://github.com/apache/nuttx-apps/pull/3101 ## Summary Add support for enabling USB and TCP transport at the same time. Please see the "Testing" below for more details. And ignore space change may be eaiser to review, thank

(nuttx) branch dependabot/pip/Documentation/urllib3-2.5.0 deleted (was 49e9eeb051)

2025-06-19 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/pip/Documentation/urllib3-2.5.0 in repository https://gitbox.apache.org/repos/asf/nuttx.git was 49e9eeb051 build(deps): bump urllib3 from 2.2.3 to 2.5.0 in /Documentation Th

Re: [PR] build(deps): bump urllib3 from 2.2.3 to 2.5.0 in /Documentation [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 closed pull request #16553: build(deps): bump urllib3 from 2.2.3 to 2.5.0 in /Documentation URL: https://github.com/apache/nuttx/pull/16553 -- 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

Re: [PR] system/fastboot: Add support for TCP network device [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 commented on code in PR #3098: URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2157154445 ## system/fastboot/fastboot.c: ## @@ -1115,6 +1354,12 @@ static void fastboot_context_initialize(FAR struct fastboot_ctx_s *ctx) ctx->total_imgsize = 0;

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
Vajnar commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157371076 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,28 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = sp

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
Vajnar commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157372589 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,28 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = sp

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
Vajnar commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2157373780 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,28 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = sp

[I] [BUG] Unix datagram sockets seems broken [nuttx]

2025-06-19 Thread via GitHub
michallenc opened a new issue, #16555: URL: https://github.com/apache/nuttx/issues/16555 ### Description / Steps to reproduce the issue Unix local datagram sockets seems to be broken on NuttX. The following code doesn't work on `sim:udgram` configuration (nor other configurations with

Re: [PR] sched: assert: Print Stack pointer value when not within the stack [nuttx]

2025-06-19 Thread via GitHub
xiaoxiang781216 commented on code in PR #16554: URL: https://github.com/apache/nuttx/pull/16554#discussion_r2156570277 ## sched/misc/assert.c: ## @@ -284,7 +284,8 @@ static void dump_stacks(FAR struct tcb_s *rtcb, uintptr_t sp) else { force = true; - _alert(

Re: [PR] sched: assert: Print Stack pointer value when not within the stack [nuttx]

2025-06-19 Thread via GitHub
LingaoM commented on code in PR #16554: URL: https://github.com/apache/nuttx/pull/16554#discussion_r2156703360 ## sched/misc/assert.c: ## @@ -284,7 +284,8 @@ static void dump_stacks(FAR struct tcb_s *rtcb, uintptr_t sp) else { force = true; - _alert("ERROR:

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
ppisa commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2155614642 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,34 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = spi

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-19 Thread via GitHub
ppisa commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2155614642 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +646,34 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = spi

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158195393 ## system/fastboot/fastboot.c: ## @@ -1422,23 +1484,16 @@ int main(int argc, FAR char **argv) return 0; } - if (sscanf(argv[1], "%"

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158194924 ## system/fastboot/fastboot.c: ## @@ -1070,25 +1093,33 @@ static void fastboot_publish(FAR struct fastboot_ctx_s *context, context->varlist = var; } -s

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158195717 ## system/fastboot/fastboot.c: ## @@ -1221,6 +1258,13 @@ static int fastboot_tcp_initialize(FAR struct fastboot_ctx_s *ctx) goto error; } + if

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158194667 ## system/fastboot/fastboot.c: ## @@ -1365,36 +1409,54 @@ static int fastboot_tcp_write(FAR struct fastboot_ctx_s *ctx, } #endif -static int fastboot_con

Re: [PR] system/fastboot: Enable USB and TCP at the same time [nuttx-apps]

2025-06-19 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158194041 ## system/fastboot/fastboot.c: ## @@ -1070,25 +1093,33 @@ static void fastboot_publish(FAR struct fastboot_ctx_s *context, context->varlist = var; } -s