[GitHub] [incubator-nuttx] easonxiang opened a new pull request, #6995: mm: Check the function result with suitable macro.

2022-09-02 Thread GitBox
easonxiang opened a new pull request, #6995: URL: https://github.com/apache/incubator-nuttx/pull/6995 The return value of function mm_takesemaphore will never below than zero, DEBUGVERIFY make no effect to check it, use DEBUGASSERT instead. Signed-off-by: xiangdong6 ## Su

[GitHub] [incubator-nuttx] easonxiang opened a new pull request, #6994: binfmt: Check return pointer.

2022-09-02 Thread GitBox
easonxiang opened a new pull request, #6994: URL: https://github.com/apache/incubator-nuttx/pull/6994 Function builtin_for_index may return NULL. We must check this to prevent visit invalid address. Signed-off-by: xiangdong6 ## Summary ## Impact None ## Test

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6966: nuttx/queue: Change some queue function to macro

2022-09-02 Thread GitBox
xiaoxiang781216 commented on code in PR #6966: URL: https://github.com/apache/incubator-nuttx/pull/6966#discussion_r962101781 ## include/queue.h: ## @@ -67,6 +67,223 @@ } \ while (0) +#define sq_addfirst(p, q) \ + do \ +{ \ + FAR sq_entry_t *tmp_node = p; \ +

[incubator-nuttx-website] branch asf-site updated: Publishing web: 6758fc5efbbf5ed16c807ccdfb012d94d1db201a docs: c5785ee9d5cf6d6ee7626316361a4735a0ee5195

2022-09-02 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 dcb6b30 Publishing web

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #5987: xtensa/esp32: Add support to TWAI/CANBus

2022-09-02 Thread GitBox
vbenso commented on code in PR #5987: URL: https://github.com/apache/incubator-nuttx/pull/5987#discussion_r962044521 ## arch/xtensa/src/esp32/hardware/esp32_twai.h: ## @@ -0,0 +1,856 @@ +/ + * arch/xtens

[GitHub] [incubator-nuttx] vbenso opened a new pull request, #6993: Minor issues to fix ESP32's TWAI.

2022-09-02 Thread GitBox
vbenso opened a new pull request, #6993: URL: https://github.com/apache/incubator-nuttx/pull/6993 ## Summary Minor issues to fix ESP32's TWAI. - Some register values weren't the ESP32's values. - Fix of the bitrate calculation - enable_irq wasn't called with the right argument.

[GitHub] [incubator-nuttx] vbenso commented on pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#issuecomment-1235883117 Hi Everyone, Thanks for all the comments, I've learned so much. All the style issues are already checked with checkpatch.sh. The function's prototypes have been moved to the

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #5987: xtensa/esp32: Add support to TWAI/CANBus

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #5987: URL: https://github.com/apache/incubator-nuttx/pull/5987#discussion_r961998957 ## arch/xtensa/src/esp32/hardware/esp32_twai.h: ## @@ -0,0 +1,856 @@ +/ + * arch

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961997505 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961992802 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961992521 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961986233 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c: ## @@ -162,91 +166,91 @@ int esp32_bringup(void) #ifdef CONFIG_ESP32_AES_ACCELERATOR ret = esp32_aes

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961985563 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_ws2812.c: ## @@ -0,0 +1,333 @@ +/

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961982748 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961982748 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961957160 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961972888 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_ws2812.c: ## @@ -0,0 +1,333 @@ +/ + * b

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961968869 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] hartmannathan commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
hartmannathan commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961960719 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c: ## @@ -162,91 +166,91 @@ int esp32_bringup(void) #ifdef CONFIG_ESP32_AES_ACCELERATOR ret = es

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961957160 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961940471 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961940027 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961938900 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961935421 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] vbenso commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961917770 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp3

[GitHub] [incubator-nuttx] acassis commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
acassis commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961908760 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp

[GitHub] [incubator-nuttx] acassis commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
acassis commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961908760 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/src/esp

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961904201 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961898067 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961894949 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961892484 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961891907 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961887605 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961887060 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961883956 ## include/nuttx/board.h: ## @@ -837,6 +837,27 @@ void board_init_rngseed(void); int board_reset_cause(FAR struct boardioc_reset_cause_s *cause); #endif

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961881313 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_ws2812.c: ## @@ -0,0 +1,333 @@ +/

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961879513 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961879513 ## arch/xtensa/src/esp32/esp32_rmt.c: ## @@ -0,0 +1,315 @@ +/ + * arch/xtensa/sr

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961874394 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c: ## @@ -162,91 +166,91 @@ int esp32_bringup(void) #ifdef CONFIG_ESP32_AES_ACCELERATOR ret = esp

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961873062 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_ws2812.c: ## @@ -0,0 +1,333 @@ +/

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961872141 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_ws2812.c: ## @@ -0,0 +1,333 @@ +/

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961872141 ## boards/xtensa/esp32/esp32-devkitc/src/esp32_ws2812.c: ## @@ -0,0 +1,333 @@ +/

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961871444 ## drivers/leds/Kconfig: ## @@ -123,6 +123,22 @@ config WS2812_NON_SPI_DRIVER implementations. Selecting this option builds the new

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
gustavonihei commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961870245 ## drivers/leds/Kconfig: ## @@ -123,6 +123,22 @@ config WS2812_NON_SPI_DRIVER implementations. Selecting this option builds the new

[GitHub] [incubator-nuttx] acassis commented on pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
acassis commented on PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#issuecomment-1235724901 @vbenso please fix the issues reported by CI compilation. Suggestion: since it is RMT specific for WS8212 maybe it is better to rename esp32_rmt.c to esp32_rmt_ws8212.c or simil

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
xiaoxiang781216 commented on code in PR #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992#discussion_r961850389 ## include/nuttx/board.h: ## @@ -837,6 +837,27 @@ void board_init_rngseed(void); int board_reset_cause(FAR struct boardioc_reset_cause_s *cause); #endi

[GitHub] [incubator-nuttx] xiaoxiang781216 closed issue #6985: Shift out of bounds on ESP32-C3

2022-09-02 Thread GitBox
xiaoxiang781216 closed issue #6985: Shift out of bounds on ESP32-C3 URL: https://github.com/apache/incubator-nuttx/issues/6985 -- 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. T

[incubator-nuttx] branch master updated (a5b006a891 -> c5785ee9d5)

2022-09-02 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 a5b006a891 xtensa: Avoid including handlers when no coprocessor is available add c5785ee9d5 risc-v/e

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6988: risc-v/esp32c3: Fix some UBSAN shift-out-of-bounds warnings

2022-09-02 Thread GitBox
xiaoxiang781216 merged PR #6988: URL: https://github.com/apache/incubator-nuttx/pull/6988 -- 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] vbenso opened a new pull request, #6992: WS2812 LED driver using ESP32's RMT peripheral

2022-09-02 Thread GitBox
vbenso opened a new pull request, #6992: URL: https://github.com/apache/incubator-nuttx/pull/6992 ## Summary This PR adds support for using the ESP32's RMT peripheral in transmission only mode. With this PR the ws2812 led driver can use ESP32's RMT peripheral to transmit data to the L

[GitHub] [incubator-nuttx] fjpanag commented on issue #6767: round() problems with NaN

2022-09-02 Thread GitBox
fjpanag commented on issue #6767: URL: https://github.com/apache/incubator-nuttx/issues/6767#issuecomment-1235664116 @nealef Thank you for pointing this out. This is a fairly trivial fix. Would you like to contribute to NuttX by submitting a PR? -- This is an automated message fro

[GitHub] [incubator-nuttx] fjpanag opened a new pull request, #6991: Fixed pow() for negative bases.

2022-09-02 Thread GitBox
fjpanag opened a new pull request, #6991: URL: https://github.com/apache/incubator-nuttx/pull/6991 ## Summary Fixes `pow()` when negative numbers are used as a base. See #6941 for more information. ## Impact Correct calculations in `pow()` for all inputs. ##

[GitHub] [incubator-nuttx] fjpanag commented on issue #6941: Wrong calculations by pow()

2022-09-02 Thread GitBox
fjpanag commented on issue #6941: URL: https://github.com/apache/incubator-nuttx/issues/6941#issuecomment-1235656927 So my fix is indeed correct algorithmically, but the library itself is not very accurate. This is what makes the tests fail. For example, `2^3` yields `8.0

[incubator-nuttx] branch master updated: xtensa: Avoid including handlers when no coprocessor is available

2022-09-02 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 a5b006a891 xtensa: Avoid including h

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6990: xtensa: Avoid including handlers when no coprocessor is available

2022-09-02 Thread GitBox
xiaoxiang781216 merged PR #6990: URL: https://github.com/apache/incubator-nuttx/pull/6990 -- 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] gustavonihei opened a new pull request, #6990: xtensa: Avoid including handlers when no coprocessor is available

2022-09-02 Thread GitBox
gustavonihei opened a new pull request, #6990: URL: https://github.com/apache/incubator-nuttx/pull/6990 ## Summary This PR intends to fix the build for **ESP32-S2** chip. `xtensa_coproc.S` is being included even when no coprocessors are available, resulting in some missing definition

[GitHub] [incubator-nuttx] michallenc opened a new pull request, #6989: encoder: add support for QEIOC_GETINDEX ioctl

2022-09-02 Thread GitBox
michallenc opened a new pull request, #6989: URL: https://github.com/apache/incubator-nuttx/pull/6989 ## Summary This IOCTL (QEIOC_GETINDEX) allows the application to get the actual encoder position, the index last position and the index count with one IOCTL call if supported by arch

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request, #6988: risc-v/esp32c3: Fix some UBSAN shift-out-of-bounds warnings

2022-09-02 Thread GitBox
gustavonihei opened a new pull request, #6988: URL: https://github.com/apache/incubator-nuttx/pull/6988 ## Summary This PR intends to fix some `shift-out-of-bounds` warnings reported by UBSAN. ## Impact In all reported cases the value resulting from the implicit conversion is ju

[incubator-nuttx] branch master updated (27fbca771f -> 274c085c4a)

2022-09-02 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 27fbca771f stm32h7\stm32_fdcan_sock: fix the FDCAN_LOOPBACK config macros new 32a21a1b67 UBSan: Allo

[incubator-nuttx] 01/02: UBSan: Allow custom the sanitizer in Kconfig

2022-09-02 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 commit 32a21a1b6762081e2f925bc63b9daf61f5c8b15a Author: Huang Qi AuthorDate: Fri Sep 2 04:42:45 2022 + UBS

[incubator-nuttx] 02/02: UBSan: Minor typo fix to align with other place

2022-09-02 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 commit 274c085c4a7df725da1c4ec965648ea2782032f3 Author: Huang Qi AuthorDate: Fri Sep 2 04:46:02 2022 + UBS

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6986: UBSan: Allow custom the sanitizer in Kconfig

2022-09-02 Thread GitBox
xiaoxiang781216 merged PR #6986: URL: https://github.com/apache/incubator-nuttx/pull/6986 -- 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] fjpanag commented on pull request #6956: net/tcp: use independent work to free the conn instance

2022-09-02 Thread GitBox
fjpanag commented on PR #6956: URL: https://github.com/apache/incubator-nuttx/pull/6956#issuecomment-1235315678 During the failed assertion, two threads operate on the same `conn` structure. One is receiving data while the other tries to free the connection. Hence the failed assertio

[GitHub] [incubator-nuttx] fjpanag commented on pull request #6956: net/tcp: use independent work to free the conn instance

2022-09-02 Thread GitBox
fjpanag commented on PR #6956: URL: https://github.com/apache/incubator-nuttx/pull/6956#issuecomment-1235308463 > > Repeating the experiment multiple times I got a failed assertion @ `tcp/tcp_conn.c`, line 770. > > @fjpanag , > > Thanks a lot for your detailed analysis! From th

[GitHub] [incubator-nuttx] davids5 commented on a diff in pull request #6987: nuttx/sched: semaphore and mqueue task list optimize

2022-09-02 Thread GitBox
davids5 commented on code in PR #6987: URL: https://github.com/apache/incubator-nuttx/pull/6987#discussion_r961494565 ## sched/Kconfig: ## @@ -1826,3 +1826,10 @@ config SCHED_BACKTRACE using the information automatically generated by the compiler

[GitHub] [incubator-nuttx] zyfeier opened a new pull request, #6987: nuttx/sched: semaphore and mqueue task list optimize

2022-09-02 Thread GitBox
zyfeier opened a new pull request, #6987: URL: https://github.com/apache/incubator-nuttx/pull/6987 ## Summary Add CONFIG_TASK_LIST_OPTIMIZE feature to improve sem and mqueue performance. 1. move waitingforsemaphore list to sem_s; 2. move waitingformqnotempty and waitingformqnot