[GitHub] [nuttx] g2gps commented on a diff in pull request #9635: binfmt/elf: Allow the userspace ELF type to be defined by board configuration.

2023-06-27 Thread via GitHub
g2gps commented on code in PR #9635: URL: https://github.com/apache/nuttx/pull/9635#discussion_r1244740292 ## boards/risc-v/litex/arty_a7/scripts/gnu-elf.ld: ## @@ -0,0 +1,132 @@ +/ + * boards/risc-v/lit

[GitHub] [nuttx] no1wudi opened a new pull request, #9636: libc.csv: Correct return type of strchr

2023-06-27 Thread via GitHub
no1wudi opened a new pull request, #9636: URL: https://github.com/apache/nuttx/pull/9636 ## Summary libc.csv: Correct return type of strchr ## Impact Minor ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9635: binfmt/elf: Allow the userspace ELF type to be defined by board configuration.

2023-06-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #9635: URL: https://github.com/apache/nuttx/pull/9635#discussion_r1244708133 ## boards/risc-v/litex/arty_a7/scripts/gnu-elf.ld: ## @@ -0,0 +1,132 @@ +/ + * boards/

[GitHub] [nuttx] patacongo commented on pull request #9632: sched: fix pthread_exit crash

2023-06-27 Thread via GitHub
patacongo commented on PR #9632: URL: https://github.com/apache/nuttx/pull/9632#issuecomment-1610713545 > the case is from LTP open posix test case: AFAIK, all pthread interfaces can be called from the main thread. Certainly many pthread interfaces must be called called from the main

[GitHub] [nuttx] fxysunshine commented on pull request #9632: sched: fix pthread_exit crash

2023-06-27 Thread via GitHub
fxysunshine commented on PR #9632: URL: https://github.com/apache/nuttx/pull/9632#issuecomment-1610675500 > the case is from LTP open posix test case: https://github.com/linux-test-project/ltp/blob/2cae93ca9ffbf6910b061652d70fd1cd3399812f/testcases/open_posix_testsuite/conformance

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244596984 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex

[GitHub] [nuttx-apps] g2gps opened a new pull request, #1810: import/mk: Update ELF flags to represent build configuration type.

2023-06-27 Thread via GitHub
g2gps opened a new pull request, #1810: URL: https://github.com/apache/nuttx-apps/pull/1810 ## Summary Allows board configuration to select the output ELF format for applications built using the `make import` target. This PR should be paired with [#9635](https://github.com/apache/

[GitHub] [nuttx] g2gps opened a new pull request, #9635: binfmt/elf: Allow the userspace ELF type to be defined by board configuration.

2023-06-27 Thread via GitHub
g2gps opened a new pull request, #9635: URL: https://github.com/apache/nuttx/pull/9635 ## Summary This change allows boards to define an additional kconfig option, which specifies the final link format of application executables. By selecting CONFIG_BINFMT_ELF_RELOCATABLE, and

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244576016 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex /

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244576016 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex /

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244576016 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex /

[GitHub] [nuttx] anchao commented on a diff in pull request #9630: mm/kasan: replace load/store methods to macro

2023-06-27 Thread via GitHub
anchao commented on code in PR #9630: URL: https://github.com/apache/nuttx/pull/9630#discussion_r1244575536 ## mm/kasan/kasan.c: ## @@ -376,52 +276,34 @@ void __asan_storeN(FAR void *addr, size_t size) __asan_storeN_noabort(addr, size); } -void __asan_load16(FAR void *addr

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244573817 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9634: libs/libc/aio: fix aio_return compatible bug

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9634: URL: https://github.com/apache/nuttx/pull/9634#discussion_r1244564086 ## libs/libc/aio/aio_return.c: ## @@ -91,14 +91,24 @@ ssize_t aio_return(FAR struct aiocb *aiocbp) { + ssize_t ret; + DEBUGASSERT(aiocbp); if (aiocbp->ai

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9634: libs/libc/aio: fix aio_return compatible bug

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9634: URL: https://github.com/apache/nuttx/pull/9634#discussion_r1244564086 ## libs/libc/aio/aio_return.c: ## @@ -91,14 +91,24 @@ ssize_t aio_return(FAR struct aiocb *aiocbp) { + ssize_t ret; + DEBUGASSERT(aiocbp); if (aiocbp->ai

[GitHub] [nuttx] anchao commented on pull request #9630: mm/kasan: replace load/store methods to macro

2023-06-27 Thread via GitHub
anchao commented on PR #9630: URL: https://github.com/apache/nuttx/pull/9630#issuecomment-1610486770 > No strong opinion about it, since we don't follow most of those 10 rules, but just to raise our awareness about it. @acassis Thanks for your suggestion. Actually this is the prac

[GitHub] [nuttx] extinguish opened a new pull request, #9634: libs/libc/aio: fix aio_return compatible bug

2023-06-27 Thread via GitHub
extinguish opened a new pull request, #9634: URL: https://github.com/apache/nuttx/pull/9634 ## Summary 1. make the aio_return implementation can pass the ltp/open_posix_testsuite/aio_return testcases 2. the modification are referred to https://pubs.opengroup.org/onlinepubs/9699919799/

[GitHub] [nuttx] fdcavalcanti commented on issue #9349: "C++ Example using CMake" in latest documentation and main branch is broken

2023-06-27 Thread via GitHub
fdcavalcanti commented on issue #9349: URL: https://github.com/apache/nuttx/issues/9349#issuecomment-1610431406 Got it to work with a few modification for my board (TM4C): - src/CMakeLists.txt: 1. - Commented the linking of supc++ 2. - libgcc had to be linked with a harcoded

[nuttx] branch master updated: arch/risc-v/espressif: Add USB-Serial-JTAG driver

2023-06-27 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/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 9bd1d5ddda arch/risc-v/espressif: Add USB-Seri

[GitHub] [nuttx] xiaoxiang781216 merged pull request #9633: arch/risc-v/espressif: Add USB-Serial-JTAG driver

2023-06-27 Thread via GitHub
xiaoxiang781216 merged PR #9633: URL: https://github.com/apache/nuttx/pull/9633 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[nuttx] branch master updated: compiler/fortify: remove unused label prefix and fix build warning

2023-06-27 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/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 4de2284614 compiler/fortify: remove unused lab

[GitHub] [nuttx] xiaoxiang781216 merged pull request #9620: tools/syscall: Resolve compile time warning on address validation.

2023-06-27 Thread via GitHub
xiaoxiang781216 merged PR #9620: URL: https://github.com/apache/nuttx/pull/9620 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[GitHub] [nuttx] xiaoxiang781216 merged pull request #9622: compiler/fortify: remove unused label prefix and fix build warning

2023-06-27 Thread via GitHub
xiaoxiang781216 merged PR #9622: URL: https://github.com/apache/nuttx/pull/9622 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[nuttx] branch master updated: tools/syscall: Resolve compile time warning on address validation.

2023-06-27 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/nuttx.git The following commit(s) were added to refs/heads/master by this push: new b9fa045427 tools/syscall: Resolve compile time

[nuttx] branch master updated: mkexport: Allow boards to supply custom gnu-elf.ld.

2023-06-27 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/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 160e1a965d mkexport: Allow boards to supply cu

[GitHub] [nuttx] xiaoxiang781216 merged pull request #9618: mkexport: Allow boards to supply custom gnu-elf.ld.

2023-06-27 Thread via GitHub
xiaoxiang781216 merged PR #9618: URL: https://github.com/apache/nuttx/pull/9618 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[nuttx-website] branch asf-site updated: Publishing web: bedd222ce647cc428f1f896ea77db286eb1bfbce docs: b64c02908021993b6a6b249b4066ddce0741dc25

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

[GitHub] [nuttx] pkarashchenko commented on pull request #9632: sched: fix pthread_exit crash

2023-06-27 Thread via GitHub
pkarashchenko commented on PR #9632: URL: https://github.com/apache/nuttx/pull/9632#issuecomment-1610289667 >> To allow other threads to continue execution, the main thread should terminate by calling pthread_exit() rather than exit(3).  https://pubs.opengroup.org/onlinepubs/7908799/xsh/pthr

[GitHub] [nuttx] patacongo commented on pull request #9632: sched: fix pthread_exit crash

2023-06-27 Thread via GitHub
patacongo commented on PR #9632: URL: https://github.com/apache/nuttx/pull/9632#issuecomment-1610208232 > In general I have a question on how legitimate is to use `pthread_exit()` from `main()` instead of `exit()`. In other words to use pthread_exit from a non-pthead control loop. It

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244343192 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex /

[GitHub] [nuttx-apps] lucasssvaz opened a new pull request, #1809: system/nxdiag: Add Espressif's HAL version

2023-06-27 Thread via GitHub
lucasssvaz opened a new pull request, #1809: URL: https://github.com/apache/nuttx-apps/pull/1809 ## Summary Adds the currently used ESP HAL version to NXdiag's output. Also refactor some portions of the code. ## Impact New information for NXdiag. ## Testing

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9631: URL: https://github.com/apache/nuttx/pull/9631#discussion_r1244343192 ## sched/pthread/pthread_condwait.c: ## @@ -94,6 +94,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) sinfo("Give up mutex /

[GitHub] [nuttx] pkarashchenko commented on pull request #9632: sched: fix pthread_exit crash

2023-06-27 Thread via GitHub
pkarashchenko commented on PR #9632: URL: https://github.com/apache/nuttx/pull/9632#issuecomment-1610165761 In general I have a question on how legitimate is to use `pthread_exit()` from main instead of `exit()`. In other words to use pthread_exit from a non-pthead control loop. -- This

[nuttx-apps] branch master updated (86efbcbee -> f7072ceea)

2023-06-27 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/nuttx-apps.git from 86efbcbee Change the way of definition of SUFFIX new 93c8cb29e nimble: make nimble porting example opt

[nuttx-apps] 03/03: examples: add NimBLE example, based on nimble/porting/examples/nuttx

2023-06-27 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/nuttx-apps.git commit f7072ceea85e39d1f859be9b5d5ef5ff6dd9098d Author: raiden00pl AuthorDate: Tue Jun 20 20:54:47 2023 +0200 e

[nuttx-apps] 02/03: nimble: improve integration with NuttX

2023-06-27 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/nuttx-apps.git commit d8ea8e3d1fc20a7bc7c05c94e42e85181b41f4b5 Author: raiden00pl AuthorDate: Mon Jun 19 15:41:48 2023 +0200 n

[nuttx-apps] 01/03: nimble: make nimble porting example optional

2023-06-27 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/nuttx-apps.git commit 93c8cb29ea231a907161a9dc7ef18355c276b305 Author: raiden00pl AuthorDate: Sat Jun 17 09:24:26 2023 +0200 n

[GitHub] [nuttx-apps] pkarashchenko merged pull request #1800: nimble: various improvements for nimble intergartion

2023-06-27 Thread via GitHub
pkarashchenko merged PR #1800: URL: https://github.com/apache/nuttx-apps/pull/1800 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@n

[nuttx] branch master updated (b9b615b425 -> b64c029080)

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from b9b615b425 sched/pthread: fix race condition on pthread_cond_wait() new f1f33917f7 libc/pwd: Reuse g_passwd and g

[nuttx] 02/02: libc/pwd: Correct the geos related comment and ddd ROOT_GEOS macro

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit b64c02908021993b6a6b249b4066ddce0741dc25 Author: Xiang Xiao AuthorDate: Sun Jun 25 19:47:32 2023 +0800 libc/pwd: Co

[nuttx] 01/02: libc/pwd: Reuse g_passwd and g_passwd_buffer in getpwbuf

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit f1f33917f7316ebcbbc9553446953fa668fb52e8 Author: Xiang Xiao AuthorDate: Sun Jun 25 19:31:06 2023 +0800 libc/pwd: Re

[GitHub] [nuttx] acassis merged pull request #9611: Minor fix for libc/pwd

2023-06-27 Thread via GitHub
acassis merged PR #9611: URL: https://github.com/apache/nuttx/pull/9611 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9606: fs/rpmsgfs: Zero dirs after realloc to avoid stale data

2023-06-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #9606: URL: https://github.com/apache/nuttx/pull/9606#discussion_r1244190475 ## fs/rpmsgfs/rpmsgfs_server.c: ## @@ -285,6 +285,9 @@ static int rpmsgfs_attach_dir(FAR struct rpmsgfs_server_s *priv, return -ENOMEM; } + memset

[nuttx] branch master updated (0aa1af7ff1 -> b9b615b425)

2023-06-27 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/nuttx.git from 0aa1af7ff1 boards/thingy52: add sx1509 support add b9b615b425 sched/pthread: fix race condition on pthread_cond

[GitHub] [nuttx] xiaoxiang781216 merged pull request #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
xiaoxiang781216 merged PR #9631: URL: https://github.com/apache/nuttx/pull/9631 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt

[GitHub] [nuttx] lucasssvaz opened a new pull request, #9633: arch/risc-v/espressif: Add USB-Serial-JTAG driver

2023-06-27 Thread via GitHub
lucasssvaz opened a new pull request, #9633: URL: https://github.com/apache/nuttx/pull/9633 ## Summary Add support for USB-Serial-JTAG on ESP32-C3/C6/H2 using the Espressif HAL. ## Impact Console available through the USB-Serial-JTAG peripheral. ## Testing T

[nuttx] 03/03: boards/thingy52: add sx1509 support

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 0aa1af7ff19ce24214c9bf9a721dce92d11db01a Author: raiden00pl AuthorDate: Sat Jun 24 15:12:20 2023 +0200 boards/thing

[nuttx] branch master updated (6c60c7df07 -> 0aa1af7ff1)

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from 6c60c7df07 libs/libc/aio: fix aio_error compatible bug new c63b2d5c91 drivers/userled: add an interface to suppor

[nuttx] 02/03: drivers/ioexpander: add support for SX1509

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit dc608de1442605de8fc0b414d3288c288ae7c889 Author: raiden00pl AuthorDate: Sat Jun 24 15:08:27 2023 +0200 drivers/ioex

[nuttx] 01/03: drivers/userled: add an interface to support LED effects.

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit c63b2d5c9167352ddb390368d03040d65eb045f8 Author: raiden00pl AuthorDate: Mon Jun 26 17:00:09 2023 +0200 drivers/user

[GitHub] [nuttx] acassis merged pull request #9629: ioexpander: add SX1509 support

2023-06-27 Thread via GitHub
acassis merged PR #9629: URL: https://github.com/apache/nuttx/pull/9629 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache

[GitHub] [nuttx] acassis commented on pull request #9630: mm/kasan: replace load/store methods to macro

2023-06-27 Thread via GitHub
acassis commented on PR #9630: URL: https://github.com/apache/nuttx/pull/9630#issuecomment-1609956727 Guys, although this is a good example where macro can be used to create code in a smarter way, I don't know if this is a good move. Have you seen "how NASA writes space-proof code": https:/

[GitHub] [nuttx] fxysunshine opened a new pull request, #9632: sched: fix pthread_exit crash

2023-06-27 Thread via GitHub
fxysunshine opened a new pull request, #9632: URL: https://github.com/apache/nuttx/pull/9632 A normal user task calls pthread_exit(), will crash at DEBUGASSERT. Cause pthread_exit limit in user pthread task. Also correct return code. test case: int main(int argc, FAR char *argv[])

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9630: mm/kasan: replace load/store methods to marco

2023-06-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #9630: URL: https://github.com/apache/nuttx/pull/9630#discussion_r1244076221 ## mm/kasan/kasan.c: ## @@ -376,52 +276,34 @@ void __asan_storeN(FAR void *addr, size_t size) __asan_storeN_noabort(addr, size); } -void __asan_load16(FAR v

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9615: fs/fat: Fix undefined behavior in signed integer overflow check

2023-06-27 Thread via GitHub
pkarashchenko commented on code in PR #9615: URL: https://github.com/apache/nuttx/pull/9615#discussion_r1243912457 ## fs/fat/fs_fat32.c: ## @@ -764,7 +764,13 @@ static ssize_t fat_write(FAR struct file *filep, FAR const char *buffer, /* Check if the file size would exceed

[GitHub] [nuttx] anchao opened a new pull request, #9631: sched/pthread: fix race condition on pthread_cond_wait()

2023-06-27 Thread via GitHub
anchao opened a new pull request, #9631: URL: https://github.com/apache/nuttx/pull/9631 ## Summary sched/pthread: fix race condition on pthread_cond_wait() pthread_cond_wait() should be an atomic operation in the mutex lock/unlock. Since the sched_lock() has been wrongl

[GitHub] [nuttx] raiden00pl commented on a diff in pull request #9629: ioexpander: add SX1509 support

2023-06-27 Thread via GitHub
raiden00pl commented on code in PR #9629: URL: https://github.com/apache/nuttx/pull/9629#discussion_r1243718674 ## drivers/leds/userled_upper.c: ## @@ -464,6 +464,53 @@ static int userled_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } break; +#ifdef

[GitHub] [nuttx] raiden00pl commented on a diff in pull request #9629: ioexpander: add SX1509 support

2023-06-27 Thread via GitHub
raiden00pl commented on code in PR #9629: URL: https://github.com/apache/nuttx/pull/9629#discussion_r1243718674 ## drivers/leds/userled_upper.c: ## @@ -464,6 +464,53 @@ static int userled_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } break; +#ifdef

[nuttx] branch master updated: libs/libc/aio: fix aio_error compatible bug

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 6c60c7df07 libs/libc/aio: fix aio_error compatib

[GitHub] [nuttx] acassis merged pull request #9626: libs/libc/aio: fix aio_error compatible bug

2023-06-27 Thread via GitHub
acassis merged PR #9626: URL: https://github.com/apache/nuttx/pull/9626 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache

[GitHub] [nuttx] anchao opened a new pull request, #9630: mm/kasan: replace load/store methods to marco

2023-06-27 Thread via GitHub
anchao opened a new pull request, #9630: URL: https://github.com/apache/nuttx/pull/9630 ## Summary mm/kasan: replace load/store methods to marco ## Impact N/A ## Testing ci-check -- This is an automated message from the Apache Git Service. To respond to

[nuttx] branch master updated: tools: Add script to parse callstack

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 31a2c22112 tools: Add script to parse callstack

[GitHub] [nuttx] acassis merged pull request #9627: tools: Add script to parse callstack

2023-06-27 Thread via GitHub
acassis merged PR #9627: URL: https://github.com/apache/nuttx/pull/9627 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache

[nuttx] branch master updated: samv7: fix compile warnings for sam_wdt.c

2023-06-27 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 9a9c35fa45 samv7: fix compile warnings for sam_w

[GitHub] [nuttx] acassis merged pull request #9628: samv7: fix compile warnings for sam_wdt.c

2023-06-27 Thread via GitHub
acassis merged PR #9628: URL: https://github.com/apache/nuttx/pull/9628 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache

[GitHub] [nuttx] acassis commented on a diff in pull request #9629: ioexpander: add SX1509 support

2023-06-27 Thread via GitHub
acassis commented on code in PR #9629: URL: https://github.com/apache/nuttx/pull/9629#discussion_r1243698550 ## drivers/leds/userled_upper.c: ## @@ -464,6 +464,53 @@ static int userled_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } break; +#ifdef CO

[GitHub] [nuttx] wengzhe commented on pull request #3707: Fix NFS over TCP

2023-06-27 Thread via GitHub
wengzhe commented on PR #3707: URL: https://github.com/apache/nuttx/pull/3707#issuecomment-1609111480 Hi @masayuki2009, we recently found that NFS server on Ubuntu 22.04 still need client to use port under 1024, for both TCP and UDP. When using NuttX's `nfsmount`, we got `ERR_ACCESS (13)` i

[GitHub] [nuttx] GooTal commented on issue #9532: Questions about netutils running rv-virt:netnsh64 on branch releases/12.1

2023-06-27 Thread via GitHub
GooTal commented on issue #9532: URL: https://github.com/apache/nuttx/issues/9532#issuecomment-1609079316 Oh, thanks. I could successfully ping my host now. -- 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

[GitHub] [nuttx] michallenc opened a new pull request, #9628: samv7: fix compile warnings for sam_wdt.c

2023-06-27 Thread via GitHub
michallenc opened a new pull request, #9628: URL: https://github.com/apache/nuttx/pull/9628 ## Summary Incorrect types in wdinfo and wderr functions were fixed to PRIu32 and PRIx32. ## Impact Fix compilation warnings ## Testing Compilation passed. -- This is

[GitHub] [nuttx] SPRESENSE opened a new pull request, #9627: tools: Add script to parse callstack

2023-06-27 Thread via GitHub
SPRESENSE opened a new pull request, #9627: URL: https://github.com/apache/nuttx/pull/9627 ## Summary Add 'callstack.py' script for parsing stack dump log to callstack. ## Impact Nothing ## Testing Spresense assert log with Ubuntu environment. -- This is

[nuttx] branch master updated: include/sys: Include string.h to silence implicit memset declration.

2023-06-27 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/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 8a668fe733 include/sys: Include string.h t

[GitHub] [nuttx] pkarashchenko merged pull request #9619: include/sys: Include string.h to silence implicit memset declration.

2023-06-27 Thread via GitHub
pkarashchenko merged PR #9619: URL: https://github.com/apache/nuttx/pull/9619 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.

[GitHub] [nuttx] pkarashchenko closed issue #9616: Implicit delaration of memset when building against Nuttx export.

2023-06-27 Thread via GitHub
pkarashchenko closed issue #9616: Implicit delaration of memset when building against Nuttx export. URL: https://github.com/apache/nuttx/issues/9616 -- 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 t

[GitHub] [nuttx] xiaoxiang781216 merged pull request #9584: add gd32f470 support

2023-06-27 Thread via GitHub
xiaoxiang781216 merged PR #9584: URL: https://github.com/apache/nuttx/pull/9584 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nutt