(nuttx-website) branch asf-site updated: Publishing web: be40bd59e126a7ffe6ebacfb1b7682fcd8e89704 docs: dd07367f4eeb5ebe785c601e84143cfaf6ad411a

2025-06-06 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 128dfc41f Publishing web: be40bd5

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-06 Thread via GitHub
ppisa commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2132843957 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +645,38 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flags = spi

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-06 Thread via GitHub
fdcavalcanti commented on PR #16491: URL: https://github.com/apache/nuttx/pull/16491#issuecomment-2950080944 Looks good to me. -- 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

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-06 Thread via GitHub
fdcavalcanti commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2132658119 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +645,38 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flag

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-06 Thread via GitHub
fdcavalcanti commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2132658119 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +645,38 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flag

Re: [PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-06 Thread via GitHub
fdcavalcanti commented on code in PR #16491: URL: https://github.com/apache/nuttx/pull/16491#discussion_r2132658119 ## arch/risc-v/src/common/espressif/esp_pcnt.c: ## @@ -642,8 +645,38 @@ static int esp_pcnt_unit_get_count(struct cap_lowerhalf_s *dev, int *ret) } flag

Re: [I] [BUG] Espressif Pulse Counter changes and bugs in Quadrature Encoder logic [nuttx]

2025-06-06 Thread via GitHub
Vajnar commented on issue #15319: URL: https://github.com/apache/nuttx/issues/15319#issuecomment-2950061252 Hi, I prepared PR https://github.com/apache/nuttx/pull/16491, which should fix possible wrong read of PCNT counter value in case an event (reaching low or high limit) is generated in

[PR] espressif[risc-v|xtensa]: Check events when reading PCNT counter value [nuttx]

2025-06-06 Thread via GitHub
Vajnar opened a new pull request, #16491: URL: https://github.com/apache/nuttx/pull/16491 ## Summary First commit of this PR copies counter accumulation fix from risc-v code to extensa, namely PR https://github.com/apache/nuttx/pull/16392. Second commit takes care of event hand

Re: [PR] Added support obtaining the unique id for the stm32f0l0g0 family [nuttx]

2025-06-06 Thread via GitHub
kywwilson11 commented on code in PR #16489: URL: https://github.com/apache/nuttx/pull/16489#discussion_r2132332620 ## arch/arm/src/stm32f0l0g0/stm32_uid.h: ## @@ -0,0 +1,52 @@ +/ + * arch/arm/src/stm32f0

Re: [PR] sched/wdog: Replace periodical timer with the wd_start_next. [nuttx]

2025-06-06 Thread via GitHub
acassis commented on PR #16481: URL: https://github.com/apache/nuttx/pull/16481#issuecomment-2949459845 Look at sched/wqueue/kwork_queue.c, work_queue() end up using work_queue_period_wq() : ``` int work_queue_wq(FAR struct kwork_wqueue_s *wqueue, FAR struct wo

Re: [PR] sched/wdog: Replace periodical timer with the wd_start_next. [nuttx]

2025-06-06 Thread via GitHub
acassis commented on PR #16481: URL: https://github.com/apache/nuttx/pull/16481#issuecomment-2949448021 > > Added label #need_more_testing because this modification could potentially break existing drivers that use work queue > > wd_start_period is added recently, so the impact is min

Re: [PR] sched/wdog: Replace periodical timer with the wd_start_next. [nuttx]

2025-06-06 Thread via GitHub
xiaoxiang781216 commented on PR #16481: URL: https://github.com/apache/nuttx/pull/16481#issuecomment-2949404256 > Added label #need_more_testing because this modification could potentially break existing drivers that use work queue wd_start_period is added recently, so the impact is m

Re: [PR] sched/wdog: Replace periodical timer with the wd_start_next. [nuttx]

2025-06-06 Thread via GitHub
acassis commented on PR #16481: URL: https://github.com/apache/nuttx/pull/16481#issuecomment-2949383021 Added label #need_more_testing because this modification could potentially break existing drivers that use work queue -- This is an automated message from the Apache Git Service. To res

Re: [PR] sched/wdog: Replace periodical timer with the wd_start_next. [nuttx]

2025-06-06 Thread via GitHub
acassis commented on code in PR #16481: URL: https://github.com/apache/nuttx/pull/16481#discussion_r2132255083 ## include/nuttx/wdog.h: ## @@ -320,8 +314,19 @@ static inline int wd_start_realtime(FAR struct wdog_s *wdog, * ***

Re: [PR] sched/wdog: Replace periodical timer with the wd_start_next. [nuttx]

2025-06-06 Thread via GitHub
acassis commented on code in PR #16481: URL: https://github.com/apache/nuttx/pull/16481#discussion_r2132255083 ## include/nuttx/wdog.h: ## @@ -320,8 +314,19 @@ static inline int wd_start_realtime(FAR struct wdog_s *wdog, * ***

[PR] fs/vfs: check if all `iov_base` are accessible [nuttx]

2025-06-06 Thread via GitHub
JianyuWang0623 opened a new pull request, #16490: URL: https://github.com/apache/nuttx/pull/16490 ## Summary Check if all `iov_base` are inside accessible address space. e.g. ``` ret = write(fd, NULL, 3); ``` The `iov.iov_base` is NULL but `iov.iov_len` is NOT zero. ht

(nuttx) branch master updated (0b3cd35360 -> dd07367f4e)

2025-06-06 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 0b3cd35360 sched/spinlock: add recursive support(rspinlock_s) for spinlock new 56ad0d6837 arch: Flag all defin

Re: [PR] Added support obtaining the unique id for the stm32f0l0g0 family [nuttx]

2025-06-06 Thread via GitHub
tinnedkarma commented on code in PR #16489: URL: https://github.com/apache/nuttx/pull/16489#discussion_r2131967196 ## arch/arm/src/stm32f0l0g0/stm32_uid.h: ## @@ -0,0 +1,52 @@ +/ + * arch/arm/src/stm32f0

Re: [PR] Added support obtaining the unique id for the stm32f0l0g0 family [nuttx]

2025-06-06 Thread via GitHub
tinnedkarma commented on code in PR #16489: URL: https://github.com/apache/nuttx/pull/16489#discussion_r2131906067 ## arch/arm/src/stm32f0l0g0/stm32_uid.h: ## @@ -0,0 +1,52 @@ +/ + * arch/arm/src/stm32f0

(nuttx) 02/02: arch/riscv/Kconfig: Remove select "ARCH_PERF_EVENTS" from Kconfig

2025-06-06 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 commit dd07367f4eeb5ebe785c601e84143cfaf6ad411a Author: Jukka Laitinen AuthorDate: Thu Jun 5 08:40:00 2025 +0300 arch/ri

(nuttx) 01/02: arch: Flag all definitions of up_perf_* functions with CONFIG_ARCH_HAVE_PERF_EVENTS

2025-06-06 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 commit 56ad0d6837783479d7be99cdedc8d0ac99406cc9 Author: Jukka Laitinen AuthorDate: Thu Jun 5 08:34:33 2025 +0300 arch: F

Re: [PR] Fix arch perf events ifdef in alarm [nuttx]

2025-06-06 Thread via GitHub
xiaoxiang781216 merged PR #16487: URL: https://github.com/apache/nuttx/pull/16487 -- 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...@nu

Re: [PR] Added support obtaining the unique id for the stm32f0l0g0 family [nuttx]

2025-06-06 Thread via GitHub
simbit18 commented on PR #16489: URL: https://github.com/apache/nuttx/pull/16489#issuecomment-2948517205 Hi @kywwilson11 add stm32_uid.c also for cmake https://github.com/apache/nuttx/blob/0b3cd35360b9ed54b9a8c1e4af592e59125dd29a/arch/arm/src/stm32f0l0g0/CMakeLists.txt#L35 -- This