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

2022-03-20 Thread GitBox
pkarashchenko edited a comment on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073519285 > @pkarashchenko all places are fixed. Please update 32767 in comments as well. -- This is an automated message from the Apache Git Service. To res

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

2022-03-20 Thread GitBox
pkarashchenko commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073519285 > @pkarashchenko all places are fixed. Please update comments as well. -- This is an automated message from the Apache Git Service. To respond to the mess

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 edited a comment on pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#issuecomment-1073437252 let's ignore the false warning: ``` Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/interpreters/lua/nuttx_linit.c:5

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 edited a comment on pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#issuecomment-1073437252 let's ignore the false warning: ``ยท Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/interpreters/lua/nuttx_linit.c:5

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 merged pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075 -- 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] 02/02: examples: add Lua module example

2022-03-20 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 commit f1a74533f2a637b276d898a367f365e792aa0567 Author: Michael Mogenson AuthorDate: Tue Mar 1 18:11:51 2022 -

[incubator-nuttx-apps] 01/02: interpreters: add Lua support

2022-03-20 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 commit 87df63d3673c5f8f25b02636b9a6989216e800c5 Author: Michael Mogenson AuthorDate: Thu Feb 24 14:19:04 2022

[incubator-nuttx-apps] branch master updated (282e44e -> f1a7453)

2022-03-20 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-apps.git. from 282e44e system/ping: Don't include nuttx/lib/math.h new 87df63d interpreters: add Lua support

[GitHub] [incubator-nuttx] robertlipe commented on issue #5810: GPIO issues on BL602 + suggestions for RISC-V, maybe more.

2022-03-20 Thread GitBox
robertlipe commented on issue #5810: URL: https://github.com/apache/incubator-nuttx/issues/5810#issuecomment-1073502477 This is almost certainly the reason why. You hit exactly the largest configuration that would work without crashing into this by using exactly one of each of {IN,

[incubator-nuttx] branch master updated: fixed mpu9250 not work on i2c bus issue.

2022-03-20 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 7fbadb5 fixed mpu9250 not work on i

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5809: fixed mpu9250 not work on i2c bus issue.

2022-03-20 Thread GitBox
xiaoxiang781216 merged pull request #5809: URL: https://github.com/apache/incubator-nuttx/pull/5809 -- 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] lupyuen commented on issue #5810: GPIO issues on BL602 + suggestions for RISC-V, maybe more.

2022-03-20 Thread GitBox
lupyuen commented on issue #5810: URL: https://github.com/apache/incubator-nuttx/issues/5810#issuecomment-1073464882 Thanks for posting this! I wanted to use Multiple GPIO Outputs for [Semtech SX1262 LoRa Transceiver](https://lupyuen.github.io/articles/sx1262#connect-sx1262-transceiver)

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#issuecomment-1073437252 let's ignore the false warning: `` Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/interpreters/lua/nuttx_linit.c:52:1: wa

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

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073433486 @pkarashchenko all places are fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830723225 ## File path: drivers/input/keyboard_upper.c ## @@ -60,6 +60,7 @@ struct keyboard_upperhalf_s struct list_node head;/* Head of list

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721637 ## File path: drivers/input/uinput.c ## @@ -453,19 +457,17 @@ static ssize_t uinput_keyboard_write(FAR struct keyboard_lowerhalf_s *lower

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721596 ## File path: drivers/input/uinput.c ## @@ -41,8 +41,12 @@ * Pre-processor Definitions ***

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721461 ## File path: drivers/input/uinput.c ## @@ -569,7 +572,7 @@ int uinput_button_initialize(FAR const char *name) #ifdef CONFIG_UINPUT_KEY

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721403 ## File path: drivers/input/uinput.c ## @@ -478,29 +480,30 @@ int uinput_touch_initialize(FAR const char *name, int maxpoint, int buffnum

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721217 ## File path: drivers/input/uinput.c ## @@ -589,8 +592,9 @@ int uinput_keyboard_initialize(FAR const char *name) /* Regiest Touchscre

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830719847 ## File path: drivers/input/Kconfig ## @@ -64,13 +54,25 @@ config UINPUT_RPMSG ---help--- Enable support uinput cr

[GitHub] [incubator-nuttx] robertlipe opened a new issue #5810: GPIO issues on BL602 + suggestions for RISC-V, maybe more.

2022-03-20 Thread GitBox
robertlipe opened a new issue #5810: URL: https://github.com/apache/incubator-nuttx/issues/5810 1) Some RISC-V architectures have as many as 80 GPIOs. Defining those in KConfigs will be annoying, especially given the current awesome trend of pins being behind a MUX so they can be configur

[GitHub] [incubator-nuttx] smartether opened a new pull request #5809: fixed mpu9250 not work on i2c bus issue.

2022-03-20 Thread GitBox
smartether opened a new pull request #5809: URL: https://github.com/apache/incubator-nuttx/pull/5809 1,set rp2040 FIFO_MAX_SIZE to 16.ref: pico sdk -> static inline size_t i2c_get_write_available(i2c_inst_t *i2c) { const size_t IC_TX_BUFFER_DEPTH = 16; return IC_TX_BUFFER_DEPTH - i2

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

2022-03-20 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 af1a5a2 Publishing web

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5802: Refine the uinput implementation

2022-03-20 Thread GitBox
pkarashchenko commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830673489 ## File path: drivers/input/uinput.c ## @@ -41,8 +41,12 @@ * Pre-processor Definitions *

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5806: libc: Change the return type of strerror from "const char *" to "char *"

2022-03-20 Thread GitBox
pkarashchenko merged pull request #5806: URL: https://github.com/apache/incubator-nuttx/pull/5806 -- 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: libc: Change the return type of strerror from "const char *" to "char *"

2022-03-20 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 6b8274f libc: Change the return

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

2022-03-20 Thread GitBox
pkarashchenko commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073345118 Please take a look into `static int proc_stat(const char *relpath, struct stat *buf)`: ``` /* A valid PID would be in the range of 0-32767 (0 is reserved f

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5808: tools/nxstyle: Order g_white_prefix by alphanum

2022-03-20 Thread GitBox
pkarashchenko merged pull request #5808: URL: https://github.com/apache/incubator-nuttx/pull/5808 -- 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: tools/nxstyle: Order g_white_prefix by alphanum

2022-03-20 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 fa42eba tools/nxstyle: Order g_

[GitHub] [incubator-nuttx-apps] mogenson commented on pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
mogenson commented on pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#issuecomment-1073280632 > @mogenson the change looks ready for merging, could you add new config to enable lua for Teensy 4.1 and sim? so the daily ci could ensure any new change doesn'

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5808: tools/nxstyle: Order g_white_prefix by alphanum

2022-03-20 Thread GitBox
xiaoxiang781216 opened a new pull request #5808: URL: https://github.com/apache/incubator-nuttx/pull/5808 ## Summary ## Impact No change ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitH

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5805: nxstyle: ignore mixed-case identifiers for Lua types

2022-03-20 Thread GitBox
xiaoxiang781216 merged pull request #5805: URL: https://github.com/apache/incubator-nuttx/pull/5805 -- 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: nxstyle: ignore mixed-case identifiers for Lua types

2022-03-20 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 2c450be nxstyle: ignore mixed-case

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5805: nxstyle: ignore mixed-case identifiers for Lua types

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #5805: URL: https://github.com/apache/incubator-nuttx/pull/5805#issuecomment-1073275705 Since it's simple change, let's ignore CI break. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHu

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a change in pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#discussion_r830633457 ## File path: interpreters/lua/nuttx_linit.c ## @@ -0,0 +1,67 @@ +/*

[GitHub] [incubator-nuttx-apps] mogenson commented on a change in pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
mogenson commented on a change in pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#discussion_r830631311 ## File path: interpreters/lua/nuttx_linit.c ## @@ -0,0 +1,67 @@ +/

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

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073236792 > Why are we changing pid_t instead of updating vfork prototype? spec require vfork return pid_t: https://pubs.opengroup.org/onlinepubs/009696799/functi

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

2022-03-20 Thread GitBox
pkarashchenko edited a comment on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073225806 Why are we changing pid_t instead of updating vfork prototype? -- This is an automated message from the Apache Git Service. To respond to the message, ple

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

2022-03-20 Thread GitBox
pkarashchenko commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073225806 Why are we changing PID type instead of updating vfork prototype? -- This is an automated message from the Apache Git Service. To respond to the message, please

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

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807#issuecomment-1073221039 Relate to PR: https://github.com/apache/incubator-nuttx/pull/5476 -- This is an automated message from the Apache Git Service. To respond to the message, pleas

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #5806: libc: Change the return type of strerror from "const char *" to "char *"

2022-03-20 Thread GitBox
xiaoxiang781216 edited a comment on pull request #5806: URL: https://github.com/apache/incubator-nuttx/pull/5806#issuecomment-1073220985 Relate to PR: https://github.com/apache/incubator-nuttx/pull/5476 -- This is an automated message from the Apache Git Service. To respond to the message

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5803: syslog: Change g_syslog_default_sem to static function variable

2022-03-20 Thread GitBox
pkarashchenko merged pull request #5803: URL: https://github.com/apache/incubator-nuttx/pull/5803 -- 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 #5806: libc: Change the return type of strerror from "const char *" to "char *"

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #5806: URL: https://github.com/apache/incubator-nuttx/pull/5806#issuecomment-1073220985 Related to PR: https://github.com/apache/incubator-nuttx/pull/5476 -- This is an automated message from the Apache Git Service. To respond to the message, plea

[incubator-nuttx] branch master updated (49b15e3 -> 8391ad2)

2022-03-20 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 49b15e3 boards/arm/samv7/samv71-xult: Fix mcuboot update example missing config add 8391ad2 s

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

2022-03-20 Thread GitBox
xiaoxiang781216 opened a new pull request #5807: URL: https://github.com/apache/incubator-nuttx/pull/5807 ## Summary to fix the following warning: ``` include/unistd.h:302:9: error: incompatible redeclaration of library function 'vfork' [-Werror,-Wincompatible-library-redeclaration

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5806: libc: Change the return type of strerror from "const char *" to "char *"

2022-03-20 Thread GitBox
xiaoxiang781216 opened a new pull request #5806: URL: https://github.com/apache/incubator-nuttx/pull/5806 ## Summary to follow up the spec here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/strerror.html report by internal CI: ``` 01:37:58 /home/work/ssd1/works

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#issuecomment-1073202843 @mogenson the change looks ready for merging, could you add new config to enable lua for Teensy 4.1 and sim? so the daily ci could ensure any new change d

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a change in pull request #1075: add Lua interpreter

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #1075: URL: https://github.com/apache/incubator-nuttx-apps/pull/1075#discussion_r830577173 ## File path: interpreters/lua/Makefile ## @@ -0,0 +1,133 @@ +##

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5803: syslog: Change g_syslog_default_sem to static function variable

2022-03-20 Thread GitBox
xiaoxiang781216 commented on pull request #5803: URL: https://github.com/apache/incubator-nuttx/pull/5803#issuecomment-1073192040 > Please remove Gerrit change-id Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub a

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5803: syslog: Change g_syslog_default_sem to static function variable

2022-03-20 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5803: URL: https://github.com/apache/incubator-nuttx/pull/5803#discussion_r830574364 ## File path: drivers/syslog/syslog_channel.c ## @@ -184,6 +180,7 @@ static ssize_t syslog_default_write(FAR struct syslog_channel_s *cha