Re: [I] Failed to build simulator [nuttx]

2023-11-10 Thread via GitHub
mildsky commented on issue #11163: URL: https://github.com/apache/nuttx/issues/11163#issuecomment-1806736376 I didn't add manually, but after I tried to add it, `CONFIG_SCHED_CPULOAD_TIMECONSTANT` was properly setted as 2. But, there are still some bugs that I can't understand. here are

Re: [I] Problem with SMP and mm_delaylist [nuttx]

2023-11-10 Thread via GitHub
xiaoxiang781216 commented on issue #5: URL: https://github.com/apache/nuttx/issues/5#issuecomment-1806733524 no, we can't, you can get more info from: https://github.com/apache/nuttx/pull/4029 -- This is an automated message from the Apache Git Service. To respond to the message,

Re: [PR] matter: add compile support for NuttX [nuttx-apps]

2023-11-10 Thread via GitHub
xiaoxiang781216 commented on code in PR #2186: URL: https://github.com/apache/nuttx-apps/pull/2186#discussion_r1390106873 ## netutils/connectedhomeip/CMakeLists.txt: ## @@ -0,0 +1,248 @@ +# ## +#

Re: [I] Problem with SMP and mm_delaylist [nuttx]

2023-11-10 Thread via GitHub
TaiJuWu commented on issue #5: URL: https://github.com/apache/nuttx/issues/5#issuecomment-1806659172 Current [mm_delay_list](https://github.com/apache/nuttx/blob/b6e09955ddae3484251c632501375ce6e5006295/mm/mm_heap/mm_free.c#L48) is protected by spinlock and only one CPU can operate

(nuttx-apps) branch master updated: add short command-line arguments and record execution time

2023-11-10 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-apps.git The following commit(s) were added to refs/heads/master by this push: new ac64c7d14 add short command-line

Re: [PR] add short command-line arguments and record execution time [nuttx-apps]

2023-11-10 Thread via GitHub
xiaoxiang781216 merged PR #2187: URL: https://github.com/apache/nuttx-apps/pull/2187 -- 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: examples/thttpd: Remove TCB_FLAG_CANCEL stuff

2023-11-10 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-apps.git The following commit(s) were added to refs/heads/master by this push: new f32b4c7f9 examples/thttpd: Remove

Re: [PR] examples/thttpd: Remove TCB_FLAG_CANCEL stuff [nuttx-apps]

2023-11-10 Thread via GitHub
xiaoxiang781216 merged PR #2188: URL: https://github.com/apache/nuttx-apps/pull/2188 -- 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-website) branch asf-site updated: Publishing web: 36ddd7c60a8230335eda886c909bc938739114a2 docs: b6e09955ddae3484251c632501375ce6e5006295

2023-11-10 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 cf4acc42 Publishing web:

Re: [I] Failed to build simulator [nuttx]

2023-11-10 Thread via GitHub
acassis commented on issue #11163: URL: https://github.com/apache/nuttx/issues/11163#issuecomment-1806293040 @mildsky there is something wrong on your config! sched_cpuload.c is only compiled when CONFIG_SCHED_CPULOAD is enabled and by default it is disabled: ``` $ cat .config | grep

(nuttx) branch master updated (122558a1de -> b6e09955dd)

2023-11-10 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 122558a1de arch/armv8-m: Fix typo error for NVIC_SYSHCON_HARDFAULTPENDED new cc10c54f6c xtensa/esp32s3: Support

(nuttx) 01/02: xtensa/esp32s3: Support partition and OTA device

2023-11-10 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 cc10c54f6c14e449d9a67162ff71aa4c6f7228cd Author: chen...@espressif.com AuthorDate: Sat Oct 7 18:06:01 2023 +0800

(nuttx) 02/02: xtensa/esp32s3: Support multiple PHY init data bin

2023-11-10 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 b6e09955ddae3484251c632501375ce6e5006295 Author: chen...@espressif.com AuthorDate: Sun Oct 8 16:08:24 2023 +0800

Re: [PR] xtensa/esp32s3: Support multiple PHY init data bin [nuttx]

2023-11-10 Thread via GitHub
acassis merged PR #11157: URL: https://github.com/apache/nuttx/pull/11157 -- 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] task/pthread_cancelpt: Move cancel point handling to libc, data to TLS [nuttx]

2023-11-10 Thread via GitHub
acassis commented on PR #11165: URL: https://github.com/apache/nuttx/pull/11165#issuecomment-1806267343 @pussuw what are the pros and cons of moving the cancellation points to user space/libc ? -- This is an automated message from the Apache Git Service. To respond to the message, please

(nuttx) branch master updated: arch/armv8-m: Fix typo error for NVIC_SYSHCON_HARDFAULTPENDED

2023-11-10 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 122558a1de arch/armv8-m: Fix typo error for

Re: [PR] arch/armv8-m: Fix typo error for NVIC_SYSHCON_HARDFAULTPENDED [nuttx]

2023-11-10 Thread via GitHub
acassis merged PR #11166: URL: https://github.com/apache/nuttx/pull/11166 -- 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] Add Settings Utility and Example App [nuttx-apps]

2023-11-10 Thread via GitHub
TimJTi commented on code in PR #2178: URL: https://github.com/apache/nuttx-apps/pull/2178#discussion_r1389711438 ## system/settings/settings.c: ## @@ -0,0 +1,1432 @@ +/ + *

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-10 Thread via GitHub
TaiJuWu commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1389670491 ## fs/inode/fs_files.c: ## @@ -51,59 +52,118 @@ * Private Functions /

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-10 Thread via GitHub
TaiJuWu commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1389670491 ## fs/inode/fs_files.c: ## @@ -51,59 +52,118 @@ * Private Functions /

Re: [PR] driver/usbdev: Solve some problems of USB hotplug [nuttx]

2023-11-10 Thread via GitHub
hartmannathan commented on code in PR #11161: URL: https://github.com/apache/nuttx/pull/11161#discussion_r1389611441 ## arch/sim/src/sim/posix/sim_rawgadget.c: ## @@ -621,8 +638,13 @@ static void *host_raw_ephandle(void *arg) struct usb_raw_gadget_dev_t *dev =

(nuttx) branch master updated (63182d43b9 -> a92bd5d081)

2023-11-10 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 63182d43b9 libm/newlib: Change the download site to https add 54b4cd3bf3 imxrt:Serial Do not wait on TXDMA

Re: [PR] NXP Serial Do not wait on TXDMA semaphore [nuttx]

2023-11-10 Thread via GitHub
xiaoxiang781216 merged PR #11164: URL: https://github.com/apache/nuttx/pull/11164 -- 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:

[PR] arch/armv8-m: Fix typo error for NVIC_SYSHCON_HARDFAULTPENDED [nuttx]

2023-11-10 Thread via GitHub
xiaoxiang781216 opened a new pull request, #11166: URL: https://github.com/apache/nuttx/pull/11166 ## Summary and the comment too ## Impact minor ## Testing ci -- This is an automated message from the Apache Git Service. To respond to the message, please

[PR] examples/thttpd: Remove TCB_FLAG_CANCEL stuff [nuttx-apps]

2023-11-10 Thread via GitHub
pussuw opened a new pull request, #2188: URL: https://github.com/apache/nuttx-apps/pull/2188 ## Summary The flags are removed from kernel side, needed by https://github.com/apache/nuttx/pull/11165 -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] task/pthread_cancelpt: Move cancel point handling to libc, data to TLS [nuttx]

2023-11-10 Thread via GitHub
pussuw commented on code in PR #11165: URL: https://github.com/apache/nuttx/pull/11165#discussion_r1389263469 ## libs/libc/sched/task_setcanceltype.c: ## @@ -46,14 +54,70 @@ int task_setcanceltype(int type, FAR int *oldtype) { + FAR struct tls_info_s *tls = tls_get_info();

Re: [PR] task/pthread_cancelpt: Move cancel point handling to libc, data to TLS [nuttx]

2023-11-10 Thread via GitHub
pussuw commented on code in PR #11165: URL: https://github.com/apache/nuttx/pull/11165#discussion_r1389261277 ## include/nuttx/tls.h: ## @@ -309,9 +315,28 @@ uintptr_t task_tls_get_value(int tlsindex); #elif defined(CONFIG_TLS_ALIGNED) && !defined(__KERNEL__) Review Comment:

Re: [PR] task/pthread_cancelpt: Move cancel point handling to libc, data to TLS [nuttx]

2023-11-10 Thread via GitHub
pussuw commented on PR #11165: URL: https://github.com/apache/nuttx/pull/11165#issuecomment-1805515910 @pkarashchenko @patacongo You might be interested in this. Also, do you mind if I remove the nested cancellation point logic now as well ? -- This is an automated message from the

[PR] task/pthread_cancelpt: Move cancel point handling to libc, data to TLS [nuttx]

2023-11-10 Thread via GitHub
pussuw opened a new pull request, #11165: URL: https://github.com/apache/nuttx/pull/11165 ## Summary This moves task / thread cancel point logic from the NuttX kernel into libc, while the data needed by the cancel point logic is moved to TLS. Why do it ? The change is an

[PR] add short command-line arguments and record execution time [nuttx-apps]

2023-11-10 Thread via GitHub
zhangchao53 opened a new pull request, #2187: URL: https://github.com/apache/nuttx-apps/pull/2187 ## Summary ## Impact ## Testing -- 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

[PR] NXP Serial Do not wait on TXDMA semaphore [nuttx]

2023-11-10 Thread via GitHub
davids5 opened a new pull request, #11164: URL: https://github.com/apache/nuttx/pull/11164 ## Summary If using flow control with a high CTS the thread may be blocked forever on the second transmit attempt due to waiting on the txdma semaphore. The calling thread can

(nuttx) branch master updated: libm/newlib: Change the download site to https

2023-11-10 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 63182d43b9 libm/newlib: Change the download

Re: [PR] libm/newlib: Change the download site to https [nuttx]

2023-11-10 Thread via GitHub
xiaoxiang781216 merged PR #11162: URL: https://github.com/apache/nuttx/pull/11162 -- 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) branch master updated: arch/textheap: add _heapmember declare for text and data heap

2023-11-10 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 1fc3de4518 arch/textheap: add _heapmember

Re: [PR] arch/textheap: add _heapmember declare for text and data heap [nuttx]

2023-11-10 Thread via GitHub
jerpelea merged PR #11160: URL: https://github.com/apache/nuttx/pull/11160 -- 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: