[GitHub] [incubator-nuttx] anchao commented on pull request #5761: arch/arm: Remove the code copy register from xcpt to stack

2022-03-22 Thread GitBox
anchao commented on pull request #5761: URL: https://github.com/apache/incubator-nuttx/pull/5761#issuecomment-1075990226 >>The same issue also happens with raspberrypi-pico:nsh (non SMP). >It seems that the hardfault happened. @masayuki2009 san, I have fix this crash, please

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5761: arch/arm: Remove the code copy register from xcpt to stack

2022-03-22 Thread GitBox
xiaoxiang781216 commented on pull request #5761: URL: https://github.com/apache/incubator-nuttx/pull/5761#issuecomment-1075989467 @masayuki2009 could you try the new version? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub an

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5529: risc-v/qemu-rv: Supports SMP up to 8 cores and other minor changes

2022-03-22 Thread GitBox
masayuki2009 commented on pull request #5529: URL: https://github.com/apache/incubator-nuttx/pull/5529#issuecomment-1075984650 @no1wudi I tried this PR but the `smp` application does not work. ``` $ ~/opensource/QEMU/qemu-6.1.1/build/riscv64-softmmu/qemu-system-riscv64 -n

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5823: Fix rpmsgfs/rpmsgfs_client.c:774:3: warning: 'strcpy' writing 1 or more bytes into a region of size 0 overflows

2022-03-22 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5823: URL: https://github.com/apache/incubator-nuttx/pull/5823#discussion_r832803759 ## File path: fs/rpmsgfs/rpmsgfs_client.c ## @@ -740,8 +741,8 @@ int rpmsgfs_client_rename(FAR void *handle, FAR const char *oldpath,

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5823: Fix rpmsgfs/rpmsgfs_client.c:774:3: warning: 'strcpy' writing 1 or more bytes into a region of size 0 overflows

2022-03-22 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5823: URL: https://github.com/apache/incubator-nuttx/pull/5823#discussion_r832803340 ## File path: fs/rpmsgfs/rpmsgfs_client.c ## @@ -740,8 +741,8 @@ int rpmsgfs_client_rename(FAR void *handle, FAR const char *oldpath,

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5823: Fix rpmsgfs/rpmsgfs_client.c:774:3: warning: 'strcpy' writing 1 or more bytes into a region of size 0 overflows

2022-03-22 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5823: URL: https://github.com/apache/incubator-nuttx/pull/5823#discussion_r832795936 ## File path: fs/rpmsgfs/rpmsgfs_client.c ## @@ -740,8 +741,8 @@ int rpmsgfs_client_rename(FAR void *handle, FAR const char *oldpath,

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #5826: tools/jlink: Change the type of pid from uint16_t to uint32_t

2022-03-22 Thread GitBox
xiaoxiang781216 edited a comment on pull request #5826: URL: https://github.com/apache/incubator-nuttx/pull/5826#issuecomment-1075852912 > Since `int` is non fixed size type this is probably try for most of the systems, but not all. Yes from theory, but all arch supported by both JLI

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5826: tools/jlink: Change the type of pid from uint16_t to uint32_t

2022-03-22 Thread GitBox
xiaoxiang781216 commented on pull request #5826: URL: https://github.com/apache/incubator-nuttx/pull/5826#issuecomment-1075852912 > Since `int` is non fixed size type this is probably try for most of the systems, but not all. Yes from theory, but all arch supported by both JLINK and

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5826: tools/jlink: Change the type of pid from uint16_t to uint32_t

2022-03-22 Thread GitBox
xiaoxiang781216 commented on pull request #5826: URL: https://github.com/apache/incubator-nuttx/pull/5826#issuecomment-1075848175 > Why not use pid_t directly instead of uint32_t? > > e.g., > > ``` > static int get_pid(struct plugin_priv_s *priv, uint32_t idx, pid_t *pid)

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

2022-03-22 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 6f906c5 Publishing web

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #5827: Add SPIRAM to ESP32-S2

2022-03-22 Thread GitBox
gustavonihei commented on a change in pull request #5827: URL: https://github.com/apache/incubator-nuttx/pull/5827#discussion_r832747839 ## File path: arch/xtensa/src/esp32s2/esp32s2_spiram.c ## @@ -0,0 +1,450 @@ +/***

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #5827: Add SPIRAM to ESP32-S2

2022-03-22 Thread GitBox
gustavonihei commented on a change in pull request #5827: URL: https://github.com/apache/incubator-nuttx/pull/5827#discussion_r832747519 ## File path: arch/xtensa/src/esp32s2/esp32s2_spiram.c ## @@ -0,0 +1,450 @@ +/***

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #5827: Add SPIRAM to ESP32-S2

2022-03-22 Thread GitBox
gustavonihei commented on a change in pull request #5827: URL: https://github.com/apache/incubator-nuttx/pull/5827#discussion_r832746615 ## File path: boards/xtensa/esp32s2/esp32s2-saola-1/scripts/Make.defs ## @@ -55,7 +55,7 @@ ARCHPICFLAGS = -fpic # if SPIRAM/PSRAM is used th

[GitHub] [incubator-nuttx] acassis opened a new pull request #5827: Add SPIRAM to ESP32-S2

2022-03-22 Thread GitBox
acassis opened a new pull request #5827: URL: https://github.com/apache/incubator-nuttx/pull/5827 ## Summary Add SPIRAM to ESP32-S2 ## Impact Only ESP32S2 ## Testing ESP32-SAOLA-1 board -- This is an automated message from the Apache Git Service. To respond to the messa

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

2022-03-22 Thread GitBox
mogenson commented on pull request #5815: URL: https://github.com/apache/incubator-nuttx/pull/5815#issuecomment-1075735554 Looks like the MacOS build has the BSD flavor of awk instead of GNU awk: ``` checking for gawk... no checking for mawk... no checking for nawk... no c

[incubator-nuttx] branch master updated (23cfded -> 0fcb457)

2022-03-22 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 23cfded esp32s3-devkit: Add support for BOOT button as user button add 0fcb457 sched/dumpstack: Pri

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #5822: sched/dumpstack: Print "backtrace:" only in the first iteration

2022-03-22 Thread GitBox
masayuki2009 merged pull request #5822: URL: https://github.com/apache/incubator-nuttx/pull/5822 -- 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: c

[incubator-nuttx] 03/03: esp32s3-devkit: Add support for BOOT button as user button

2022-03-22 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 commit 23cfded18fb7f53c3de5fc545b7f032a1b9e9275 Author: Gustavo Henrique Nihei AuthorDate: Mon Mar 21 16:32:55 2022

[incubator-nuttx] 02/03: xtensa/esp32s3: Add support for GPIO pin interrupts

2022-03-22 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 commit 024364ebbd0b0cac0cd467a7ad232616f8c22c45 Author: Gustavo Henrique Nihei AuthorDate: Fri Mar 18 17:35:05 2022

[incubator-nuttx] branch master updated (68902d8 -> 23cfded)

2022-03-22 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 68902d8 pid_t: unify usage of special task IDs new 0e67dc8 xtensa/esp32s3: Add support for GPIO rea

[incubator-nuttx] 01/03: xtensa/esp32s3: Add support for GPIO read/write operations

2022-03-22 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 commit 0e67dc8637638908303a5cb08dc9f939f704fc87 Author: Gustavo Henrique Nihei AuthorDate: Fri Mar 18 17:34:02 2022

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #5825: ESP32-S3: Enable GPIO read/write operations and interrupts support

2022-03-22 Thread GitBox
masayuki2009 merged pull request #5825: URL: https://github.com/apache/incubator-nuttx/pull/5825 -- 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: c

[GitHub] [incubator-nuttx] hartmannathan commented on a change in pull request #5823: Fix rpmsgfs/rpmsgfs_client.c:774:3: warning: 'strcpy' writing 1 or more bytes into a region of size 0 overflows th

2022-03-22 Thread GitBox
hartmannathan commented on a change in pull request #5823: URL: https://github.com/apache/incubator-nuttx/pull/5823#discussion_r832581922 ## File path: fs/rpmsgfs/rpmsgfs_client.c ## @@ -740,8 +741,8 @@ int rpmsgfs_client_rename(FAR void *handle, FAR const char *oldpath,

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request #1086: Warn

2022-03-22 Thread GitBox
xiaoxiang781216 opened a new pull request #1086: URL: https://github.com/apache/incubator-nuttx-apps/pull/1086 ## Summary Found by change https://github.com/apache/incubator-nuttx/pull/5476: - wireless/wapi: Fix warning: 'strncpy' specified bound 16 equals destination size - system

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

2022-03-22 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1075460074 Fix here: #5826 -- 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

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5826: tools/jlink: Change the type of pid from uint16_t to uint32_t

2022-03-22 Thread GitBox
xiaoxiang781216 opened a new pull request #5826: URL: https://github.com/apache/incubator-nuttx/pull/5826 ## Summary Report here: https://github.com/apache/incubator-nuttx/pull/5807 follow up the bellow chnage: ``` commit 0f2f48f8bae0e13f7927ed70c3711d03fe6d5f27 Author: Xiang

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #5825: ESP32-S3: Enable GPIO read/write operations and interrupts support

2022-03-22 Thread GitBox
gustavonihei commented on a change in pull request #5825: URL: https://github.com/apache/incubator-nuttx/pull/5825#discussion_r832249318 ## File path: boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_buttons.c ## @@ -0,0 +1,166 @@ +/*

[GitHub] [incubator-nuttx] hartmannathan commented on a change in pull request #5825: ESP32-S3: Enable GPIO read/write operations and interrupts support

2022-03-22 Thread GitBox
hartmannathan commented on a change in pull request #5825: URL: https://github.com/apache/incubator-nuttx/pull/5825#discussion_r832223276 ## File path: boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_buttons.c ## @@ -0,0 +1,166 @@ +/

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #5825: ESP32-S3: Enable GPIO read/write operations and interrupts support

2022-03-22 Thread GitBox
gustavonihei commented on a change in pull request #5825: URL: https://github.com/apache/incubator-nuttx/pull/5825#discussion_r832174051 ## File path: boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_buttons.c ## @@ -0,0 +1,166 @@ +/*

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5819: pid_t: unify usage of special task IDs

2022-03-22 Thread GitBox
xiaoxiang781216 merged pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819 -- 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: pid_t: unify usage of special task IDs

2022-03-22 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 68902d8 pid_t: unify usage of speci

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5825: ESP32-S3: Enable GPIO read/write operations and interrupts support

2022-03-22 Thread GitBox
pkarashchenko commented on a change in pull request #5825: URL: https://github.com/apache/incubator-nuttx/pull/5825#discussion_r832168643 ## File path: boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_buttons.c ## @@ -0,0 +1,166 @@ +/

[incubator-nuttx] branch master updated (757d01d -> 2ee12b2)

2022-03-22 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 757d01d progmem: eliminate PROGMEM_ERASESTATE configuration option add 2ee12b2 arch/arm/src/stm32l

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5824: arch/arm/src/stm32l4: peripheral voltage monitor support for vddio2

2022-03-22 Thread GitBox
xiaoxiang781216 merged pull request #5824: URL: https://github.com/apache/incubator-nuttx/pull/5824 -- 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: progmem: eliminate PROGMEM_ERASESTATE configuration option

2022-03-22 Thread gustavonihei
This is an automated email from the ASF dual-hosted git repository. gustavonihei 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 757d01d progmem: eliminate PROGM

[GitHub] [incubator-nuttx] gustavonihei merged pull request #5818: progmem: eliminate PROGMEM_ERASESTATE configuration option

2022-03-22 Thread GitBox
gustavonihei merged pull request #5818: URL: https://github.com/apache/incubator-nuttx/pull/5818 -- 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: c

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

2022-03-22 Thread GitBox
gustavonihei commented on pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819#issuecomment-1075146692 By the way, nice work @pkarashchenko! It is a pleasure to see these inconsistencies being fixed throughout the NuttX code base. -- This is an automated messag

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

2022-03-22 Thread GitBox
pkarashchenko commented on a change in pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819#discussion_r832140265 ## File path: sched/task/task_posixspawn.c ## @@ -410,7 +410,7 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path, * for use within

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request #5825: ESP32-S3: Enable GPIO read/write operations and interrupts support

2022-03-22 Thread GitBox
gustavonihei opened a new pull request #5825: URL: https://github.com/apache/incubator-nuttx/pull/5825 ## Summary This PR intends to extend the current GPIO driver for **ESP32-S3** with the following features: * Support for Write and Read operations * Interrupts on GPIO pins

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

2022-03-22 Thread GitBox
gustavonihei commented on a change in pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819#discussion_r832107045 ## File path: sched/task/task_posixspawn.c ## @@ -410,7 +410,7 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path, * for use within

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

2022-03-22 Thread GitBox
pkarashchenko commented on a change in pull request #5819: URL: https://github.com/apache/incubator-nuttx/pull/5819#discussion_r832053081 ## File path: arch/ceva/src/common/up_assert.c ## @@ -296,7 +296,7 @@ static void _up_assert(int errorcode) /* Are we in an interrupt h

[GitHub] [incubator-nuttx] juniskane opened a new pull request #5824: arch/arm/src/stm32l4: peripheral voltage monitor support for vddio2

2022-03-22 Thread GitBox
juniskane opened a new pull request #5824: URL: https://github.com/apache/incubator-nuttx/pull/5824 ## Summary Adds functions for controlling peripheral voltage monitoring for Vddio2 ## Impact None if not used by e.g. board code ## Testing Tested with STM32L4R5AI

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

2022-03-22 Thread GitBox
pkarashchenko commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1075009493 @xiaoxiang781216 I also noticed next code: ``` static int get_pid(struct plugin_priv_s *priv, uint32_t idx, uint16_t *pid) { int

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5823: Fix rpmsgfs/rpmsgfs_client.c:774:3: warning: 'strcpy' writing 1 or more bytes into a region of size 0 overflows the destinat

2022-03-22 Thread GitBox
xiaoxiang781216 opened a new pull request #5823: URL: https://github.com/apache/incubator-nuttx/pull/5823 ## Summary ## Impact Minor, fix warning ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the message, please log o

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5822: sched/dumpstack: Print "backtrace:" only in the first iteration

2022-03-22 Thread GitBox
xiaoxiang781216 opened a new pull request #5822: URL: https://github.com/apache/incubator-nuttx/pull/5822 ## Summary to avoid the same label print multiple time in one dumpstack ## Impact dumpback ## Testing Pass local test -- This is an automated message from t

[incubator-nuttx] branch master updated (10f8f6c -> 2277c18)

2022-03-22 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 10f8f6c xtensa/esp32(s2)_user.c: For EXCCAUSE values, use macros defined in xtensa_corebits.h inste