Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2834159189 > > > since the current code base never add const to the local integer variables even they doesn't change after initialization. > > > > > > Why not? I'll change this if I get a

Re: [I] [HELP] Use cases for different sleep/delay functions [nuttx]

2025-04-27 Thread via GitHub
raiden00pl commented on issue #16259: URL: https://github.com/apache/nuttx/issues/16259#issuecomment-2834150263 `nxsig_` can't be used at early system boot, when OS components are not yet initialized. Also blocking delays are more precise than `nxsig_` if your `CONFIG_BOARD_LOOPSPERMSEC` is

(nuttx) branch master updated: boards/risc-v/esp32c3 Add initial support to Seeed Studio XIAO ESP32C3

2025-04-27 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea 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 bab3d8892b boards/risc-v/esp32c3 Add initial su

Re: [PR] boards/risc-v/esp32c3 Add initial support to Seeed Studio XIAO ESP32C3 [nuttx]

2025-04-27 Thread via GitHub
jerpelea merged PR #16274: URL: https://github.com/apache/nuttx/pull/16274 -- 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.apa

Re: [I] [BUG] STM32H7 43zi unstable, USB master, ps command and syslog crashes/hangs [nuttx]

2025-04-27 Thread via GitHub
raiden00pl commented on issue #16256: URL: https://github.com/apache/nuttx/issues/16256#issuecomment-2834112728 what ostest problems are you talking about here? the ostest with UART has been working for me for more than hour and I don't see any problems. -- This is an automated message f

Re: [PR] docs/tags: Introduce tagging feature to the documentation. [nuttx]

2025-04-27 Thread via GitHub
raiden00pl commented on code in PR #16275: URL: https://github.com/apache/nuttx/pull/16275#discussion_r2062960399 ## Documentation/conf.py: ## @@ -132,3 +134,16 @@ # -- Options for warnings_filter -- warnings_filter_config = "known-war

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
xiaoxiang781216 commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2834063080 > > since the current code base never add const to the local integer variables even they doesn't change after initialization. > > Why not? I'll change this if I get a second

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062926746 ## sched/semaphore/sem_waitirq.c: ## @@ -72,30 +72,54 @@ void nxsem_wait_irq(FAR struct tcb_s *wtcb, int errcode) { FAR struct tcb_s *rtcb = this_task();

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062917757 ## include/nuttx/semaphore.h: ## @@ -45,23 +45,42 @@ /* semcount, flags, waitlist, hhead */ #define NXSEM_INITIALIZER(c, f) \ - {(c), (f), SEM_WAI

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2834026328 > since the current code base never add const to the local integer variables even they doesn't change after initialization. Why not? -- This is an automated message from

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062913438 ## libs/libc/misc/lib_mutex.c: ## @@ -35,30 +35,14 @@ * Pre-processor Definitions / -

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062913034 ## sched/semaphore/sem_waitirq.c: ## @@ -72,30 +72,54 @@ void nxsem_wait_irq(FAR struct tcb_s *wtcb, int errcode) { FAR struct tcb_s *rtcb = this_task(); FAR se

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062910152 ## include/nuttx/semaphore.h: ## @@ -45,23 +45,42 @@ /* semcount, flags, waitlist, hhead */ #define NXSEM_INITIALIZER(c, f) \ - {(c), (f), SEM_WAITLIST_I

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062910152 ## include/nuttx/semaphore.h: ## @@ -45,23 +45,42 @@ /* semcount, flags, waitlist, hhead */ #define NXSEM_INITIALIZER(c, f) \ - {(c), (f), SEM_WAITLIST_I

Re: [PR] Enable mutex functionality in nxsem [nuttx]

2025-04-27 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2062909627 ## include/nuttx/semaphore.h: ## @@ -45,23 +45,42 @@ /* semcount, flags, waitlist, hhead */ #define NXSEM_INITIALIZER(c, f) \ - {(c), (f), SEM_WAITLIST_I

(nuttx-website) branch asf-site updated: Publishing web: 16e1777b863bd27e3a00b7b779baf0131af07df6 docs: 9566b2b908d92e4ed0152abf7bd03e5ca99291c4

2025-04-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 39920068d Publishing web: 16e1777

Re: [I] [FEATURE] raspberrypi pico w/2/2w firmware flashing automation with make flash [nuttx]

2025-04-27 Thread via GitHub
cederom commented on issue #16271: URL: https://github.com/apache/nuttx/issues/16271#issuecomment-2833654212 TANK U SIR! :-) -- 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] docs/tags: Introduce tagging feature to the documentation. [nuttx]

2025-04-27 Thread via GitHub
linguini1 commented on PR #16275: URL: https://github.com/apache/nuttx/pull/16275#issuecomment-2833641907 > Thank you @linguini1 :-) Very cool start! Builds and works fine for me :-) > > Would it be possible to rename "Site Tags" to just "Tags" ? :-) Certainly! -- This is an

Re: [PR] docs/tags: Introduce tagging feature to the documentation. [nuttx]

2025-04-27 Thread via GitHub
cederom commented on PR #16275: URL: https://github.com/apache/nuttx/pull/16275#issuecomment-2833637531 @linguini1 as you are most familiar with rPI-Pico can we assign you this task to research in a free moment? :-) Having this single usb port flashing just as with esptool would enable auto

Re: [PR] docs/tags: Introduce tagging feature to the documentation. [nuttx]

2025-04-27 Thread via GitHub
nuttxpr commented on PR #16275: URL: https://github.com/apache/nuttx/pull/16275#issuecomment-2833594079 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) Yes, this PR appears to meet the NuttX requirements, al

[PR] docs/tags: Introduce tagging feature to the documentation. [nuttx]

2025-04-27 Thread via GitHub
linguini1 opened a new pull request, #16275: URL: https://github.com/apache/nuttx/pull/16275 ## Summary Introduces `sphinx-tags` to the documentation system, allowing individual pages to be tagged for better searching. The examples in this commit introduce the `chip:*` tag for indica

Re: [PR] Adding a single example for new joiners [nuttx-apps]

2025-04-27 Thread via GitHub
cederom commented on PR #3065: URL: https://github.com/apache/nuttx-apps/pull/3065#issuecomment-2833584973 Thanks @vrmay23 :-) What is the difference here between https://github.com/apache/nuttx-apps/tree/master/examples/hello ? :-) -- This is an automated message from the Apache Git Serv

Re: [PR] Adding a single example for new joiners [nuttx-apps]

2025-04-27 Thread via GitHub
nuttxpr commented on PR #3065: URL: https://github.com/apache/nuttx-apps/pull/3065#issuecomment-2833552859 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) __Fill In The Commit Message:__ This PR contains a Commit wi

[PR] Adding a single example for new joiners [nuttx-apps]

2025-04-27 Thread via GitHub
vrmay23 opened a new pull request, #3065: URL: https://github.com/apache/nuttx-apps/pull/3065 ## Summary As new on nuttx and posix style, I missed some simple examples for the classic 'hello world'. To solve it, just create one simple code that can be compiled in both nuttx env and li

[PR] Documentation: Add Seeed Studio XIAO ESP32C3 Board [nuttx]

2025-04-27 Thread via GitHub
rcsim opened a new pull request, #16273: URL: https://github.com/apache/nuttx/pull/16273 ## Summary This commit adds the documentation for the Seeed Studio XIAO ESP32C3 board. It includes examples for GPIOs, Wifi and BT. ## Impact Is new feature added? Is existing feature ch

Re: [PR] boards/risc-v/esp32c3 Add initial support to Seeed Studio XIAO ESP32C3 [nuttx]

2025-04-27 Thread via GitHub
nuttxpr commented on PR #16274: URL: https://github.com/apache/nuttx/pull/16274#issuecomment-2833510081 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) The PR mostly meets the NuttX requirements but could be

Re: [PR] Documentation: Add Seeed Studio XIAO ESP32C3 Board [nuttx]

2025-04-27 Thread via GitHub
nuttxpr commented on PR #16273: URL: https://github.com/apache/nuttx/pull/16273#issuecomment-2833510582 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) Yes, this PR appears to meet the NuttX requirements. T

[PR] boards/risc-v/esp32c3 Add initial support to Seeed Studio XIAO ESP32C3 [nuttx]

2025-04-27 Thread via GitHub
rcsim opened a new pull request, #16274: URL: https://github.com/apache/nuttx/pull/16274 ## Summary This commit introduces initial support for the Seeed Studio XIAO ESP32C3 board. Five configurations are available: - nsh: Basic NuttShell support over UART0 - usbnsh: Basic NuttShell

Re: [PR] drivers/video/fb.c: Add startup splashscreen option [nuttx]

2025-04-27 Thread via GitHub
simbit18 commented on code in PR #16257: URL: https://github.com/apache/nuttx/pull/16257#discussion_r2062623466 ## drivers/video/Kconfig: ## @@ -56,6 +56,102 @@ config VIDEO_FB_NPOLLWAITERS depends on VIDEO_FB default 2 +config VIDEO_FB_SPLASHSCREEN + boo

Re: [I] [BUG] RP2350 ostest stuck when SMP enabled [nuttx]

2025-04-27 Thread via GitHub
avgoor commented on issue #16133: URL: https://github.com/apache/nuttx/issues/16133#issuecomment-2833440142 @keever50 It is "running", meaning that the active thread is actively reading the SPINLOCK register for acquiring the spinlock (which never happens for some reason). If you unlock the

(nuttx) branch master updated (5ce0e93637 -> 9566b2b908)

2025-04-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 5ce0e93637 arch/risc-v: save/restore fpu registers always when CONFIG_ARCH_LAZYFPU is off add 9566b2b908 drivers

Re: [PR] drivers/lcd/ili9341: Add custom width/height display options [nuttx]

2025-04-27 Thread via GitHub
acassis merged PR #16267: URL: https://github.com/apache/nuttx/pull/16267 -- 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.apac

Re: [I] [BUG] RP2350 ostest stuck when SMP enabled [nuttx]

2025-04-27 Thread via GitHub
keever50 commented on issue #16133: URL: https://github.com/apache/nuttx/issues/16133#issuecomment-2833384698 `as if the UART I/O procedure itself interferes with other lock operations.` I think that is likely. As RP2040 suffers from glitchy and bad UART. Both on USB and HW UART. Thi

Re: [I] [BUG] RP2350 ostest stuck when SMP enabled [nuttx]

2025-04-27 Thread via GitHub
avgoor commented on issue #16133: URL: https://github.com/apache/nuttx/issues/16133#issuecomment-2833369160 I must correct myself. I've rerun the fresh `master` with `CONFIG_SMP_NCPUS=1` and it's very unstable now. With enabled extra debug output it gets stuck randomly here and there, as if

Re: [PR] sched/wqueue: Refactor delayed and periodic workqueue. [nuttx]

2025-04-27 Thread via GitHub
GUIDINGLI commented on code in PR #16231: URL: https://github.com/apache/nuttx/pull/16231#discussion_r2062565038 ## sched/wqueue/wqueue.h: ## @@ -66,14 +66,15 @@ struct kworker_s struct kwork_wqueue_s { - struct dq_queue_s q; /* The queue of pending work */ - sem_t