Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
no1wudi commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886323800 ## arch/risc-v/include/arch.h: ## @@ -56,6 +56,21 @@ # define ARCH_SPGTS (ARCH_PGT_MAX_LEVELS - 1) #endif +/* Can be used by assembly code to access the s

Re: [PR] Support for the mouse ioctl interface [nuttx]

2024-12-15 Thread via GitHub
nuttxpr commented on PR #15205: URL: https://github.com/apache/nuttx/pull/15205#issuecomment-2544796639 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) No, this PR description does not meet the NuttX require

[PR] Support for the mouse ioctl interface [nuttx]

2024-12-15 Thread via GitHub
HongChao6 opened a new pull request, #15205: URL: https://github.com/apache/nuttx/pull/15205 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Support for the mouse ioctl interface ## Impact

Re: [PR] use atomic to protect f_refs [nuttx]

2024-12-15 Thread via GitHub
hujun260 commented on code in PR #15163: URL: https://github.com/apache/nuttx/pull/15163#discussion_r1886282346 ## fs/inode/fs_files.c: ## @@ -76,33 +76,40 @@ static FAR struct file *files_fget_by_index(FAR struct filelist *list, filep = &list->fl_files[l1][l2]; #ifdef CO

Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
no1wudi commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886273682 ## arch/risc-v/include/arch.h: ## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/***

Re: [I] [BUG] Build error after switching from release/12.7 to master with LittleFS enabled [nuttx]

2024-12-15 Thread via GitHub
yamt commented on issue #15148: URL: https://github.com/apache/nuttx/issues/15148#issuecomment-2544729449 > > > i couldn't reproduce the error. > > > i used "make -j8" instead of "make -j". nuttx version: [4a51c21](https://github.com/apache/nuttx/commit/4a51c21afce7f84ed28792038854d3d37b7

[PR] fs/littlefs/Make.defs: fix a littlefs unpack regression [nuttx]

2024-12-15 Thread via GitHub
yamt opened a new pull request, #15204: URL: https://github.com/apache/nuttx/pull/15204 ## Summary Note that $(CONFIG_FS_LITTLEFS_VERSION).tar.gz is expanded to eg. "v2.5.1".tar.gz. The extra quotes break make's file existence checks. Fixes: https://github.com/apache/nuttx/issu

Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886253087 ## arch/risc-v/include/arch.h: ## @@ -56,6 +56,21 @@ # define ARCH_SPGTS (ARCH_PGT_MAX_LEVELS - 1) #endif +/* Can be used by assembly code to acce

Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886251160 ## arch/risc-v/include/arch.h: ## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/***

Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886251160 ## arch/risc-v/include/arch.h: ## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/***

Re: [PR] fs: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
anchao merged PR #15202: URL: https://github.com/apache/nuttx/pull/15202 -- 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.apach

(nuttx) branch master updated: fs: fix comment in https://github.com/apache/nuttx/pull/15163

2024-12-15 Thread archer
This is an automated email from the ASF dual-hosted git repository. archer 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 7036098d23 fs: fix comment in https://github.com

Re: [PR] fs: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
anchao commented on code in PR #15202: URL: https://github.com/apache/nuttx/pull/15202#discussion_r1886248166 ## fs/inode/fs_files.c: ## @@ -76,17 +76,15 @@ static FAR struct file *files_fget_by_index(FAR struct filelist *list, filep = &list->fl_files[l1][l2]; #ifdef CONF

Re: [PR] syslog/channel: unify syslog channel writing to reduce redundant code [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15132: URL: https://github.com/apache/nuttx/pull/15132 -- 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: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15202: URL: https://github.com/apache/nuttx/pull/15202#discussion_r1886242102 ## fs/inode/fs_files.c: ## @@ -76,17 +76,15 @@ static FAR struct file *files_fget_by_index(FAR struct filelist *list, filep = &list->fl_files[l1][l2]; #i

Re: [PR] fs: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15202: URL: https://github.com/apache/nuttx/pull/15202#discussion_r1886242102 ## fs/inode/fs_files.c: ## @@ -76,17 +76,15 @@ static FAR struct file *files_fget_by_index(FAR struct filelist *list, filep = &list->fl_files[l1][l2]; #i

Re: [PR] fs: remove redundant fl_lock [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15203: URL: https://github.com/apache/nuttx/pull/15203#discussion_r1886240912 ## fs/inode/fs_files.c: ## @@ -70,9 +70,6 @@ static FAR struct file *files_fget_by_index(FAR struct filelist *list,

Re: [PR] fs: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
anchao commented on code in PR #15202: URL: https://github.com/apache/nuttx/pull/15202#discussion_r1886238968 ## fs/inode/fs_files.c: ## @@ -76,17 +76,15 @@ static FAR struct file *files_fget_by_index(FAR struct filelist *list, filep = &list->fl_files[l1][l2]; #ifdef CONF

(nuttx) branch master updated: syslog/channel: unify syslog channel writing to reduce redundant code

2024-12-15 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 c7a0288a3f syslog/channel: unify syslog channe

(nuttx) 15/16: drivers/spi/ice40: migrate to SPDX identifier

2024-12-15 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 678c59d2e35b42dce303477d70e4a0ff65c1d401 Author: Alin Jerpelea AuthorDate: Mon Dec 16 04:07:59 2024 +0100 drivers

(nuttx) branch master updated (f65a17da37 -> 5f5350c05b)

2024-12-15 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 f65a17da37 tools/macar-qcs.sh: migrate license to ASF new 4c48884ddf crypto/cast: migrate to SPDX identifier

(nuttx) 09/16: include/crypto/md5: migrate to SPDX identifier

2024-12-15 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 7e74a0b8fa6039b9026e5819a7050b42b114e9d4 Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:16:08 2024 +0100 include

(nuttx) 02/16: crypto/chacha: migrate to SPDX identifier

2024-12-15 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 2503b36b7139f5e322f96839bf863fdd5cd510e4 Author: Alin Jerpelea AuthorDate: Mon Dec 16 02:15:01 2024 +0100 crypto/

(nuttx) 14/16: arch/arm/xmc4: migrate to SPDX identifier

2024-12-15 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 aa422c95ca15cb4a046d52a6811693761f509d03 Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:37:46 2024 +0100 arch/ar

(nuttx) 07/16: include/search: migrate to SPDX identifier

2024-12-15 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 d9b5c6e498f39e377d82abdbb34923ee1ed83e9a Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:12:13 2024 +0100 include

(nuttx) 03/16: crypto/md5: migrate to SPDX identifier

2024-12-15 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 ca3cfbac99630c0168cad07b8e31d28fa1913497 Author: Alin Jerpelea AuthorDate: Mon Dec 16 02:17:14 2024 +0100 crypto/

(nuttx) 12/16: include/crypto/sha1: migrate to SPDX identifier

2024-12-15 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 6c322d0bfaf0a63140068894e706ba4c4e0375cd Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:23:48 2024 +0100 include

(nuttx) 16/16: arch/esp32c3-legacy/esp32c3_ice40: migrate to SPDX identifier

2024-12-15 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 5f5350c05be409854f1b3528c12a56ef1f89f500 Author: Alin Jerpelea AuthorDate: Mon Dec 16 04:10:17 2024 +0100 arch/es

(nuttx) 06/16: crypto/sha1: migrate to SPDX identifier

2024-12-15 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 6e929204641737b32a15e5f58e73aa4bc397cfe6 Author: Alin Jerpelea AuthorDate: Mon Dec 16 02:23:15 2024 +0100 crypto/

(nuttx) 08/16: include/crypto/cast: migrate to SPDX identifier

2024-12-15 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 085c7e7b810ab7e44200fffdf202bbea2422d90d Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:13:19 2024 +0100 include

(nuttx) 13/16: boards/arm/s32k1xx: migrate to SPDX identifier

2024-12-15 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 77c31f618a8ee402293ab39759d3f6124a552134 Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:34:08 2024 +0100 boards/

(nuttx) 11/16: include/crypto/rijndael: migrate to SPDX identifier

2024-12-15 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 3b1a5ccffa8732b1add95b44bf6f21f60679a0ce Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:22:58 2024 +0100 include

(nuttx) 05/16: crypto/rijndael: migrate to SPDX identifier

2024-12-15 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 1ee8fdbad029f99a608fe8b971622c607c2232ee Author: Alin Jerpelea AuthorDate: Mon Dec 16 02:21:58 2024 +0100 crypto/

(nuttx) 10/16: include/crypto/poly1305: migrate to SPDX identifier

2024-12-15 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 a273b094fa0059135edcd149d5a648941faed3d6 Author: Alin Jerpelea AuthorDate: Mon Dec 16 03:21:12 2024 +0100 include

(nuttx) 01/16: crypto/cast: migrate to SPDX identifier

2024-12-15 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 4c48884ddf53daf5f9ea401a34986f1542e58057 Author: Alin Jerpelea AuthorDate: Mon Dec 16 02:13:47 2024 +0100 crypto/

(nuttx) 04/16: crypto/poly1305: migrate to SPDX identifier

2024-12-15 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 c3a044b548c6cac75863d94d904f7cd439c71907 Author: Alin Jerpelea AuthorDate: Mon Dec 16 02:18:57 2024 +0100 crypto/

Re: [PR] crypto: migrate to SPDX identifier [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15196: URL: https://github.com/apache/nuttx/pull/15196 -- 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: tools/macar-qcs.sh: migrate license to ASF

2024-12-15 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 f65a17da37 tools/macar-qcs.sh: migrate license

Re: [PR] tools/macar-qcs.sh: migrate license to ASF [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15201: URL: https://github.com/apache/nuttx/pull/15201 -- 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] fs: remove redundant fl_lock [nuttx]

2024-12-15 Thread via GitHub
hujun260 opened a new pull request, #15203: URL: https://github.com/apache/nuttx/pull/15203 ## Summary fs: remove redundant fl_lock ## Impact fs ## Testing ci -- This is an automated message from the Apache Git Service. To respond to the message, plea

Re: [I] [BUG] Build error after switching from release/12.7 to master with LittleFS enabled [nuttx]

2024-12-15 Thread via GitHub
yamt commented on issue #15148: URL: https://github.com/apache/nuttx/issues/15148#issuecomment-2544624812 > > i couldn't reproduce the error. > > i used "make -j8" instead of "make -j". nuttx version: [4a51c21](https://github.com/apache/nuttx/commit/4a51c21afce7f84ed28792038854d3d37b71083

Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
no1wudi commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886155445 ## arch/risc-v/include/arch.h: ## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/***

Re: [PR] fs: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
nuttxpr commented on PR #15202: URL: https://github.com/apache/nuttx/pull/15202#issuecomment-2544569404 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) No, this PR does not fully meet the NuttX requirements.

[PR] fs: fix comment in https://github.com/apache/nuttx/pull/15163 [nuttx]

2024-12-15 Thread via GitHub
hujun260 opened a new pull request, #15202: URL: https://github.com/apache/nuttx/pull/15202 ## Summary fix comment in https://github.com/apache/nuttx/pull/15163 ## Impact filep->f_refs ## Testing ci -- This is an automated message from the Apache Git

Re: [PR] syslog/channel: unify syslog channel writing to reduce redundant code [nuttx]

2024-12-15 Thread via GitHub
anchao commented on code in PR #15132: URL: https://github.com/apache/nuttx/pull/15132#discussion_r1886134104 ## drivers/syslog/syslog_write.c: ## @@ -94,227 +98,118 @@ static bool syslog_safe_to_block(void) * *

Re: [PR] syslog/channel: unify syslog channel writing to reduce redundant code [nuttx]

2024-12-15 Thread via GitHub
anchao commented on code in PR #15132: URL: https://github.com/apache/nuttx/pull/15132#discussion_r1886133293 ## drivers/syslog/syslog_write.c: ## @@ -94,227 +98,118 @@ static bool syslog_safe_to_block(void) * *

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
yamt commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544533914 anyway, regardless of the licenses, it's probably a good idea to re-fork from the latest versions because our qsort seems to lack a few important fixes done in BSDs. -- This is an a

Re: [PR] boards: add nimble defconfig to esp32c3-generic [nuttx]

2024-12-15 Thread via GitHub
lupyuen commented on PR #15187: URL: https://github.com/apache/nuttx/pull/15187#issuecomment-2544533197 @Laczen The error is caused by something else: https://github.com/apache/nuttx/actions/runs/12329209626/job/34414942581?pr=15187#step:7:320 ```text Configuration/Tool: rv-virt/cit

Re: [PR] tools/macar-qcs.sh: migrate license to ASF [nuttx]

2024-12-15 Thread via GitHub
jerpelea commented on PR #15201: URL: https://github.com/apache/nuttx/pull/15201#issuecomment-2544528799 @xiaoxiang781216 is there any reason why the ASF license was not used? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub an

[PR] tools/macar-qcs.sh: migrate license to ASF [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15201: URL: https://github.com/apache/nuttx/pull/15201 ## Summary Xiaomi has signed the SGA and we can migrate the license to ASF ## Impact LICENSE ## Testing CI -- This is an automated message from the Apache Git

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
yamt commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544504989 > > > @jerpelea where do you identify the code is BSD-4, not BSD? > > > > > > these files themselves have copies of the notice. > > unfortunately this is not enough i

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
yamt commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544503579 > @yamt we can not remove the clause in our code. It is better to fork a newer copy or replace to avoid possible issues even if the author (UCB) says ok? why not? -- This is an auto

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
lupyuen commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2544502981 @linguini1 There's a problem with defconfig: https://github.com/apache/nuttx/actions/runs/12341919533/job/34441171841?pr=15188#step:7:88 ```text Configuration/Tool: raspberrypi-4b

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
jerpelea commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544496278 > > @jerpelea where do you identify the code is BSD-4, not BSD? > > these files themselves have copies of the notice. unfortunately this is not enough -- This is an automa

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
jerpelea commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544495585 @yamt we can not remove the clause in our code. It is better to fork a newer copy or replace to avoid possible issues -- This is an automated message from the Apache Git Service. To re

Re: [PR] arch/esp32c3-legacy/hardware: migrate license to ASF [nuttx]

2024-12-15 Thread via GitHub
jerpelea commented on PR #15200: URL: https://github.com/apache/nuttx/pull/15200#issuecomment-2544481775 @Ouss4 @gustavonihei is there any reason for the use of Apache-2.0 standard license? -- This is an automated message from the Apache Git Service. To respond to the message, please l

[PR] arch/esp32c3-legacy/hardware: migrate license to ASF [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15200: URL: https://github.com/apache/nuttx/pull/15200 ## Summary the authors have submitted the CLA and the license can be migrated to ASF Co-authored-by: Dong Heng Co-authored-by: Abdelatif Guettouche Signed-off-by: Gustavo H

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
yamt commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544469196 > @jerpelea where do you identify the code is BSD-4, not BSD? these files themselves have copies of the notice. -- This is an automated message from the Apache Git Servic

Re: [PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
yamt commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544463978 > ## Summary > > The BSD-4 Clause may cause issues with comercial products and should be avoided > > 3. All advertising materials mentioning features or use of this softwar

Re: [PR] lib_pathbuffer.c:Use atomic instead of locks [nuttx]

2024-12-15 Thread via GitHub
crafcat7 commented on code in PR #15198: URL: https://github.com/apache/nuttx/pull/15198#discussion_r1886079578 ## libs/libc/misc/lib_pathbuffer.c: ## @@ -82,21 +80,24 @@ static struct pathbuffer_s g_pathbuffer = FAR char *lib_get_pathbuffer(void) { - irqstate_t flags; i

Re: [PR] [WIP] change the software interrupt to syscall instruction [nuttx]

2024-12-15 Thread via GitHub
chirping78 commented on PR #14672: URL: https://github.com/apache/nuttx/pull/14672#issuecomment-2544422283 > > esp32s3-devkit:smp ostest failed at "nested signal handler test" > > Isn't it related to #15059? I have downgraded my local toolchain, and then rebased to 12/15 (nuttx

Re: [PR] lib_pathbuffer.c:Use atomic instead of locks [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15198: URL: https://github.com/apache/nuttx/pull/15198#discussion_r1886067983 ## libs/libc/misc/lib_pathbuffer.c: ## @@ -82,21 +80,24 @@ static struct pathbuffer_s g_pathbuffer = FAR char *lib_get_pathbuffer(void) { - irqstate_t flag

Re: [PR] lib_pathbuffer.c:Use atomic instead of locks [nuttx]

2024-12-15 Thread via GitHub
nuttxpr commented on PR #15198: URL: https://github.com/apache/nuttx/pull/15198#issuecomment-2544411040 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) Yes, this PR appears to meet the NuttX requirements, al

Re: [PR] arm-m armv7a riscv32 :use cfi in irq asm function, make a debug frame [nuttx]

2024-12-15 Thread via GitHub
nuttxpr commented on PR #15199: URL: https://github.com/apache/nuttx/pull/15199#issuecomment-2544410017 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) This PR appears to mostly meet the NuttX requirements,

[PR] arm-m armv7a riscv32 :use cfi in irq asm function, make a debug frame [nuttx]

2024-12-15 Thread via GitHub
anjiahao1 opened a new pull request, #15199: URL: https://github.com/apache/nuttx/pull/15199 ## Summary use cfi in irq asm function, make a debug frame ## Impact debug, if do backtrace in irq ## Testing test code hello_main ``` int main(int argc, FAR c

[PR] lib_pathbuffer.c:Use atomic instead of locks [nuttx]

2024-12-15 Thread via GitHub
crafcat7 opened a new pull request, #15198: URL: https://github.com/apache/nuttx/pull/15198 ## Summary Avoid spinlock/mutex by using atomic Use atomic_cmpxchg to ensure that in multithreaded situations, if someone releases the buffer, it can be applied for in time. And use atom

Re: [PR] fs: use atomic_t store f_refs [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 closed pull request #15158: fs: use atomic_t store f_refs URL: https://github.com/apache/nuttx/pull/15158 -- 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 uns

(nuttx) branch releases/12.8 updated: sensors: fix Make.defs for bmm150

2024-12-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch releases/12.8 in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/releases/12.8 by this push: new f4e650352e sensors: fix Make.def

Re: [PR] {bp-15182} sensors: fix Make.defs for bmm150 [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15192: URL: https://github.com/apache/nuttx/pull/15192 -- 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 releases/12.8 updated: windows native: fixed FAILED: System.map

2024-12-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch releases/12.8 in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/releases/12.8 by this push: new 97371c5b45 windows native: fixed

Re: [PR] {bp-15185} windows native: fixed FAILED: System.map [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15195: URL: https://github.com/apache/nuttx/pull/15195 -- 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 releases/12.8 updated: lpuart: fix build errors for SINGLEWIRE and INVERT without SERIAL_TERMIOS

2024-12-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch releases/12.8 in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/releases/12.8 by this push: new 84ab0a3785 lpuart: fix build err

Re: [PR] {bp-15183} lpuart: fix build errors for SINGLEWIRE and INVERT without SERIAL_TER… [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15193: URL: https://github.com/apache/nuttx/pull/15193 -- 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] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on PR #15197: URL: https://github.com/apache/nuttx/pull/15197#issuecomment-2544386230 @jerpelea where do you identify the code is BSD-4, not BSD? BTW, qsort/bsearh is used in many places, we need replace with alternate implementation, instead removing it. -- T

[PR] URGENT: libs/libc/stdlib: remove BSD-4 clause code [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15197: URL: https://github.com/apache/nuttx/pull/15197 ## Summary The BSD-4 Clause may cause issues with comercial products and should be avoided 3. All advertising materials mentioning features or use of this software must display the followi

Re: [PR] nuttx/audio: improve null audio driver. [nuttx]

2024-12-15 Thread via GitHub
Joneyao commented on PR #15179: URL: https://github.com/apache/nuttx/pull/15179#issuecomment-2544336330 > This is the exact opposite of what a null device should do. A null device discards any data written to it and produces no data when read. Why not create a new device `audio_fake` with t

(nuttx) branch releases/12.8 updated: arm64/imx9: tpm: fix TPM_FILTER_CHXFVAL_MASK macro

2024-12-15 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch releases/12.8 in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/releases/12.8 by this push: new a0f0252e92 arm64/imx9: tpm: fix

Re: [PR] {bp-15184} arm64/imx9: tpm: fix TPM_FILTER_CHXFVAL_MASK macro [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 merged PR #15194: URL: https://github.com/apache/nuttx/pull/15194 -- 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: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886031464 ## arch/risc-v/include/arch.h: ## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/***

Re: [PR] crypto: migrate to SPDX identifier [nuttx]

2024-12-15 Thread via GitHub
jerpelea commented on PR #15196: URL: https://github.com/apache/nuttx/pull/15196#issuecomment-2544318323 @xiaoxiang781216 please ignore the CI error. The SPDX informaition can not be modified -- This is an automated message from the Apache Git Service. To respond to the message, please lo

Re: [PR] risc-v: Accelerate schedule by percpu [nuttx]

2024-12-15 Thread via GitHub
no1wudi commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1886028306 ## arch/risc-v/include/arch.h: ## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/***

Re: [PR] crypto: migrate to SPDX identifier [nuttx]

2024-12-15 Thread via GitHub
nuttxpr commented on PR #15196: URL: https://github.com/apache/nuttx/pull/15196#issuecomment-2544299683 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) Yes, this PR appears to meet the basic NuttX requiremen

[PR] crypto: migrate to SPDX identifier [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15196: URL: https://github.com/apache/nuttx/pull/15196 ## Summary Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. define NuttX local NuttX-PublicDomain

Re: [PR] {bp-15183} lpuart: fix build errors for SINGLEWIRE and INVERT without SERIAL_TER… [nuttx]

2024-12-15 Thread via GitHub
nuttxpr commented on PR #15193: URL: https://github.com/apache/nuttx/pull/15193#issuecomment-2544259558 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) __Fill In The Commit Message:__ This PR contains a Commit with

[PR] {bp-15185} windows native: fixed FAILED: System.map [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15195: URL: https://github.com/apache/nuttx/pull/15195 ## Summary fixed [1025/1027] Generating System.map FAILED: System.map C:/nuttxgit/nuttx/build/System.map cmd.exe /C "cd /D C:\nuttxgit\nuttx\build && arm-none-eabi-nm nuttx | grep -v '(co

[PR] {bp-15184} arm64/imx9: tpm: fix TPM_FILTER_CHXFVAL_MASK macro [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15194: URL: https://github.com/apache/nuttx/pull/15194 ## Summary Macro contains one closing bracket too much ## Impact RELEASE ## Testing CI -- This is an automated message from the Apache Git Service. To respond

[PR] lpuart: fix build errors for SINGLEWIRE and INVERT without SERIAL_TER… [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15193: URL: https://github.com/apache/nuttx/pull/15193 ## Summary he features CONFIG_IMXRT_LPUART_SINGLEWIRE and CONFIG_IMXRT_LPUART_INVERT will get build errors when CONFIG_SERIAL_TERMIOS or CONFIG_SERIAL_TIOCSERGSTRUCT are not enabled. Th

[PR] sensors: fix Make.defs for bmm150 [nuttx]

2024-12-15 Thread via GitHub
jerpelea opened a new pull request, #15192: URL: https://github.com/apache/nuttx/pull/15192 ## Summary Build fails when enabling CONFIG_SENSORS_BMM150. This happens because "bmm150.c" is added to the CSRCS but that file does not exist. Solved it by removing the part that ad

(nuttx-website) branch asf-site updated: Publishing web: b0df2aeab6e41e7f7f2ff29ca7dee29d2f62f031 docs: fdbf520a99cb422df20d61c25dd41f7149eb4e6b

2024-12-15 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 233373a5d Publishing web: b0df2ae

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
linguini1 commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2544083952 Not too sure from reading the error logs why this build is failing. Anyone have an idea? -- This is an automated message from the Apache Git Service. To respond to the message, please

Re: [I] [HELP] Nsh crash very easily if I call ls in command line [nuttx]

2024-12-15 Thread via GitHub
acassis commented on issue #15190: URL: https://github.com/apache/nuttx/issues/15190#issuecomment-2544059083 Hi @geniusdo try to increase the Stack Size, for boards with USB normally you will need a bigger stack -- This is an automated message from the Apache Git Service. To respond to th

(nuttx) branch master updated: fix a typo

2024-12-15 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 The following commit(s) were added to refs/heads/master by this push: new fdbf520a99 fix a typo fdbf520a99 is described be

Re: [PR] fix a typo [nuttx]

2024-12-15 Thread via GitHub
acassis merged PR #15191: URL: https://github.com/apache/nuttx/pull/15191 -- 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

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
hartmannathan commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2544030018 > > I suggest squashing it in a logic way to preserve the history, this way it could help other people doing ports in the future. > > > > I also took some notes while

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
hartmannathan commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2544028586 > > Don't do it yet, but when it's getting close to ready for merge, it will be a good idea to squash the commits. > > > > @hartmannathan I suggest squashing it in a l

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
linguini1 commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2544014002 > I suggest squashing it in a logic way to preserve the history, this way it could help other people doing ports in the future. I also took some notes while doing this port to att

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
acassis commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2544003942 > Don't do it yet, but when it's getting close to ready for merge, it will be a good idea to squash the commits. @hartmannathan I suggest squashing it in a logic way to preserve the

Re: [PR] Add support for the BCM2711 [nuttx]

2024-12-15 Thread via GitHub
hartmannathan commented on code in PR #15188: URL: https://github.com/apache/nuttx/pull/15188#discussion_r1885758365 ## Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst: ## @@ -0,0 +1,158 @@ +=== +Raspberry Pi 4B +=== + +The `Raspberr

[PR] fix a typo [nuttx]

2024-12-15 Thread via GitHub
geniusdo opened a new pull request, #15191: URL: https://github.com/apache/nuttx/pull/15191 same to pull request #12672 I made a typo. -- 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 spe

[I] [HELP] Nsh crash very easily if I call ls in command line [nuttx]

2024-12-15 Thread via GitHub
geniusdo opened a new issue, #15190: URL: https://github.com/apache/nuttx/issues/15190 ### Description I ported nuttx on my stm32h743vi board with usb cdc console configured. Its very likely to crash if I call ls command in nsh but other command wouldn't cause the issue. And i tried

  1   2   >