Re: [I] tools/nuttx-gdbinit: No such file or directory [nuttx]

2024-04-18 Thread via GitHub
xiaoxiang781216 commented on issue #12180: URL: https://github.com/apache/nuttx/issues/12180#issuecomment-2065737337 The script change to https://github.com/apache/nuttx/blob/master/tools/gdb -- This is an automated message from the Apache Git Service. To respond to the message, please log

(nuttx) branch master updated: arch/risc-v: add LLVM clang support

2024-04-18 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 e863e3dd37 arch/risc-v: add LLVM clang support

Re: [PR] arch/risc-v: add LLVM clang support [nuttx]

2024-04-18 Thread via GitHub
xiaoxiang781216 merged PR #12172: URL: https://github.com/apache/nuttx/pull/12172 -- 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] sched/Kconfig: make disable idle loop configurable [nuttx]

2024-04-18 Thread via GitHub
anchao opened a new pull request, #12179: URL: https://github.com/apache/nuttx/pull/12179 ## Summary sched/Kconfig: make disable idle loop configurable disable idle loop in experimental Signed-off-by: chao an ## Impact N/A ## Testing ci-ch

[PR] arch/riscv/qemu-rv: Add S-mode support [nuttx]

2024-04-18 Thread via GitHub
inochisa opened a new pull request, #12178: URL: https://github.com/apache/nuttx/pull/12178 This patch series introduce some optimization for S-mode only nuttx: 1. abstract IPI send/clear function 2. add support for allocate stack dynamic 3. add SSTC support. At last, it intro

[PR] drivers/serial/16550: remove unused function [nuttx]

2024-04-18 Thread via GitHub
anchao opened a new pull request, #12177: URL: https://github.com/apache/nuttx/pull/12177 ## Summary drivers/serial/16550: remove unused function drivers/serial/uart_16550.c:690:20: warning: unused function 'u16550_restoreuartint' [-Wunused-function] static inline void u1655

Re: [PR] riscv/fpu: Implement correct lazy-FPU functionality (attempt #2) [nuttx]

2024-04-18 Thread via GitHub
anchao commented on PR #9577: URL: https://github.com/apache/nuttx/pull/9577#issuecomment-2065614115 @pussuw So in this PR, the FPU save and restore are migrated to riscv_swint()? I am curious whether the FPU will be restored correctly if a context switch is triggered in other exceptions?

[PR] arch/risc-v: add llvm experimental extensions into command line [nuttx]

2024-04-18 Thread via GitHub
anchao opened a new pull request, #12176: URL: https://github.com/apache/nuttx/pull/12176 ## Summary arch/risc-v: add llvm experimental extensions into command line LLVM supports (to various degrees) a number of experimental extensions. All experimental extensions have expe

(nuttx-website) branch asf-site updated: Publishing web: ce5ab6cc062dbbe6065b26acd6a7b45062848749 docs: 859247c224378961b943914f6acd1c75f70c25c1

2024-04-18 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 407a850f8 Publishing web: ce5ab6c

(nuttx) branch master updated: sched: Move dump.c to sched_dumponexit.c

2024-04-18 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 55e3cf7e2d sched: Move dump.c to sched_dumponexit

Re: [PR] sched: Move dump.c to sched_dumponexit.c [nuttx]

2024-04-18 Thread via GitHub
anchao merged PR #12175: URL: https://github.com/apache/nuttx/pull/12175 -- 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

Re: [PR] mm/arch: user space device mapping defs [nuttx]

2024-04-18 Thread via GitHub
yf13 commented on code in PR #12041: URL: https://github.com/apache/nuttx/pull/12041#discussion_r1571504909 ## include/nuttx/addrenv.h: ## @@ -193,7 +193,9 @@ # define ARCH_SHM_MAXPAGES (CONFIG_ARCH_SHM_NPAGES * CONFIG_ARCH_SHM_MAXREGIONS) # define ARCH_SHM_REGIONSIZE (CO

Re: [PR] mm/arch: user space device mapping defs [nuttx]

2024-04-18 Thread via GitHub
yf13 commented on code in PR #12041: URL: https://github.com/apache/nuttx/pull/12041#discussion_r1571504909 ## include/nuttx/addrenv.h: ## @@ -193,7 +193,9 @@ # define ARCH_SHM_MAXPAGES (CONFIG_ARCH_SHM_NPAGES * CONFIG_ARCH_SHM_MAXREGIONS) # define ARCH_SHM_REGIONSIZE (CO

Re: [PR] mm/arch: user space device mapping defs [nuttx]

2024-04-18 Thread via GitHub
yf13 commented on code in PR #12041: URL: https://github.com/apache/nuttx/pull/12041#discussion_r1571504909 ## include/nuttx/addrenv.h: ## @@ -193,7 +193,9 @@ # define ARCH_SHM_MAXPAGES (CONFIG_ARCH_SHM_NPAGES * CONFIG_ARCH_SHM_MAXREGIONS) # define ARCH_SHM_REGIONSIZE (CO

Re: [PR] mm/arch: user space device mapping defs [nuttx]

2024-04-18 Thread via GitHub
yf13 commented on code in PR #12041: URL: https://github.com/apache/nuttx/pull/12041#discussion_r1571504909 ## include/nuttx/addrenv.h: ## @@ -193,7 +193,9 @@ # define ARCH_SHM_MAXPAGES (CONFIG_ARCH_SHM_NPAGES * CONFIG_ARCH_SHM_MAXREGIONS) # define ARCH_SHM_REGIONSIZE (CO

Re: [PR] mm/arch: user space device mapping defs [nuttx]

2024-04-18 Thread via GitHub
yf13 commented on code in PR #12041: URL: https://github.com/apache/nuttx/pull/12041#discussion_r1571504909 ## include/nuttx/addrenv.h: ## @@ -193,7 +193,9 @@ # define ARCH_SHM_MAXPAGES (CONFIG_ARCH_SHM_NPAGES * CONFIG_ARCH_SHM_MAXREGIONS) # define ARCH_SHM_REGIONSIZE (CO

Re: [PR] mm/arch: user space device mapping defs [nuttx]

2024-04-18 Thread via GitHub
pussuw commented on code in PR #12041: URL: https://github.com/apache/nuttx/pull/12041#discussion_r1571233557 ## include/nuttx/addrenv.h: ## @@ -193,7 +193,9 @@ # define ARCH_SHM_MAXPAGES (CONFIG_ARCH_SHM_NPAGES * CONFIG_ARCH_SHM_MAXREGIONS) # define ARCH_SHM_REGIONSIZE (

(nuttx) 04/04: cmake:enhance set_source_files_properties for NuttX CMake module

2024-04-18 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 859247c224378961b943914f6acd1c75f70c25c1 Author: xuxin19 AuthorDate: Thu Apr 18 17:39:39 2024 +0800 cmake:enhance s

(nuttx) 03/04: cmake-bugfix:add santity check for target depends and change inter_library header inheritance level

2024-04-18 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 4b11d37cf7eee4b198ca729054e649d6114ea5de Author: xuxin19 AuthorDate: Thu Apr 18 09:52:40 2024 +0800 cmake-bugfix:ad

(nuttx) branch master updated (93d75129de -> 859247c224)

2024-04-18 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 93d75129de riscv: Add Vector CSRs to csr.h new 8ab4d3c950 cmake:sanity check to avoid custom board not providing

Re: [PR] cmake:fix a few bugs during use CMake build [nuttx]

2024-04-18 Thread via GitHub
acassis merged PR #12173: URL: https://github.com/apache/nuttx/pull/12173 -- 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/04: cmake:sanity check to avoid custom board not providing Kconfig by default

2024-04-18 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 8ab4d3c950204b18c04e7f5d497fbbadb413990e Author: xuxin19 AuthorDate: Mon Mar 11 21:49:33 2024 +0800 cmake:sanity ch

(nuttx) 02/04: cmake:change add_dep to nuttx_add_dep for nuttx_add_application

2024-04-18 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 6960f1b96708054d051415b092746f93268214a3 Author: xuxin19 AuthorDate: Thu Mar 28 11:24:30 2024 +0800 cmake:change ad

Re: [PR] riscv: Add Vector CSRs to csr.h [nuttx]

2024-04-18 Thread via GitHub
anchao merged PR #12174: URL: https://github.com/apache/nuttx/pull/12174 -- 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: riscv: Add Vector CSRs to csr.h

2024-04-18 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 93d75129de riscv: Add Vector CSRs to csr.h 93d751

Re: [PR] riscv: Add Vector CSRs to csr.h [nuttx]

2024-04-18 Thread via GitHub
no1wudi commented on PR #12174: URL: https://github.com/apache/nuttx/pull/12174#issuecomment-2064115497 > Have you implemented the save/restore of vector registers? No, I just noticed that some register definitions are missing when reading the standard definition document. -- This

Re: [PR] riscv: Add Vector CSRs to csr.h [nuttx]

2024-04-18 Thread via GitHub
anchao commented on PR #12174: URL: https://github.com/apache/nuttx/pull/12174#issuecomment-2064087258 Have you implemented the save/restore of vector registers? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] sched_lock: we can remove these sched_lock, [nuttx]

2024-04-18 Thread via GitHub
acassis commented on PR #12140: URL: https://github.com/apache/nuttx/pull/12140#issuecomment-2064054949 @hujun260 @xiaoxiang781216 how are you doing benchmarks for SMP on NuttX? I saw there is a testing/smp that could help on that, but some questions we need to raise: 1) Is testing/s

(nuttx) branch master updated: arm64/imx9: Add LPSPI driver

2024-04-18 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 d73aab9f71 arm64/imx9: Add LPSPI driver d73aab9f

Re: [PR] arm64/imx9: Add LPSPI driver [nuttx]

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

[PR] riscv: Add Vector CSRs to csr.h [nuttx]

2024-04-18 Thread via GitHub
no1wudi opened a new pull request, #12174: URL: https://github.com/apache/nuttx/pull/12174 ## Summary The CSR register definitions from RVV 1.0 spec: https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#vector-registers ## Impact None ## Testing CI -- T

[PR] cmake:fix a few bugs during use CMake build [nuttx]

2024-04-18 Thread via GitHub
xuxin930 opened a new pull request, #12173: URL: https://github.com/apache/nuttx/pull/12173 ## Summary 1. add santity check for specific operations to avoid errors during execution. 2. use `nuttx_add_dependencies` instead of cmake `add_dependencies` in function `nuttx_add_applicti

[PR] arch/risc-v: add LLVM clang support [nuttx]

2024-04-18 Thread via GitHub
anchao opened a new pull request, #12172: URL: https://github.com/apache/nuttx/pull/12172 ## Summary arch/risc-v: add LLVM clang support Verified on LLVM-Metal: ``` $ riscv64-unknown-elf-clang --version (LLVM-Metal 15.9.0-2023.03.0) clang version 15.9.0 Target: riscv

Re: [PR] arch/kconfig: revise kernel mapping configs [nuttx]

2024-04-18 Thread via GitHub
xiaoxiang781216 merged PR #12154: URL: https://github.com/apache/nuttx/pull/12154 -- 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 (3a844d8dd7 -> 8d4eae41c1)

2024-04-18 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 3a844d8dd7 net/netlink: Add NETLINK_NETFILTER's CONNTRACK support add 8d4eae41c1 arch/kconfig: revising kernel

Re: [PR] arm64/imx9: Add LPSPI driver [nuttx]

2024-04-18 Thread via GitHub
pussuw commented on code in PR #12164: URL: https://github.com/apache/nuttx/pull/12164#discussion_r1570234105 ## arch/arm64/src/imx9/imx9_lpspi.c: ## @@ -0,0 +1,2060 @@ +/ + * arch/arm64/src/imx9/imx9_lp

Re: [PR] cmake:synchronize settings of CMake Toolchain file and redefine syms [nuttx]

2024-04-18 Thread via GitHub
anchao commented on code in PR #12150: URL: https://github.com/apache/nuttx/pull/12150#discussion_r1570206248 ## arch/arm/src/cmake/Toolchain.cmake: ## @@ -146,44 +204,131 @@ if(CONFIG_STACK_CANARIES) add_compile_options(-fstack-protector-all) endif() -if(CONFIG_ARCH_COVER