[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5821: Warning fix

2022-03-21 Thread GitBox
pkarashchenko merged pull request #5821: URL: https://github.com/apache/incubator-nuttx/pull/5821 -- 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:

[GitHub] [incubator-nuttx-apps] pkarashchenko merged pull request #1085: wireless/wapi: Fix warning: 'strncpy' specified bound 16 equals destination size

2022-03-21 Thread GitBox
pkarashchenko merged pull request #1085: URL: https://github.com/apache/incubator-nuttx-apps/pull/1085 -- 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-m

[incubator-nuttx-apps] branch master updated: wireless/wapi: Fix warning: 'strncpy' specified bound 16 equals destination size

2022-03-21 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-apps.git The following commit(s) were added to refs/heads/master by this push: new 2fc7c67 wireless/wapi: Fix

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request #1085: wireless/wapi: Fix warning: 'strncpy' specified bound 16 equals destination size

2022-03-21 Thread GitBox
xiaoxiang781216 opened a new pull request #1085: URL: https://github.com/apache/incubator-nuttx-apps/pull/1085 ## Summary Continue the work https://github.com/apache/incubator-nuttx/pull/5476: ## Impact Minor ## Testing Pass CI -- This is an automated message fr

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5821: Warning fix

2022-03-21 Thread GitBox
xiaoxiang781216 opened a new pull request #5821: URL: https://github.com/apache/incubator-nuttx/pull/5821 ## Summary Continue the work https://github.com/apache/incubator-nuttx/pull/5476: - Fix libelf/libelf_coredump.c:234:7: warning: 'strncpy' output may be truncated copying 16 b

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5819: pid_t: unify usage of special task IDs

2022-03-21 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819#discussion_r831718956 ## File path: drivers/syslog/syslog_device.c ## @@ -768,9 +768,10 @@ void syslog_dev_uninitialize(FAR struct syslog_channel_s *channel)

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5815: defconfig: add Lua configs for sim and teensy-4.x

2022-03-21 Thread GitBox
xiaoxiang781216 commented on pull request #5815: URL: https://github.com/apache/incubator-nuttx/pull/5815#issuecomment-1074662626 @mogenson look like awk in CI machine is different from yours: ``` awk: syntax error at source line 1 context is { if >>> (match($0,/LUA_[A-Z]+

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1084: system/cfgdata: implement "format" option

2022-03-21 Thread GitBox
xiaoxiang781216 merged pull request #1084: URL: https://github.com/apache/incubator-nuttx-apps/pull/1084 -- 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

[incubator-nuttx-apps] branch master updated: system/cfgdata: implement "format" option

2022-03-21 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-apps.git The following commit(s) were added to refs/heads/master by this push: new c88dd4b system/cfgdata: implem

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5820: xtensa/esp32(s2)_user.c: Use macros defined in xtens_corebits.h

2022-03-21 Thread GitBox
xiaoxiang781216 merged pull request #5820: URL: https://github.com/apache/incubator-nuttx/pull/5820 -- 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

[incubator-nuttx] branch master updated: drivers/mtd/mtd_config: set different format versions for named and ID modes

2022-03-21 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 b7c4746 drivers/mtd/mtd_config: set

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5816: drivers/mtd/mtd_config: set different format versions for named and ID modes

2022-03-21 Thread GitBox
xiaoxiang781216 merged pull request #5816: URL: https://github.com/apache/incubator-nuttx/pull/5816 -- 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

[incubator-nuttx] branch master updated: env_dup: Allocate memory from the correct memory pool

2022-03-21 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 3581668 env_dup: Allocate memory fr

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5814: env_dup: Allocate memory from the correct memory pool

2022-03-21 Thread GitBox
xiaoxiang781216 merged pull request #5814: URL: https://github.com/apache/incubator-nuttx/pull/5814 -- 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

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5819: pid_t: unify usage of special task IDs

2022-03-21 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819#discussion_r831707115 ## File path: include/nuttx/sched.h ## @@ -79,7 +79,7 @@ /* Special task IDS. Any negative PID is invalid. */ -#define NULL_TASK_PRO

[incubator-nuttx] branch master updated: boards/arm/same70-qmtech: Remove dead code

2022-03-21 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 9a9a06d boards/arm/same70-qmtech: R

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5817: boards/arm/same70-qmtech: Remove dead code

2022-03-21 Thread GitBox
xiaoxiang781216 merged pull request #5817: URL: https://github.com/apache/incubator-nuttx/pull/5817 -- 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

[incubator-nuttx-website] branch asf-site updated: Publishing web: 1b39f27b512cbb1fc294b70e0e70a67d0092b98d docs: 954ff496b42165beaa056a97c589cee856bccd39

2022-03-21 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 5fec538 Publishing web

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #5820: xtensa/esp32(s2)_user.c: Use macros defined in xtens_corebits.h

2022-03-21 Thread GitBox
Ouss4 opened a new pull request #5820: URL: https://github.com/apache/incubator-nuttx/pull/5820 ## Summary For EXCCAUSE values, use macros defined in xtensa_corebits.h instead of those defined in core.h as they are deprecated. ## Impact N/A ## Testing ESP32 & ESP32-S2

[GitHub] [incubator-nuttx] pkarashchenko opened a new pull request #5819: pid_t: unify usage of special task IDs

2022-03-21 Thread GitBox
pkarashchenko opened a new pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819 ## Summary Unify usage of special task IDs ## Impact None. Refactoring only ## Testing Pass CI -- This is an automated message from the Apache Git Service. To res

[GitHub] [incubator-nuttx-apps] pkarashchenko opened a new pull request #1084: system/cfgdata: implement "format" option

2022-03-21 Thread GitBox
pkarashchenko opened a new pull request #1084: URL: https://github.com/apache/incubator-nuttx-apps/pull/1084 ## Summary Implement `"format"` option for `cfgdata` tool. ## Impact None. New option added ## Testing Pass CI -- This is an automated message from the Apach

[GitHub] [incubator-nuttx] pkarashchenko opened a new pull request #5818: progmem: eliminate PROGMEM_ERASESTATE configuration option

2022-03-21 Thread GitBox
pkarashchenko opened a new pull request #5818: URL: https://github.com/apache/incubator-nuttx/pull/5818 ## Summary Eliminate PROGMEM_ERASESTATE configuration option by implementing `up_progmem_erasestate()` interface for all architecture that implement progmem interface. ## Impac

[GitHub] [incubator-nuttx] pkarashchenko opened a new pull request #5817: boards/arm/same70-qmtech: Remove dead code

2022-03-21 Thread GitBox
pkarashchenko opened a new pull request #5817: URL: https://github.com/apache/incubator-nuttx/pull/5817 ## Summary Remove dead code ## Impact None ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the message, please log o

[GitHub] [incubator-nuttx] pkarashchenko opened a new pull request #5816: drivers/mtd/mtd_config: set different format versions for named and ID modes

2022-03-21 Thread GitBox
pkarashchenko opened a new pull request #5816: URL: https://github.com/apache/incubator-nuttx/pull/5816 ## Summary Currently the same format version value is used for both named and ID based modes for MTD config device. This leads to a situation when ID mode is used and configuration is

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
patacongo edited a comment on issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811#issuecomment-1074079286 I understand. I'm glad we agree, but reality and the practical nature of business usually make the decisions for us. There is some on-demand page logic in p

[GitHub] [incubator-nuttx] jlaitine closed pull request #5813: Try fix ci

2022-03-21 Thread GitBox
jlaitine closed pull request #5813: URL: https://github.com/apache/incubator-nuttx/pull/5813 -- 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: commi

[GitHub] [incubator-nuttx] jlaitine commented on a change in pull request #5813: Try fix ci

2022-03-21 Thread GitBox
jlaitine commented on a change in pull request #5813: URL: https://github.com/apache/incubator-nuttx/pull/5813#discussion_r831295110 ## File path: .github/workflows/build.yml ## @@ -63,13 +63,13 @@ jobs: # Determine the repo and leave that unset to use the normal

[GitHub] [incubator-nuttx] patacongo commented on issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
patacongo commented on issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811#issuecomment-1074079286 I understand. I'm glad we agree, but reality and the practical nature of business usually makes the decisions for us. There is some on-demand page logic in place,

[GitHub] [incubator-nuttx] mogenson opened a new pull request #5815: defconfig: add Lua configs for sim and teensy-4.x

2022-03-21 Thread GitBox
mogenson opened a new pull request #5815: URL: https://github.com/apache/incubator-nuttx/pull/5815 ## Summary Add defconfigs for `sim:lua` and `teensy-4.x:lua-4.1` to use the newly added [Lua interpreter](https://github.com/apache/incubator-nuttx-apps/pull/1075). ## Impact

[GitHub] [incubator-nuttx] pussuw commented on issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
pussuw commented on issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811#issuecomment-1073992742 Thank you for your response, it is very much appreciated. To give a bit of context, I'm implementing kernel build support for RISC-V. I'm very close to something functional,

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
patacongo edited a comment on issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811#issuecomment-1073977417 I did the very original KERNEL build logic, lots of changes have happened since that I am not aware of so, unfortunately, I am probably not such a technical source

[GitHub] [incubator-nuttx] patacongo commented on issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
patacongo commented on issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811#issuecomment-1073977417 I did the very original KERNEL build logic, lots of changes have happened since that I am not aware of so, unfortunately, I am probably not such a technical source. I co

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5814: env_dup: Allocate memory from the correct memory pool

2022-03-21 Thread GitBox
xiaoxiang781216 commented on pull request #5814: URL: https://github.com/apache/incubator-nuttx/pull/5814#issuecomment-1073970099 Maybe the best place is put into user space stack just like argument. -- This is an automated message from the Apache Git Service. To respond to the message, p

[incubator-nuttx] branch master updated: esp32s3-devkit/spiflash: Use SmartFS instead of LittleFS.

2022-03-21 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 954ff49 esp32s3-devkit/spiflash: Us

[GitHub] [incubator-nuttx] pussuw opened a new pull request #5814: env_dup: Allocate memory from the correct memory pool

2022-03-21 Thread GitBox
pussuw opened a new pull request #5814: URL: https://github.com/apache/incubator-nuttx/pull/5814 When the initial proxy task is duplicated into the first user task, the environment exists in kernel memory and this must be copied to user memory. The memory allocated for the new t

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #5813: Try fix ci

2022-03-21 Thread GitBox
Ouss4 commented on a change in pull request #5813: URL: https://github.com/apache/incubator-nuttx/pull/5813#discussion_r831161114 ## File path: .github/workflows/build.yml ## @@ -63,13 +63,13 @@ jobs: # Determine the repo and leave that unset to use the normal che

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5812: esp32s3-devkit/spiflash: Use SmartFS instead of LittleFS.

2022-03-21 Thread GitBox
xiaoxiang781216 merged pull request #5812: URL: https://github.com/apache/incubator-nuttx/pull/5812 -- 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

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5813: Try fix ci

2022-03-21 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5813: URL: https://github.com/apache/incubator-nuttx/pull/5813#discussion_r831128186 ## File path: .github/workflows/build.yml ## @@ -63,13 +63,13 @@ jobs: # Determine the repo and leave that unset to use the n

[incubator-nuttx] branch master updated (85550ee -> 0f2f48f)

2022-03-21 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 85550ee boards/sim: Enable uinput for rpproxy and rpserver add 0f2f48f sys/type.h: Change pid_

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
pkarashchenko merged pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807 -- 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:

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073917480 > @xiaoxiang781216 I think we should reevaluate `g_npidhash *= 2;` and `g_npidhash <<= 1;` in `sched/task/task_setup.c` and `sched/init/nx_start.c` so the overf

[GitHub] [incubator-nuttx] jlaitine opened a new pull request #5813: Try fix ci

2022-03-21 Thread GitBox
jlaitine opened a new pull request #5813: URL: https://github.com/apache/incubator-nuttx/pull/5813 ## 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

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
pkarashchenko commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073891406 @xiaoxiang781216 I think we should reevaluate `g_npidhash *= 2;` and `g_npidhash <<= 1;` in `sched/task/task_setup.c` and `sched/init/nx_start.c` so the overflow

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #5812: esp32s3-devkit/spiflash: Use SmartFS instead of LittleFS.

2022-03-21 Thread GitBox
Ouss4 opened a new pull request #5812: URL: https://github.com/apache/incubator-nuttx/pull/5812 ## Summary Use SmartFS instead of LittleFS, similar to the rest of the ESP32xx chips. We have a test suite that expects SmartFS. ## Impact ESP32-S3 ## Testing esp32s3-devkit:spifl

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
pkarashchenko commented on a change in pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#discussion_r831049682 ## File path: fs/procfs/fs_procfsproc.c ## @@ -1445,11 +1445,11 @@ static int proc_open(FAR struct file *filep, FAR const char *relpath,

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#discussion_r831039365 ## File path: fs/procfs/fs_procfsproc.c ## @@ -1445,11 +1445,11 @@ static int proc_open(FAR struct file *filep, FAR const char *relpath,

[GitHub] [incubator-nuttx] pussuw commented on issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
pussuw commented on issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811#issuecomment-1073789485 At least @masayuki2009 might be interested to know of this issue -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Gi

[GitHub] [incubator-nuttx] pussuw opened a new issue #5811: CONFIG_BUILD_KERNEL: Allocating user stack fails if the initial heap size is too small

2022-03-21 Thread GitBox
pussuw opened a new issue #5811: URL: https://github.com/apache/incubator-nuttx/issues/5811 This happens with CONFIG_BUILD_KERNEL=y if the initial heap size is not large enough to hold the initial stack. The issue is with the tcb/group initialization order when loading a task with b

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
pkarashchenko commented on a change in pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#discussion_r830940147 ## File path: fs/procfs/fs_procfsproc.c ## @@ -1445,11 +1445,11 @@ static int proc_open(FAR struct file *filep, FAR const char *relpath,

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073706352 Ok, I misunderstand your comment, it should be good now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830907379 ## File path: arch/risc-v/Kconfig ## @@ -188,6 +189,30 @@ config ARCH_MMU_TYPE_SV39 bool default n +config ARCH_HAVE_S_MODE +

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
pkarashchenko commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073655768 > Done. I still see `A valid PID would be in the range of 0-32767` and not `A valid PID would be in the range of 0 .. (INT_MAX - 1)` in comments -- This

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
no1wudi commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830844807 ## File path: arch/risc-v/Kconfig ## @@ -188,6 +189,30 @@ config ARCH_MMU_TYPE_SV39 bool default n +config ARCH_HAVE_S_MODE +

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
no1wudi commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830842520 ## File path: arch/risc-v/Kconfig ## @@ -188,6 +189,30 @@ config ARCH_MMU_TYPE_SV39 bool default n +config ARCH_HAVE_S_MODE +

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5807: sys/type.h: Change pid_t from int16_t to int

2022-03-21 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073545943 Done. -- 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 specif

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830800706 ## File path: arch/risc-v/src/common/riscv_releasepending.c ## @@ -78,7 +78,7 @@ void up_release_pending(void) * Just copy the CURRENT_

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830800181 ## File path: arch/risc-v/src/common/riscv_pthread_start.c ## @@ -66,11 +66,17 @@ void up_pthread_start(pthread_trampoline_t startup,

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830799766 ## File path: arch/risc-v/src/Makefile ## @@ -24,15 +24,24 @@ ifeq ($(CONFIG_OPENSBI),y) include opensbi/Make.defs endif +# Kernel runs in supe

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830799637 ## File path: arch/risc-v/include/syscall.h ## @@ -57,6 +57,7 @@ /* RV64GC system calls **/

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830799224 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,91 @@ +/ + * arc

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830799058 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,91 @@ +/ + * arc

[incubator-nuttx] 02/07: input: Move uinput initialization from boards/sim to drivers

2022-03-21 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 d19aa5aca4a594199a49d6798723824e64471cd0 Author: Xiang Xiao AuthorDate: Sat Mar 19 23:37:11 2022 +0800

[incubator-nuttx] 04/07: input/touchscreen: Change the type of touch_upperhalf_s::nums from uint32_t to uint8_t

2022-03-21 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 7de9b879a124b9ef96c45995d2113275565ef803 Author: Xiang Xiao AuthorDate: Sun Mar 20 00:10:06 2022 +0800

[incubator-nuttx] 03/07: input/uinput: Remove the argument from initialization function

2022-03-21 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 9b2c89fc0ef8cf5f5fa2b15abe56ceb86119ce1e Author: Xiang Xiao AuthorDate: Sat Mar 19 23:58:19 2022 +0800

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5802: Refine the uinput implementation

2022-03-21 Thread GitBox
pkarashchenko merged pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802 -- 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:

[incubator-nuttx] 07/07: boards/sim: Enable uinput for rpproxy and rpserver

2022-03-21 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 85550ee340eaff44b8a4f60bc7ca1af467583fcb Author: Xiang Xiao AuthorDate: Sun Mar 20 00:44:54 2022 +0800

[incubator-nuttx] 01/07: input/uinput: Rename UINPUT_TOUCHSCREEN to UINPUT_TOUCH

2022-03-21 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 fd5fb26f5194fefc068723a5ea7c0f88489a3969 Author: Xiang Xiao AuthorDate: Sun Mar 20 00:36:35 2022 +0800

[incubator-nuttx] 05/07: input/keyboard: Make each instance could have a different buffer size

2022-03-21 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 7ea14aa8f8ee66ab95fd3b30177ae9d33ce6de78 Author: Xiang Xiao AuthorDate: Sun Mar 20 00:06:52 2022 +0800

[incubator-nuttx] 06/07: drivers: Call uinput_keyboard_initialize in drivers_initialize

2022-03-21 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 2ccf54961f07abbe4bc1e3a7ccc2276e6b1ddd55 Author: Xiang Xiao AuthorDate: Sun Mar 20 00:18:46 2022 +0800

[incubator-nuttx] branch master updated (7fbadb5 -> 85550ee)

2022-03-21 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 7fbadb5 fixed mpu9250 not work on i2c bus issue. new fd5fb26 input/uinput: Rename UINPUT_TOUCH

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830798712 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,91 @@ +/ + * arc

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830798523 ## File path: arch/risc-v/include/irq.h ## @@ -565,9 +576,9 @@ static inline irqstate_t up_irq_save(void) __asm__ __volatile__ ( - "

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-21 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830798214 ## File path: arch/risc-v/include/csr.h ## @@ -299,25 +299,71 @@ /* In mstatus register */ +#define MSTATUS_UIE (0x1 << 0) /* User Inte