Re: [I] esp32: Compile error regarding assert statement in esp-hal-3rdparty code [nuttx]

2024-04-09 Thread via GitHub
dumitrache-adrian92 commented on issue #12111: URL: https://github.com/apache/nuttx/issues/12111#issuecomment-2046586508 Sure: ``` nsh> nxdiag --all Nxdiag Report: NuttX RTOS info: Hostname: Release: 12.4.0 Build: 7f1e80f0de-dirty Apr 10 2024

[PR] arch/riscv: force using encoding macro for CSR access [nuttx]

2024-04-09 Thread via GitHub
inochisa opened a new pull request, #12117: URL: https://github.com/apache/nuttx/pull/12117 Using CSR name depends on compiler support heavily, but CSR encoding does not have this problem. It also make it easy to add new CSR support even if the compiler does not support. Unify CSR

Re: [I] ESP32-C6 devkit cannot be built [nuttx]

2024-04-09 Thread via GitHub
znmeb commented on issue #10820: URL: https://github.com/apache/nuttx/issues/10820#issuecomment-2046500704 My test script successfully built all of the ESP32-S3 and ESP32-C3 devkit configurations. By the way, the way I'm now installing the tools is as follows: 1. Do a `docker build`

Re: [PR] examples/pipe:removes useless data from test cases [nuttx-apps]

2024-04-09 Thread via GitHub
GC-20-20 commented on code in PR #2351: URL: https://github.com/apache/nuttx-apps/pull/2351#discussion_r1558786349 ## examples/pipe/pipe_main.c: ## @@ -157,6 +157,11 @@ int main(int argc, FAR char *argv[]) return 6; } + ret = remove(FIFO_PATH1); + if (ret != 0)

[PR] net/nat: Support IPv6 Masquerading (NAT66) [nuttx]

2024-04-09 Thread via GitHub
wengzhe opened a new pull request, #12116: URL: https://github.com/apache/nuttx/pull/12116 ## Summary Patches included: - net/nat: Make some IPv4 NAT functions as common - To prepare for IPv6 NAT functions. - Rename common `ipv4_nat_xxx` to `nat_xxx` - Move some

[PR] sched/irq: remove scheduling check in csection [nuttx]

2024-04-09 Thread via GitHub
hujun260 opened a new pull request, #12115: URL: https://github.com/apache/nuttx/pull/12115 ## Summary 1. The critical section does not prevent task scheduling 2. If the critical section is in sched_lock, there is no need to check, scheduling is not going to happen 3. If

[PR] irq: irq_cpu_locked can be remove [nuttx]

2024-04-09 Thread via GitHub
hujun260 opened a new pull request, #12114: URL: https://github.com/apache/nuttx/pull/12114 ## Summary All irq_cpu_locked is called in the critical_section, and the parameter is the current cpu id. so it must return false, We can safely delete. ## Impact ## Testing

[PR] timer: use spin_lock_irqsave protect g_alloctimers [nuttx]

2024-04-09 Thread via GitHub
hujun260 opened a new pull request, #12113: URL: https://github.com/apache/nuttx/pull/12113 ## Summary all other g_alloctimers being protect by spin_lock_irqsave ## Impact ## Testing -- This is an automated message from the Apache Git Service. To respond to the

[PR] fdcheck: update fdcheck impl [nuttx]

2024-04-09 Thread via GitHub
hujun260 opened a new pull request, #12112: URL: https://github.com/apache/nuttx/pull/12112 ## Summary 1 store fd in the high position 2 removing the pid information , as the tag information is sufficient. ## Impact ## Testing -- This is an automated

Re: [PR] Add -mcpu=cortex-a55 [nuttx]

2024-04-09 Thread via GitHub
xiaoxiang781216 commented on PR #12049: URL: https://github.com/apache/nuttx/pull/12049#issuecomment-2046296975 > @xiaoxiang781216 I kept the generic armv8-a and armv8-r, but added them in the end of the same if list; so if there is cpu flag, the generic arch flag is not used. Would this

(nuttx-website) branch asf-site updated: Publishing web: 64ae20e5a4df5e2feedb7e48b9ccd7cbb790aa4f docs: 729e9fc8e3a66c1da7190fead6c50c133ed25e8f

2024-04-09 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 18a654a49 Publishing web:

Re: [I] ESP32-C6 devkit cannot be built [nuttx]

2024-04-09 Thread via GitHub
znmeb commented on issue #10820: URL: https://github.com/apache/nuttx/issues/10820#issuecomment-2046211393 Looks like I can't reproduce it - I'm running a script over all the `esp32c3-devkit` configurations at the moment and it hasn't failed yet. I'll post again once it gets through all of

Re: [PR] drivers/spi: Add support for FPGA iCE40 bitstream loading. [nuttx]

2024-04-09 Thread via GitHub
acassis commented on PR #12012: URL: https://github.com/apache/nuttx/pull/12012#issuecomment-2046154996 ping @janouja -- 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

(nuttx) branch master updated: arch/arm64/src/Toolchain.defs: Add -mcpu=cortex-a55 if CONFIG_ARCH_CORTEX_A55 is defined

2024-04-09 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 729e9fc8e3 arch/arm64/src/Toolchain.defs: Add

Re: [PR] Add -mcpu=cortex-a55 [nuttx]

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

Re: [I] ESP32-C6 devkit cannot be built [nuttx]

2024-04-09 Thread via GitHub
znmeb commented on issue #10820: URL: https://github.com/apache/nuttx/issues/10820#issuecomment-2046080376 The error I was getting was that it couldn't find `riscv64-none-elf-gcc`. But that seems to have gone away. I'll try to reproduce it later tonight. -- This is an automated message

Re: [PR] arch/arm/src/samv7/sam_qencoder.c: add support for GETINDEX ioctl call [nuttx]

2024-04-09 Thread via GitHub
zdebanos commented on PR #12081: URL: https://github.com/apache/nuttx/pull/12081#issuecomment-2046009113 I'm sorry for my inactivity, however I'm considering everything and I'll look into it further at the end of this week. Thanks for feedback. -- This is an automated message from the

Re: [I] esp32: Compile error regarding assert statement in esp-hal-3rdparty code [nuttx]

2024-04-09 Thread via GitHub
tmedicci commented on issue #12111: URL: https://github.com/apache/nuttx/issues/12111#issuecomment-2045991256 Hi @dumitrache-adrian92 , That's strange... We continuously test the boards with `ESP32_IGNORE_CHIP_REVISION_CHECK` set on our internal CI. I double-checked locally and

Re: [I] esp32: Compile error regarding assert statement in esp-hal-3rdparty code [nuttx]

2024-04-09 Thread via GitHub
acassis commented on issue #12111: URL: https://github.com/apache/nuttx/issues/12111#issuecomment-2045989249 @dumitrache-adrian92 I think esp-hal-3rdparty are maintained directly by Espressif @tmedicci please take a look -- This is an automated message from the Apache Git Service.

Re: [I] ESP32-C6 devkit cannot be built [nuttx]

2024-04-09 Thread via GitHub
tmedicci commented on issue #10820: URL: https://github.com/apache/nuttx/issues/10820#issuecomment-2045964377 > I'm having problems with the ESP32-C3 devkit as well. I've tried the xPack RISC-V tools recommended in the documentation and they don't work. Neither do the RISC-V tools in

(nuttx) branch master updated (93beeeeab0 -> 4ea2aeff6b)

2024-04-09 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 93bab0 [tcp/udp] fix port generation not in range (port % max + min)may overflow uint16 add 3844efb5b8

Re: [PR] stack: update up_get_intstackbase API to support cpu id [nuttx]

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

Re: [PR] arch/arm/src/samv7/sam_qencoder.c: add support for GETINDEX ioctl call [nuttx]

2024-04-09 Thread via GitHub
acassis commented on code in PR #12081: URL: https://github.com/apache/nuttx/pull/12081#discussion_r1558215073 ## arch/arm/src/samv7/Kconfig: ## @@ -3786,6 +3786,19 @@ config SAMV7_TC3_QE ---help--- Reserve TC3 for use by QEncoder. +config

Re: [I] ESP32-C6 devkit cannot be built [nuttx]

2024-04-09 Thread via GitHub
znmeb commented on issue #10820: URL: https://github.com/apache/nuttx/issues/10820#issuecomment-2045845901 I'm having problems with the ESP32-C3 devkit as well. I've tried the xPack RISC-V tools recommended in the documentation and they don't work. Neither do the RISC-V tools in Ubuntu

(nuttx) 01/02: net:add customizable default max & min port add customizable default max & min port

2024-04-09 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 b446a002dbcc18bf82e96893f6cc7d97b19c5e0f Author: wangchen AuthorDate: Tue Aug 29 18:02:32 2023 +0800 net:add

(nuttx) branch master updated (7f1e80f0de -> 93beeeeab0)

2024-04-09 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 7f1e80f0de net/nat: Slightly optimize the IPv4 NAT new b446a002db net:add customizable default max & min port

(nuttx) 02/02: [tcp/udp] fix port generation not in range (port % max + min)may overflow uint16

2024-04-09 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 93bab077e077da758e281bbba75209940a2e Author: meijian AuthorDate: Fri Mar 1 11:30:22 2024 +0800 [tcp/udp] fix

Re: [PR] net: Make TCP/UDP max & min port customizable [nuttx]

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

[I] esp32: Compile error regarding assert statement in esp-hal-3rdparty code [nuttx]

2024-04-09 Thread via GitHub
dumitrache-adrian92 opened a new issue, #12111: URL: https://github.com/apache/nuttx/issues/12111 Tested on two devkits, one with an esp32-WROOM and one with an esp32-WROVER. Setting up NuttX like this: ```bash ./tools/configure.sh -l esp32-{devkitc, sparrow-kit}:nsh make

Re: [PR] sched: Introduce Bound Multi-Processing (BMP) into NuttX [nuttx]

2024-04-09 Thread via GitHub
zouboan commented on PR #12020: URL: https://github.com/apache/nuttx/pull/12020#issuecomment-2045031529 > > What is the difference between this approach and the pthread_setaffinity_np functions implemented by NuttX?Does threads spawned by a task bound to a specific processor can also be

Re: [PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wengzhe commented on PR #12110: URL: https://github.com/apache/nuttx/pull/12110#issuecomment-2044473214 The CI failed on getting 'uClibc++-0.2.5.tar.bz2', maybe we need to retrigger it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

svn commit: r68397 - in /dev/nuttx/12.5.1-RC0: ./ apache-nuttx-12.5.1.tar.gz apache-nuttx-12.5.1.tar.gz.asc apache-nuttx-12.5.1.tar.gz.sha512 apache-nuttx-apps-12.5.1.tar.gz apache-nuttx-apps-12.5.1.t

2024-04-09 Thread jerpelea
Author: jerpelea Date: Tue Apr 9 07:38:39 2024 New Revision: 68397 Log: Staging apache-nuttx-12.5.1-RC0 Added: dev/nuttx/12.5.1-RC0/ dev/nuttx/12.5.1-RC0/apache-nuttx-12.5.1.tar.gz (with props) dev/nuttx/12.5.1-RC0/apache-nuttx-12.5.1.tar.gz.asc

[PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wangchen61698 opened a new pull request, #12110: URL: https://github.com/apache/nuttx/pull/12110 ## Summary net:add customizable default max & min port add customizable default max & min port Signed-off-by: wangchen [wangche...@xiaomi.com](mailto:wangche...@xiaomi.com)

Re: [PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wangchen61698 closed pull request #12109: net: Make TCP/UDP max & min port customizable URL: https://github.com/apache/nuttx/pull/12109 -- 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

Re: [PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wengzhe commented on PR #12109: URL: https://github.com/apache/nuttx/pull/12109#issuecomment-2044270322 Please keep "Signed-off-by" in your commit message. -- 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

[PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wangchen61698 opened a new pull request, #12109: URL: https://github.com/apache/nuttx/pull/12109 ## Summary net:add customizable default max & min port add customizable default max & min port Signed-off-by: wangchen [wangche...@xiaomi.com](mailto:wangche...@xiaomi.com)

(nuttx) branch master updated: net/nat: Slightly optimize the IPv4 NAT

2024-04-09 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 7f1e80f0de net/nat: Slightly optimize the

Re: [PR] net/nat: Slightly optimize the IPv4 NAT [nuttx]

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

Re: [PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wengzhe closed pull request #12108: net: Make TCP/UDP max & min port customizable URL: https://github.com/apache/nuttx/pull/12108 -- 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

(nuttx) annotated tag nuttx-12.5.1-RC0 updated (9e8753d625 -> 23b4a9625d)

2024-04-09 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-12.5.1-RC0 in repository https://gitbox.apache.org/repos/asf/nuttx.git *** WARNING: tag nuttx-12.5.1-RC0 was modified! *** from 9e8753d625 (commit) to 23b4a9625d (tag)

(nuttx-apps) annotated tag nuttx-12.5.1-RC0 updated (63dd3547f -> e1692ed65)

2024-04-09 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-12.5.1-RC0 in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git *** WARNING: tag nuttx-12.5.1-RC0 was modified! *** from 63dd3547f (commit) to e1692ed65

[PR] net: Make TCP/UDP max & min port customizable [nuttx]

2024-04-09 Thread via GitHub
wengzhe opened a new pull request, #12108: URL: https://github.com/apache/nuttx/pull/12108 ## Summary Patches included: - net:add customizable default max & min port > add customizable default max & min port > Signed-off-by: wangchen - [tcp/udp] fix port generation not in

Re: [PR] Fix Kconfig style [nuttx-apps]

2024-04-09 Thread via GitHub
pkarashchenko merged PR #2352: URL: https://github.com/apache/nuttx-apps/pull/2352 -- 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:

(nuttx-apps) branch master updated: Fix Kconfig style

2024-04-09 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 7e30c0e4c Fix Kconfig style