[GitHub] [incubator-nuttx] eenurkka opened a new pull request, #6395: Mpfs composite

2022-06-09 Thread GitBox
eenurkka opened a new pull request, #6395: URL: https://github.com/apache/incubator-nuttx/pull/6395 ## Summary This adds USB composite (CDC/ACM and Mass Storage) support for MPFS ## Impact New features ## Testing Polarfire MPFS board with Linux and Windows 1

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6376: nuttx/mutex: do not use non-nx interface in kernel except libs

2022-06-09 Thread GitBox
xiaoxiang781216 commented on code in PR #6376: URL: https://github.com/apache/incubator-nuttx/pull/6376#discussion_r893111869 ## include/mutex.h: ## @@ -0,0 +1,522 @@ +/ + * include/mutex.h + * + * Licen

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6376: nuttx/mutex: do not use non-nx interface in kernel except libs

2022-06-09 Thread GitBox
pkarashchenko commented on code in PR #6376: URL: https://github.com/apache/incubator-nuttx/pull/6376#discussion_r893222865 ## include/mutex.h: ## @@ -0,0 +1,522 @@ +/ + * include/mutex.h + * + * License

[GitHub] [incubator-nuttx] jlaitine opened a new pull request, #6396: Mpfs fix ddr training failures

2022-06-09 Thread GitBox
jlaitine opened a new pull request, #6396: URL: https://github.com/apache/incubator-nuttx/pull/6396 ## Summary This fixes silently ignoring DDR training failure for MPFS target. If the training fails, it is better to reset the whole system and try again. ## Impact Silent

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6376: nuttx/mutex: do not use non-nx interface in kernel except libs

2022-06-09 Thread GitBox
xiaoxiang781216 commented on code in PR #6376: URL: https://github.com/apache/incubator-nuttx/pull/6376#discussion_r893228330 ## include/mutex.h: ## @@ -0,0 +1,522 @@ +/ + * include/mutex.h + * + * Licen

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6376: nuttx/mutex: do not use non-nx interface in kernel except libs

2022-06-09 Thread GitBox
pkarashchenko commented on code in PR #6376: URL: https://github.com/apache/incubator-nuttx/pull/6376#discussion_r893246900 ## include/mutex.h: ## @@ -0,0 +1,522 @@ +/ + * include/mutex.h + * + * License

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
anchao commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893247614 ## include/sys/types.h: ## @@ -158,7 +158,7 @@ typedef int id_t; * semaphores. A key is simply an integer of type key_t */ -typedef int16_t ke

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request, #6397: esp32c3/Kconfig: Remove duplicate wireless config

2022-06-09 Thread GitBox
Ouss4 opened a new pull request, #6397: URL: https://github.com/apache/incubator-nuttx/pull/6397 ## Summary Remove duplicate wireless config. ## Impact N/A ## Testing N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log o

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6376: nuttx/mutex: do not use non-nx interface in kernel except libs

2022-06-09 Thread GitBox
pkarashchenko commented on code in PR #6376: URL: https://github.com/apache/incubator-nuttx/pull/6376#discussion_r893246900 ## include/mutex.h: ## @@ -0,0 +1,522 @@ +/ + * include/mutex.h + * + * License

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
pkarashchenko commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893259563 ## include/sys/ipc.h: ## @@ -35,10 +35,10 @@ /* Mode bits: The lower order 9-bit bits are the standard mode bits */ -#define IPC_MODE0x01ff /

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #6392: sched/mqueue: remove sched_lock to improve performance

2022-06-09 Thread GitBox
masayuki2009 commented on PR #6392: URL: https://github.com/apache/incubator-nuttx/pull/6392#issuecomment-1150897821 As long as I look into the code, the code seems to be protected by critical sections. However, we need more testing. -- This is an automated message from the Apache

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6398: net/tcp: wave hands on background

2022-06-09 Thread GitBox
anchao opened a new pull request, #6398: URL: https://github.com/apache/incubator-nuttx/pull/6398 ## Summary net/tcp: wave hands on background The time consuming of tcp waving hands(close(2)) will be affected by network jitter, especially the wireless device cannot re

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6392: sched/mqueue: remove sched_lock to improve performance

2022-06-09 Thread GitBox
xiaoxiang781216 commented on code in PR #6392: URL: https://github.com/apache/incubator-nuttx/pull/6392#discussion_r893245427 ## sched/mqueue/mq_notify.c: ## @@ -114,13 +114,9 @@ int mq_notify(mqd_t mqdes, FAR const struct sigevent *notification) /* No.. return EBADF */

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6376: nuttx/mutex: do not use non-nx interface in kernel except libs

2022-06-09 Thread GitBox
xiaoxiang781216 commented on PR #6376: URL: https://github.com/apache/incubator-nuttx/pull/6376#issuecomment-1150909206 > The issue of naming conflict comes from: `#include ` -> `#include ` -> `#include ` because `struct file_struct` has member `rmutex_t fs_lock;` It's hard to fix:(

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
anchao commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893317118 ## include/sys/ipc.h: ## @@ -35,10 +35,10 @@ /* Mode bits: The lower order 9-bit bits are the standard mode bits */ -#define IPC_MODE0x01ff /* Mode

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6398: net/tcp: wave hands on background

2022-06-09 Thread GitBox
xiaoxiang781216 commented on code in PR #6398: URL: https://github.com/apache/incubator-nuttx/pull/6398#discussion_r893319766 ## net/tcp/tcp_close.c: ## @@ -40,21 +40,29 @@ #include "socket/socket.h" /**

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6398: net/tcp: wave hands on background

2022-06-09 Thread GitBox
anchao commented on code in PR #6398: URL: https://github.com/apache/incubator-nuttx/pull/6398#discussion_r893328660 ## net/tcp/tcp_close.c: ## @@ -40,21 +40,29 @@ #include "socket/socket.h" / - * Pr

[incubator-nuttx] branch master updated: esp32c3/Kconfig: Remove duplicate wireless config

2022-06-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/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 326183bbbc esp32c3/Kconfig: Remove d

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6397: esp32c3/Kconfig: Remove duplicate wireless config

2022-06-09 Thread GitBox
xiaoxiang781216 merged PR #6397: URL: https://github.com/apache/incubator-nuttx/pull/6397 -- 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-unsubs

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
anchao commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893433953 ## include/sys/ipc.h: ## @@ -35,10 +35,10 @@ /* Mode bits: The lower order 9-bit bits are the standard mode bits */ -#define IPC_MODE0x01ff /* Mode

[GitHub] [incubator-nuttx] acassis merged pull request #6396: Mpfs fix ddr training failures

2022-06-09 Thread GitBox
acassis merged PR #6396: URL: https://github.com/apache/incubator-nuttx/pull/6396 -- 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

[incubator-nuttx] branch master updated: arch/risc-v/src/mpfs/mpfs_start.c: Don't boot if DDR is enabled and training fails

2022-06-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/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new b7a1b75a3b arch/risc-v/src/mpfs/mpfs_s

[GitHub] [incubator-nuttx] slorquet opened a new pull request, #6399: Packet dropped in IPv4/v6 input is now an info, not a warning

2022-06-09 Thread GitBox
slorquet opened a new pull request, #6399: URL: https://github.com/apache/incubator-nuttx/pull/6399 ## Summary When an IP (v4/v6) packet is not for us, we get a warning on the console. Turn this into an info so the debug output is less verbose. ## Impact None ## Testing

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6392: sched/mqueue: remove sched_lock to improve performance

2022-06-09 Thread GitBox
anchao commented on code in PR #6392: URL: https://github.com/apache/incubator-nuttx/pull/6392#discussion_r893452094 ## sched/mqueue/mq_notify.c: ## @@ -114,13 +114,9 @@ int mq_notify(mqd_t mqdes, FAR const struct sigevent *notification) /* No.. return EBADF */

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6395: risc-v/mpfs: composite usb driver

2022-06-09 Thread GitBox
xiaoxiang781216 merged PR #6395: URL: https://github.com/apache/incubator-nuttx/pull/6395 -- 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-unsubs

[incubator-nuttx] branch master updated (b7a1b75a3b -> 39d389545e)

2022-06-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/incubator-nuttx.git from b7a1b75a3b arch/risc-v/src/mpfs/mpfs_start.c: Don't boot if DDR is enabled and training fails add 9f

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
xiaoxiang781216 commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893466926 ## include/sys/types.h: ## @@ -158,7 +158,7 @@ typedef int id_t; * semaphores. A key is simply an integer of type key_t */ -typedef int16_

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
pkarashchenko commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893473593 ## include/sys/types.h: ## @@ -158,7 +158,7 @@ typedef int id_t; * semaphores. A key is simply an integer of type key_t */ -typedef int16_t

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
anchao commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893478625 ## include/sys/types.h: ## @@ -158,7 +158,7 @@ typedef int id_t; * semaphores. A key is simply an integer of type key_t */ -typedef int16_t ke

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request, #6400: ESP32-C3: Disable access to invalid memory regions using MPU

2022-06-09 Thread GitBox
gustavonihei opened a new pull request, #6400: URL: https://github.com/apache/incubator-nuttx/pull/6400 ## Summary This PR intends to configure the MPU during startup for disabling access to invalid memory regions. ## Impact ESP32-C3 only. Although `ESP32C3_REGION_PROTECTION` is

[GitHub] [incubator-nuttx] Ouss4 merged pull request #6399: Packet dropped in IPv4/v6 input is now an info, not a warning

2022-06-09 Thread GitBox
Ouss4 merged PR #6399: URL: https://github.com/apache/incubator-nuttx/pull/6399 -- 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...@nutt

[incubator-nuttx] branch master updated (39d389545e -> 6bd36d64e3)

2022-06-09 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 39d389545e risc-v/mpfs: usb: add composite support add 6bd36d64e3 Packet dropped in IPv4/v6 input i

[GitHub] [incubator-nuttx] slorquet commented on pull request #6399: Packet dropped in IPv4/v6 input is now an info, not a warning

2022-06-09 Thread GitBox
slorquet commented on PR #6399: URL: https://github.com/apache/incubator-nuttx/pull/6399#issuecomment-1151243038 yay, thanks! -- 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.

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6398: net/tcp: wave hands on background

2022-06-09 Thread GitBox
pkarashchenko merged PR #6398: URL: https://github.com/apache/incubator-nuttx/pull/6398 -- 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

[incubator-nuttx] branch master updated: net/tcp: wave hands on background

2022-06-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/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 0636c17a63 net/tcp: wave hands o

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6389: libc/ipc: add ftok(3) support

2022-06-09 Thread GitBox
pkarashchenko merged PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389 -- 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

[incubator-nuttx] branch master updated (0636c17a63 -> 644283c8ff)

2022-06-09 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 0636c17a63 net/tcp: wave hands on background new 795884dbf1 sys/ipc: correct definition value of

[incubator-nuttx] 02/02: libc/ipc: add ftok(3) support

2022-06-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/incubator-nuttx.git commit 644283c8fff7c1c6262d2ec41dc7cfb3fed9e839 Author: chao.an AuthorDate: Mon May 16 11:25:37 2022 +0800

[incubator-nuttx] 01/02: sys/ipc: correct definition value of IPC_*

2022-06-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/incubator-nuttx.git commit 795884dbf1cbf584ea3455c634d8e289eb04d424 Author: chao.an AuthorDate: Wed Jun 8 13:56:13 2022 +0800

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6393: mqueue: minor code tuning of message queue to improve the performance

2022-06-09 Thread GitBox
xiaoxiang781216 commented on code in PR #6393: URL: https://github.com/apache/incubator-nuttx/pull/6393#discussion_r893792679 ## sched/Kconfig: ## @@ -1585,6 +1585,12 @@ config MQ_MAXMSGSIZE Message structures are allocated with a fixed payload size given by thi

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6393: mqueue: minor code tuning of message queue to improve the performance

2022-06-09 Thread GitBox
xiaoxiang781216 commented on PR #6393: URL: https://github.com/apache/incubator-nuttx/pull/6393#issuecomment-1151418388 @anchao it's better to split the independent patch to different PR to boost review. -- This is an automated message from the Apache Git Service. To respond to the messag

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6400: ESP32-C3: Disable access to invalid memory regions using MPU

2022-06-09 Thread GitBox
xiaoxiang781216 commented on PR #6400: URL: https://github.com/apache/incubator-nuttx/pull/6400#issuecomment-1151423042 @gustavonihei there is the recursive error: ``` Kconfig:225:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.tx

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6378: SSD1680 e-ink driver

2022-06-09 Thread GitBox
xiaoxiang781216 commented on PR #6378: URL: https://github.com/apache/incubator-nuttx/pull/6378#issuecomment-1151423702 @adamkaliszan CONFIG_LCD_SSD1680_2_9=y is redundant setting -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHu

[GitHub] [incubator-nuttx] acassis commented on pull request #6378: SSD1680 e-ink driver

2022-06-09 Thread GitBox
acassis commented on PR #6378: URL: https://github.com/apache/incubator-nuttx/pull/6378#issuecomment-1151427580 @adamkaliszan your fb defconfig still incorrect, you need to Normalize it using the refresh.sh script, then you will see that this option was removed: ``` diff --git a/boards

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #6392: sched/mqueue: remove sched_lock to improve performance

2022-06-09 Thread GitBox
masayuki2009 merged PR #6392: URL: https://github.com/apache/incubator-nuttx/pull/6392 -- 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.

[incubator-nuttx] branch master updated: sched/mqueue: remove sched_lock to improve performance

2022-06-09 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new f5d4571abc sched/mqueue: remove sched

[incubator-nuttx-website] branch asf-site updated: Publishing web: 42e9e27963415ec1359277228669d6b9c71c48d1 docs: f5d4571abc002b7560d5d3ab11b0cddcd6d0ce8e

2022-06-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/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new ae85fa4 Publishing web

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6401: fs/mqueue: skip nxmq_pollnotify() if no poll waiters

2022-06-09 Thread GitBox
anchao opened a new pull request, #6401: URL: https://github.com/apache/incubator-nuttx/pull/6401 ## Summary fs/mqueue: skip nxmq_pollnotify() if no poll waiters ## Impact ## Testing mq_send performance test (cycle count) ``` 434 (origin) 425 (

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6402: sched/mqueue: minor code tuning of message queue

2022-06-09 Thread GitBox
anchao opened a new pull request, #6402: URL: https://github.com/apache/incubator-nuttx/pull/6402 ## Summary sched/mqueue: minor code tuning of message queue ``` remove unnecessary temporary variables adjust the protection scope of the critical section ``` ## Impact

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6403: sched/mqueue: configurable mqueue notification

2022-06-09 Thread GitBox
anchao opened a new pull request, #6403: URL: https://github.com/apache/incubator-nuttx/pull/6403 ## Summary sched/mqueue: configurable mqueue notification ## Impact N/A ## Testing mq_send performance test (cycle count) -- This is an automated message fro

[GitHub] [incubator-nuttx-apps] nimish opened a new issue, #1190: EXAMPLES_ELF_CXX requires CXX_EXCEPTION

2022-06-09 Thread GitBox
nimish opened a new issue, #1190: URL: https://github.com/apache/incubator-nuttx-apps/issues/1190 https://github.com/apache/incubator-nuttx-apps/blob/f55523038db31c44f031f910c06c36b361e2152a/examples/elf/tests/helloxx/Makefile#L65 These two examples will fail to compile if exceptions

[GitHub] [incubator-nuttx-apps] nimish opened a new pull request, #1191: Address #190

2022-06-09 Thread GitBox
nimish opened a new pull request, #1191: URL: https://github.com/apache/incubator-nuttx-apps/pull/1191 Should guard against these being included if exception support isn't there ## Summary https://github.com/apache/incubator-nuttx-apps/issues/1190 these two require exception suppor

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on a diff in pull request #1191: Address #1190 -- EXAMPLES_ELF_CXX broken w/o exceptions

2022-06-09 Thread GitBox
pkarashchenko commented on code in PR #1191: URL: https://github.com/apache/incubator-nuttx-apps/pull/1191#discussion_r894177877 ## examples/elf/tests/helloxx/Makefile: ## @@ -110,10 +110,11 @@ $(BIN3): $(OBJS3) $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ)