[PR] ioctl: add definitions related to ethtool [nuttx]

2023-11-01 Thread via GitHub
zhhyu7 opened a new pull request, #1: URL: https://github.com/apache/nuttx/pull/1 ## Summary We reuse the linux platform code when adapting the matter library, in order to compile through, so first add the ethtool related definition ## Impact ## Testing risc-v32

Re: [I] on the board s32k118evb, nuttx can not start up when power off and restart [nuttx]

2023-11-01 Thread via GitHub
xucheng5 commented on issue #11100: URL: https://github.com/apache/nuttx/issues/11100#issuecomment-1790013184 Problem has been solved . missing ECC RAM Init at startup code . refer to

Re: [I] on the board s32k118evb, nuttx can not start up when power off and restart [nuttx]

2023-11-01 Thread via GitHub
xucheng5 closed issue #11100: on the board s32k118evb,nuttx can not start up when power off and restart URL: https://github.com/apache/nuttx/issues/11100 -- 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

Re: [PR] testing/epoll: add epoll test case [nuttx-apps]

2023-11-01 Thread via GitHub
CV-Bowen commented on code in PR #2172: URL: https://github.com/apache/nuttx-apps/pull/2172#discussion_r1379511427 ## testing/epoll/epoll.c: ## @@ -0,0 +1,477 @@ +/ + * apps/testing/epoll/epoll.c + * +

Re: [I] NuttX compile error [nuttx]

2023-11-01 Thread via GitHub
zouboan commented on issue #11109: URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789952167 > Please remove sudo from your command. zouboan@mini:~/d/FeedForward/nuttx$ tools/configure.sh stm32f4discovery:nsh Copy files install: setting permissions for

[PR] net: Simplify getting value for different domain [nuttx]

2023-11-01 Thread via GitHub
wengzhe opened a new pull request, #0: URL: https://github.com/apache/nuttx/pull/0 ## Summary Replace ```c #if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_IPv6) ((domain) == PF_INET ? A : B) #elif defined(CONFIG_NET_IPv4) A #else B #endif ``` Into

Re: [PR] fs_epoll: several epoll problems fix [nuttx]

2023-11-01 Thread via GitHub
CV-Bowen commented on PR #10706: URL: https://github.com/apache/nuttx/pull/10706#issuecomment-1789946388 @thebolt Could you try this PR, the endless loop issue should have been fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [I] NuttX compile error [nuttx]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on issue #11109: URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789929825 Please remove sudo from your command. -- 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

(nuttx-website) branch asf-site updated: Publishing web: 36ddd7c60a8230335eda886c909bc938739114a2 docs: 2f9c082f8f26a1abcc5484085f329040c7224fda

2023-11-01 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 d8d6a686 Publishing web:

Re: [I] NuttX compile error [nuttx]

2023-11-01 Thread via GitHub
zouboan commented on issue #11109: URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789790980 > why do you invoke configure.sh with sudo? Because there's an error:Operation not permitted. But a few months ago, there's no such error and it does not need sudo --

Re: [PR] Usrsock socket fallback with ENETDOWN [nuttx]

2023-11-01 Thread via GitHub
dlizewski commented on code in PR #11107: URL: https://github.com/apache/nuttx/pull/11107#discussion_r1379343508 ## net/socket/socket.c: ## @@ -104,9 +104,11 @@ int psock_socket(int domain, int type, int protocol, /* When usrsock daemon returns -ENOSYS or -ENOTSUP, it

Re: [PR] tools/configure.c and tools/sethost.sh Add CONFIG_EXPERIMENTAL for configure windows native [nuttx]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on PR #11098: URL: https://github.com/apache/nuttx/pull/11098#issuecomment-1789393179 Ok -- 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

Re: [PR] tools/configure.c and tools/sethost.sh Add CONFIG_EXPERIMENTAL for configure windows native [nuttx]

2023-11-01 Thread via GitHub
simbit18 commented on PR #11098: URL: https://github.com/apache/nuttx/pull/11098#issuecomment-1789383115 @xiaoxiang781216 It is still preferable to leave marked as experimental because it cannot be assured to be fully functional. -- This is an automated message from the Apache Git

Re: [PR] nshlib/nsh_fileapps.c: Remove sched_lock() from nsh_fileapp() [nuttx-apps]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on PR #2159: URL: https://github.com/apache/nuttx-apps/pull/2159#issuecomment-1789303847 but it isn't safe to reclaim other cpu's delay list since the memory held by delay list is the caller's stack in most case. -- This is an automated message from the Apache

Re: [I] NuttX compile error [nuttx]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on issue #11109: URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789297590 why do you invoke configure.sh with sudo? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

(nuttx) branch master updated: fs_epoll: serveral epoll issues fix

2023-11-01 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 2f9c082f8f fs_epoll: serveral epoll issues

Re: [PR] fs_epoll: several epoll problems fix [nuttx]

2023-11-01 Thread via GitHub
xiaoxiang781216 merged PR #10706: URL: https://github.com/apache/nuttx/pull/10706 -- 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] nshlib/nsh_fileapps.c: Remove sched_lock() from nsh_fileapp() [nuttx-apps]

2023-11-01 Thread via GitHub
pussuw commented on PR #2159: URL: https://github.com/apache/nuttx-apps/pull/2159#issuecomment-1789239091 Thanks for the input all, I suspected taking the mm_lock in idle task is a bad idea, thank you for confirming it. So a solution would be to handle mm_delaylist for all

[I] NuttX compile error [nuttx]

2023-11-01 Thread via GitHub
zouboan opened a new issue, #11109: URL: https://github.com/apache/nuttx/issues/11109 Hi: I haven't tested NuttX in a long time. Today I updated my local branch to master branch, but i was surprised to find that the compilation failed. The compilation log is as follows: `

(nuttx) branch master updated: simwifi: Transfer the special characters in ssid.

2023-11-01 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea 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 22d11aafa2 simwifi: Transfer the special

Re: [PR] simwifi: Transfer the special characters in ssid. [nuttx]

2023-11-01 Thread via GitHub
jerpelea merged PR #11108: URL: https://github.com/apache/nuttx/pull/11108 -- 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] nshlib/nsh_fileapps.c: Remove sched_lock() from nsh_fileapp() [nuttx-apps]

2023-11-01 Thread via GitHub
GUIDINGLI commented on PR #2159: URL: https://github.com/apache/nuttx-apps/pull/2159#issuecomment-1789127391 I think there is no more suitable place to release the m_delaylist, so far. And I looked back https://github.com/apache/nuttx/pull/761/, before this PR, the delay_free_list is

Re: [PR] feature: spinlock benchmark [nuttx-apps]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on code in PR #2168: URL: https://github.com/apache/nuttx-apps/pull/2168#discussion_r1378827947 ## benchmarks/spinlock_bench/spinlock_bench.c: ## @@ -0,0 +1,106 @@ +/ + *

Re: [I] Adding OpenThread support for eventual Google Hub/Apple Home device integration... [nuttx]

2023-11-01 Thread via GitHub
maxikrie commented on issue #8830: URL: https://github.com/apache/nuttx/issues/8830#issuecomment-1788935796 Is there any update on integrating OpenThread with nuttx? I have also posted on the mailing list, but I want to make sure this gets visibility here in case somebody is already

Re: [PR] feature: spinlock benchmark [nuttx-apps]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on code in PR #2168: URL: https://github.com/apache/nuttx-apps/pull/2168#discussion_r1378759746 ## benchmarks/spinlock_bench/spinlock_bench.c: ## @@ -0,0 +1,102 @@ +/ + *

Re: [PR] testing/epoll: add epoll test case [nuttx-apps]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on code in PR #2172: URL: https://github.com/apache/nuttx-apps/pull/2172#discussion_r1378748382 ## testing/epoll/epoll.c: ## @@ -0,0 +1,477 @@ +/ + * apps/testing/epoll/epoll.c

Re: [PR] fs_epoll: several epoll problems fix [nuttx]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on code in PR #10706: URL: https://github.com/apache/nuttx/pull/10706#discussion_r1378747374 ## fs/vfs/fs_epoll.c: ## @@ -323,12 +368,47 @@ static int epoll_teardown(FAR epoll_head_t *eph, FAR struct epoll_event *evs,

Re: [PR] fs_epoll: several epoll problems fix [nuttx]

2023-11-01 Thread via GitHub
CV-Bowen commented on code in PR #10706: URL: https://github.com/apache/nuttx/pull/10706#discussion_r1378706704 ## fs/vfs/fs_epoll.c: ## @@ -730,22 +823,28 @@ int epoll_wait(int epfd, FAR struct epoll_event *evs, #endif ret = nxsem_tickwait(>sem, ticks); - if

Re: [PR] fs_epoll: several epoll problems fix [nuttx]

2023-11-01 Thread via GitHub
CV-Bowen commented on code in PR #10706: URL: https://github.com/apache/nuttx/pull/10706#discussion_r1378706278 ## fs/vfs/fs_epoll.c: ## @@ -658,23 +744,29 @@ int epoll_pwait(int epfd, FAR struct epoll_event *evs, #endif ret = nxsem_tickwait(>sem, ticks); - if

Re: [PR] fs_epoll: several epoll problems fix [nuttx]

2023-11-01 Thread via GitHub
CV-Bowen commented on code in PR #10706: URL: https://github.com/apache/nuttx/pull/10706#discussion_r1378700858 ## fs/vfs/fs_epoll.c: ## @@ -323,12 +368,47 @@ static int epoll_teardown(FAR epoll_head_t *eph, FAR struct epoll_event *evs, list_add_tail(>teardown,

[PR] testing/epoll: add epoll test case [nuttx-apps]

2023-11-01 Thread via GitHub
CV-Bowen opened a new pull request, #2172: URL: https://github.com/apache/nuttx-apps/pull/2172 ## Summary case 1: epoll timeout test case 2: driver call poll_notify twice test case 3: local socket epoll test Add epoll test case, related PR:

Re: [PR] feature: spinlock benchmark [nuttx-apps]

2023-11-01 Thread via GitHub
TaiJuWu commented on code in PR #2168: URL: https://github.com/apache/nuttx-apps/pull/2168#discussion_r1378630098 ## benchmarks/spinlock_bench/spinlock_bench.c: ## @@ -0,0 +1,102 @@ +/ + *

Re: [PR] feature: spinlock benchmark [nuttx-apps]

2023-11-01 Thread via GitHub
TaiJuWu commented on code in PR #2168: URL: https://github.com/apache/nuttx-apps/pull/2168#discussion_r1378627448 ## benchmarks/spinlock_bench/spinlock_bench.c: ## @@ -0,0 +1,102 @@ +/ + *

Re: [PR] feature: spinlock benchmark [nuttx-apps]

2023-11-01 Thread via GitHub
TaiJuWu commented on code in PR #2168: URL: https://github.com/apache/nuttx-apps/pull/2168#discussion_r1378627448 ## benchmarks/spinlock_bench/spinlock_bench.c: ## @@ -0,0 +1,102 @@ +/ + *

Re: [PR] feature: spinlock benchmark [nuttx-apps]

2023-11-01 Thread via GitHub
TaiJuWu commented on code in PR #2168: URL: https://github.com/apache/nuttx-apps/pull/2168#discussion_r1378625824 ## benchmarks/spinlock_bench/spinlock_bench.c: ## @@ -0,0 +1,102 @@ +/ + *

Re: [PR] Add missing variables and change to be more intuitive to use [nuttx-apps]

2023-11-01 Thread via GitHub
xiaoxiang781216 commented on code in PR #2171: URL: https://github.com/apache/nuttx-apps/pull/2171#discussion_r1378622996 ## examples/serialrx/serialrx_main.c: ## @@ -118,8 +118,7 @@ int main(int argc, FAR char *argv[]) while (cnt < bytecount) { #ifdef

Re: [PR] nshlib/nsh_fileapps.c: Remove sched_lock() from nsh_fileapp() [nuttx-apps]

2023-11-01 Thread via GitHub
masayuki2009 commented on PR #2159: URL: https://github.com/apache/nuttx-apps/pull/2159#issuecomment-1788633150 As long as I investigated m_delaylist related code, it was introduced in https://github.com/apache/nuttx/pull/761 and then fixed for SMP in

[PR] simwifi: Transfer the special characters in ssid. [nuttx]

2023-11-01 Thread via GitHub
liqinhuixm opened a new pull request, #11108: URL: https://github.com/apache/nuttx/pull/11108 ## Summary The SSID can be configured with special symbols suach as single quotations, double quotations and backslashes, which need to be escaped. ## Impact N/A ## Testing