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

2025-06-20 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158237352 ## system/fastboot/fastboot.c: ## @@ -991,60 +999,75 @@ static void fastboot_oem(FAR struct fastboot_ctx_s *context, } } -static void fastboot_comman

[I] [BUG] Cannot close a driver that created a thread with open [nuttx]

2025-06-20 Thread via GitHub
SPRESENSE opened a new issue, #16560: URL: https://github.com/apache/nuttx/issues/16560 ### Description / Steps to reproduce the issue This issue is caused by https://github.com/apache/nuttx/pull/16499. The driver's open method creates a kernel thread. The kernel thread is de

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

2025-06-20 Thread via GitHub
Feoggou commented on issue #16551: URL: https://github.com/apache/nuttx/issues/16551#issuecomment-2990068239 @acassis I tried with the value of 10 miliseconds, which is the lowest value I could set (I think one clock tick is 10 miliseconds, so I can't get any lower) for the purpose of getti

[PR] esp32s3: update config and doc for fastboot [nuttx]

2025-06-20 Thread via GitHub
JianyuWang0623 opened a new pull request, #16562: URL: https://github.com/apache/nuttx/pull/16562 ## Summary Update config and doc for fastboot of esp32s3-devkit and lckfb-szpi-esp32s3. Related chages - https://github.com/apache/nuttx-apps/pull/3098 - https://github.com/apache

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

2025-06-20 Thread via GitHub
JianyuWang0623 commented on PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#issuecomment-2990981969 > @JianyuWang0623 let's change "lckfb-szpi-esp32s3:fastboot" to enable both transport too. @xiaoxiang781216 Done, and also done for the well known **"esp32s3-devkit"**,

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

2025-06-20 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158237352 ## system/fastboot/fastboot.c: ## @@ -991,60 +999,75 @@ static void fastboot_oem(FAR struct fastboot_ctx_s *context, } } -static void fastboot_comman

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

2025-06-20 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158237352 ## system/fastboot/fastboot.c: ## @@ -991,60 +999,75 @@ static void fastboot_oem(FAR struct fastboot_ctx_s *context, } } -static void fastboot_comman

Re: [PR] arch/arm/src/stm32/stm32_i2cslave_v2.c: add STM32 I2C Slave support f… [nuttx]

2025-06-20 Thread via GitHub
zdebanos commented on PR #16541: URL: https://github.com/apache/nuttx/pull/16541#issuecomment-2990298663 Fixed coding issues. Compiles OK. But I've got a question - where should I put the documentation? I found a generic page (https://nuttx.apache.org/docs/latest/components/drivers/special/

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

2025-06-20 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158237352 ## system/fastboot/fastboot.c: ## @@ -991,60 +999,75 @@ static void fastboot_oem(FAR struct fastboot_ctx_s *context, } } -static void fastboot_comman

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

2025-06-20 Thread via GitHub
tmedicci commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2158745861 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## Review Comment: It's perfect, thanks! -- This is an automated message from the Apache Git Service. To respo

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

2025-06-20 Thread via GitHub
xiaoxiang781216 merged PR #16491: URL: https://github.com/apache/nuttx/pull/16491 -- 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: [I] [BUG] Espressif Pulse Counter changes and bugs in Quadrature Encoder logic [nuttx]

2025-06-20 Thread via GitHub
xiaoxiang781216 closed issue #15319: [BUG] Espressif Pulse Counter changes and bugs in Quadrature Encoder logic URL: https://github.com/apache/nuttx/issues/15319 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
simbit18 commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2991379162 Hi, @TimJTi I hope this will help ``` checkpatch-sh is a bash script that make use of nxstyle and codespell tools to format patches and files conform to NuttX coding standa

(nuttx) branch master updated (6c1020204a -> 0c9931cc99)

2025-06-20 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 6c1020204a sched: assert: Print Stack pointer value when not within the stack add 907b487eb7 arch/xtensa/src/c

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

2025-06-20 Thread via GitHub
acassis commented on issue #16551: URL: https://github.com/apache/nuttx/issues/16551#issuecomment-2991684365 @Feoggou normally SDCards and eMMC have an internal software running inside it and from time to time it needs to "clear the house" and reorganize/consolidate the blocks inside to opt

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-20 Thread via GitHub
tmedicci commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2991370078 Just a follow-up on that: @Laczen , if you have time, please share the `defconfig` you used for and - if possible - write about it on `ROMFS` entry (on documentation). That would be

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

2025-06-20 Thread via GitHub
acassis commented on code in PR #16558: URL: https://github.com/apache/nuttx/pull/16558#discussion_r2159417909 ## Documentation/platforms/xtensa/esp32s3/boards/esp32s3-8048S043/index.rst: ## @@ -0,0 +1,103 @@ +=== +ESP32-S3-LCD-EV Review Comment: The official nam

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

2025-06-20 Thread via GitHub
acassis commented on code in PR #16558: URL: https://github.com/apache/nuttx/pull/16558#discussion_r2159417909 ## Documentation/platforms/xtensa/esp32s3/boards/esp32s3-8048S043/index.rst: ## @@ -0,0 +1,103 @@ +=== +ESP32-S3-LCD-EV Review Comment: Isn't the offici

Re: [I] [BUG] Cannot close a driver that created a thread with open [nuttx]

2025-06-20 Thread via GitHub
acassis commented on issue #16560: URL: https://github.com/apache/nuttx/issues/16560#issuecomment-2992368943 @Donny9 please take a look on this issue. @SPRESENSE is that driver you are citing included into mainline? ping @xiaoxiang781216 @raiden00pl -- This is an automated m

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-20 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2992371491 > Just a follow-up on that: [@Laczen](https://github.com/Laczen) , if you have time, please share the `defconfig` you used for and - if possible - write about it on `ROMFS` entry (on

[PR] arch/risc-v: Fix `rv-virt:nsbi[|64]` defconfigs [nuttx]

2025-06-20 Thread via GitHub
tmedicci opened a new pull request, #16565: URL: https://github.com/apache/nuttx/pull/16565 ## Summary * boards/risc-v/qemu-rv: Add missing section on `ld-nuttsbi.script` * Fix an issue regarding the `rv-virt:nsbi` defconfig, which wasn't booting properly because `sbi_set

Re: [PR] [utsname] libc: Link dependency on `.version` file [nuttx]

2025-06-20 Thread via GitHub
Javinator9889 commented on PR #16564: URL: https://github.com/apache/nuttx/pull/16564#issuecomment-2992395929 I'm not sure if this is the best approach. I've been doing some testing and this was the only way I found to trigger the re-compilation of the `utsname` library so the latest `versi

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

2025-06-20 Thread via GitHub
acassis commented on PR #16559: URL: https://github.com/apache/nuttx/pull/16559#issuecomment-2992377755 @xiaoxiang781216 I think this file could be converted and moved to Documentation/components/libs/libc/ -- This is an automated message from the Apache Git Service. To respond to the mes

[PR] [utsname] libc: Link dependency on `.version` file [nuttx]

2025-06-20 Thread via GitHub
Javinator9889 opened a new pull request, #16564: URL: https://github.com/apache/nuttx/pull/16564 ## Summary The `utsname` library has a direct dependency with `nuttx/version.h` to grab the release information. However, it was detected that changes to the `.version` - which trigger th

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-20 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2992402313 @Laczen very nice! About wear levelling for NOR Flash, why don't you use SmartFS or LittleFS? It has support to it. Yes, the things you discovered about how to use ROMFS with M

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

2025-06-20 Thread via GitHub
acassis commented on PR #16558: URL: https://github.com/apache/nuttx/pull/16558#issuecomment-2992141819 To avoid passing all board profiles to a single board I modified the refresh script: https://github.com/apache/nuttx/pull/16563 Next time you just could use: ``` $ ./to

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

2025-06-20 Thread via GitHub
acassis commented on issue #16551: URL: https://github.com/apache/nuttx/issues/16551#issuecomment-2992096892 @Feoggou yes, I'm not saying that the driver is right, just saying that the timeout could be caused that fact. About: "I tried with the value of 10 miliseconds, which is the lo

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
simbit18 commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2991398137 very schematic but useful !!! :) -- 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

[PR] CI checkpatch: fix cvt2utf not found and add check of all necessary tools [nuttx]

2025-06-20 Thread via GitHub
simbit18 opened a new pull request, #16561: URL: https://github.com/apache/nuttx/pull/16561 ## Summary check.yml: This PR add missing cvt2utf installation on our CI tools/checkpatch.sh Added checking all necessary tools and installation info (more user-friendly)

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
TimJTi commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2990852345 Can you find 2 minutes to write a few lines here that, to you, are important things a potential contributor of a python script should do? I am assuming those 3 weird stylers are

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

2025-06-20 Thread via GitHub
JianyuWang0623 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158572566 ## system/fastboot/fastboot.c: ## @@ -978,65 +986,79 @@ static void fastboot_oem(FAR struct fastboot_ctx_s *ctx, FAR const char *arg) } } -static voi

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
simbit18 commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2990789585 > Would it be possible to add a few lines to the Contributing documentation too? @TimJTi unfortunately I don't have much time to work on documentation. -- This is an au

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

2025-06-20 Thread via GitHub
Vajnar commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2158488062 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## Review Comment: Hi @tmedicci, I updated the Testing section. Is it better now? -- This is an automated messag

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

2025-06-20 Thread via GitHub
xiaoxiang781216 commented on code in PR #3101: URL: https://github.com/apache/nuttx-apps/pull/3101#discussion_r2158520906 ## system/fastboot/fastboot.c: ## @@ -978,65 +986,79 @@ static void fastboot_oem(FAR struct fastboot_ctx_s *ctx, FAR const char *arg) } } -static vo

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
TimJTi commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2990607711 Thanks! I'm away but will take a look next week. Would it be possible to add a few lines to the Contributing documentation too? -- This is an automated message from the Apac

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
simbit18 commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2990559721 Hi @TimJTi this PR #16561 (**for checkpatch.sh**), add checking all necessary tools and installation info (more user-friendly) -- This is an automated message from the Apache Git

Re: [I] [FEATURE] Need "Contributing" documentation for Python scripts [nuttx]

2025-06-20 Thread via GitHub
TimJTi commented on issue #16264: URL: https://github.com/apache/nuttx/issues/16264#issuecomment-2991390829 Amazing- much better than I dared hope for! I will turn that into a PR in the next few weeks and hopefully others can add to it 😀 -- This is an automated message from the Apache Gi

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

2025-06-20 Thread via GitHub
acassis commented on PR #16558: URL: https://github.com/apache/nuttx/pull/16558#issuecomment-2992042782 @halyssonJr you need to normalize the board profiles: ``` Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to d

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

2025-06-20 Thread via GitHub
Feoggou commented on issue #16551: URL: https://github.com/apache/nuttx/issues/16551#issuecomment-2991992751 Well, the application is doing a lot of logging, and the logs are being saved to sd card. If a crash happens in my application, then I need to know the last operations that got execu

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

2025-06-20 Thread via GitHub
Feoggou commented on issue #16551: URL: https://github.com/apache/nuttx/issues/16551#issuecomment-2992133522 Well, I tried to set the register back to 0, but when reading it back it was still set. I've noticed in the STM32 documentation something about a Data Path State Machine Status Regis

[PR] tools: Modify refresh.sh to support update all configs from a board [nuttx]

2025-06-20 Thread via GitHub
acassis opened a new pull request, #16563: URL: https://github.com/apache/nuttx/pull/16563 ## Summary This modification will simplify the case where the developer wants to update all board configs from a specific board. ## Impact Avoid updating each config manually

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

2025-06-20 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 35a29c9b3 Publishing web: be40bd5

Re: [PR] [utsname] libc: Link dependency on `.version` file [nuttx]

2025-06-20 Thread via GitHub
Javinator9889 commented on PR #16564: URL: https://github.com/apache/nuttx/pull/16564#issuecomment-2992678215 > I think this change is fine. We already have an explicit dependency on .config, so having an explicit dependency on .version makes sense to me. > > Are there any other non-s

(nuttx) branch master updated: tools: Modify refresh.sh to support update all configs from a board

2025-06-20 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 578d62b480 tools: Modify refresh.sh to support

Re: [PR] esp32s3: update config and doc for fastboot [nuttx]

2025-06-20 Thread via GitHub
xiaoxiang781216 merged PR #16562: URL: https://github.com/apache/nuttx/pull/16562 -- 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] libc/stream: Rename lib_xsprintfyyy to lib_xprintfyyy [nuttx]

2025-06-20 Thread via GitHub
xiaoxiang781216 closed pull request #16544: libc/stream: Rename lib_xsprintfyyy to lib_xprintfyyy URL: https://github.com/apache/nuttx/pull/16544 -- 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

(nuttx) 02/04: docs/szpi-esp32s3: update doc for fastboot

2025-06-20 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 commit fee314f3d128963df80533c15d7a89e7866b54b5 Author: wangjianyu3 AuthorDate: Fri Jun 20 17:20:42 2025 +0800 docs/szpi

(nuttx) 01/04: boards/szpi-esp32s3: update config for fastboot

2025-06-20 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 commit af36267762c8cc6c0d36d0322b67c7ee82e346bc Author: wangjianyu3 AuthorDate: Thu Jun 19 23:13:25 2025 +0800 boards/sz

(nuttx) 04/04: docs/esp32s3-devkit: update doc for fastboot

2025-06-20 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 commit db1a14adac91528f89dcafb1cd93cdcb03458555 Author: wangjianyu3 AuthorDate: Thu Jun 19 19:34:59 2025 +0800 docs/esp3

(nuttx) 03/04: boards/esp32s3-devkit: update config for fastboot

2025-06-20 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 commit 1c7da08b941ec29d983c8760ca4e35b9a89586f3 Author: wangjianyu3 AuthorDate: Thu Jun 19 19:27:38 2025 +0800 boards/es

(nuttx) branch master updated (578d62b480 -> db1a14adac)

2025-06-20 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 578d62b480 tools: Modify refresh.sh to support update all configs from a board new af36267762 boards/szpi-esp3

Re: [PR] tools: Modify refresh.sh to support update all configs from a board [nuttx]

2025-06-20 Thread via GitHub
xiaoxiang781216 merged PR #16563: URL: https://github.com/apache/nuttx/pull/16563 -- 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] [utsname] libc: Link dependency on `.version` file [nuttx]

2025-06-20 Thread via GitHub
Javinator9889 commented on PR #16564: URL: https://github.com/apache/nuttx/pull/16564#issuecomment-2992698187 > > I think this change is fine. We already have an explicit dependency on .config, so having an explicit dependency on .version makes sense to me. > > Are there any other non-sou