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

2025-04-15 Thread via GitHub
pussuw commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044380461 ## sched/semaphore/sem_holder.c: ## @@ -970,11 +972,32 @@ void nxsem_release_all(FAR struct tcb_s *htcb) nxsem_freeholder(sem, pholder); - /* Increment t

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

2025-04-15 Thread via GitHub
pussuw commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044384076 ## sched/semaphore/sem_post.c: ## @@ -178,14 +228,6 @@ int nxsem_post_slow(FAR sem_t *sem) up_switch_context(stcb, rtcb); } } -#if 0

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

2025-04-15 Thread via GitHub
pussuw commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044359202 ## sched/semaphore/sem_holder.c: ## @@ -876,7 +876,9 @@ void nxsem_canceled(FAR struct tcb_s *stcb, FAR sem_t *sem) { /* Check our assumptions */ - DEBUGASSERT(at

Re: [I] [BUG] esp32-devkitc:elf broken after #16154 [nuttx]

2025-04-15 Thread via GitHub
Laczen commented on issue #16201: URL: https://github.com/apache/nuttx/issues/16201#issuecomment-2804864348 @anjiahao1 I have tested the PR and can confirm that it solved the problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

Re: [I] Can't build custom board [nuttx]

2025-04-15 Thread via GitHub
fdcavalcanti commented on issue #12122: URL: https://github.com/apache/nuttx/issues/12122#issuecomment-2804975306 Go to `nuttx/tools/Unix.mk`and modify the `savedefconfig` instruction (around line 748). Add this line: `$(Q) grep "CONFIG_ARCH_BOARD_COMMON=" .config >> defconfig.tmp;

[PR] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
tmedicci opened a new pull request, #16216: URL: https://github.com/apache/nuttx/pull/16216 ## Summary * Revert "libs/libc/semaphore: Fix DEBUGASSERTS" This reverts commit 300992203ac0a14602c8cf744ec87d5525fe4dfb to fix a problem with `esp32-devkitc:blewifi`, which fails to boo

Re: [PR] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
tmedicci commented on PR #16216: URL: https://github.com/apache/nuttx/pull/16216#issuecomment-2804971440 @jlaitine , can you take a look please? -- 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 th

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

2025-04-15 Thread via GitHub
jlaitine commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2805002480 Fixed: bugs causing the citest to fail, review comments. Need to run a bunch of tests again. -- This is an automated message from the Apache Git Service. To respond to the message,

Re: [I] Can't build custom board [nuttx]

2025-04-15 Thread via GitHub
shtirlic commented on issue #12122: URL: https://github.com/apache/nuttx/issues/12122#issuecomment-2804694610 I am using https://github.com/shtirlic/picocalc-nx as out of tree boards, as usual I do `make distclean` then `./tools/configure.sh ../picocalc-nx/configs/nsh` . In this repo defcof

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

2025-04-15 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044431240 ## sched/semaphore/sem_holder.c: ## @@ -876,7 +876,9 @@ void nxsem_canceled(FAR struct tcb_s *stcb, FAR sem_t *sem) { /* Check our assumptions */ - DEBUGASSERT(

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

2025-04-15 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044434643 ## sched/semaphore/sem_destroy.c: ## @@ -74,15 +77,27 @@ int nxsem_destroy(FAR sem_t *sem) * leave the count unchanged but still return OK. */ - old = atomi

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

2025-04-15 Thread via GitHub
pussuw commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044355170 ## libs/libc/semaphore/sem_wait.c: ## @@ -155,8 +156,9 @@ int nxsem_wait(FAR sem_t *sem) # endif ) { - int32_t old = 1; - if (atomic_try_cmpxchg_

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044063140 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/r

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044214312 ## boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt: ## @@ -0,0 +1,49 @@ +# ## +# bo

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044103447 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/r

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

2025-04-15 Thread via GitHub
pussuw commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044373931 ## sched/semaphore/sem_destroy.c: ## @@ -74,15 +77,27 @@ int nxsem_destroy(FAR sem_t *sem) * leave the count unchanged but still return OK. */ - old = atomic_

Re: [I] [HELP] STM32 Standardized Flash Terminology [nuttx]

2025-04-15 Thread via GitHub
stbenn closed issue #16170: [HELP] STM32 Standardized Flash Terminology URL: https://github.com/apache/nuttx/issues/16170 -- 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 uns

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044561567 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/r

Re: [PR] arch/xtensa/esp32: Add support for hardware accelerated SHA [nuttx]

2025-04-15 Thread via GitHub
tmedicci commented on code in PR #16016: URL: https://github.com/apache/nuttx/pull/16016#discussion_r2044370763 ## arch/xtensa/src/esp32/esp32_crypto.c: ## @@ -0,0 +1,478 @@ +/ + * arch/xtensa/src/esp32/

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044561567 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/r

Re: [PR] Support ethernet without MDIO & MDC lines [nuttx]

2025-04-15 Thread via GitHub
acassis commented on PR #16215: URL: https://github.com/apache/nuttx/pull/16215#issuecomment-2805169172 Hi @azerupi that is interesting. Sometime ago some people asking in the list how to do something similar, but in that case they were willing to communicate two MCUs directly using Etherne

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-15 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2805207898 @acassis I can confirm that this method also works with the elf example. NuttX is so cool :-). I will look into making an example (e.g. hello_world) to show the method. -- Th

Re: [PR] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
tmedicci commented on PR #16216: URL: https://github.com/apache/nuttx/pull/16216#issuecomment-2805447578 > I kind of understand your explanation; but why on earth someone tries to take a semaphore in interrupt? This comes from the bt adapter, which is inspired on ESP-IDF's. Take a loo

[PR] drivers/leds: Add support for KTD2052 [nuttx]

2025-04-15 Thread via GitHub
stbenn opened a new pull request, #16217: URL: https://github.com/apache/nuttx/pull/16217 This commit adds support for the KTD2052 LED driver chip. ## Summary Driver implementation necessary to interface with KTD2052 LED driver chips. Originally authored by @ArrestedLightning

Re: [PR] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
acassis commented on PR #16216: URL: https://github.com/apache/nuttx/pull/16216#issuecomment-2805476161 @jlaitine please review (GH doesn't allow me add you as review) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

Re: [PR] drivers/leds: Add support for KTD2052 [nuttx]

2025-04-15 Thread via GitHub
nuttxpr commented on PR #16217: URL: https://github.com/apache/nuttx/pull/16217#issuecomment-2805483571 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) No, this PR description does not fully meet the NuttX r

Re: [PR] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
jlaitine commented on PR #16216: URL: https://github.com/apache/nuttx/pull/16216#issuecomment-2805163740 I kind of understand your explanation; but why on earth someone tries to lock a mutex in interrupt? -- This is an automated message from the Apache Git Service. To respond to the m

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

2025-04-15 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2046100802 ## libs/libc/semaphore/sem_trywait.c: ## @@ -127,8 +128,9 @@ int nxsem_trywait(FAR sem_t *sem) #endif ) { - int32_t old = 1; - return atomic_try

Re: [PR] drivers/video/vnc: Replace direct semcount access with nxsem_get_value [nuttx]

2025-04-15 Thread via GitHub
nuttxpr commented on PR #16222: URL: https://github.com/apache/nuttx/pull/16222#issuecomment-2808373924 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) No. The PR summary is insufficient. It does not expla

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044214312 ## boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt: ## @@ -0,0 +1,49 @@ +# ## +# bo

Re: [I] [BUG] Missing Standard C++ Headers When Building CxxTest Using CMake [nuttx]

2025-04-15 Thread via GitHub
trns1997 commented on issue #16221: URL: https://github.com/apache/nuttx/issues/16221#issuecomment-2808336970 > [@trns1997](https://github.com/trns1997) does the same issue happen when you compile with Makefile? > No the issue does not occur when compiling using the Makefile. -- Th

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on PR #16212: URL: https://github.com/apache/nuttx/pull/16212#issuecomment-2808467645 I don't see any `rp2040_pico.h` in the `nuttx/boards/arm/rp2040/common/include` i think that what causing this error. ``` roskuttan@SILENT-KILLERED:~/nuttx_pr/nuttx$ cmake

Re: [PR] Make slcan brin the interface up/down with the appropiate commands [nuttx-apps]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #3059: URL: https://github.com/apache/nuttx-apps/pull/3059#discussion_r2045139027 ## canutils/slcan/slcan.c: ## @@ -137,8 +137,8 @@ static int caninit(char *candev, int *s, struct sockaddr_can *addr, syslog(LOG_ERR, "Error opening

Re: [PR] drivers/leds: Add support for KTD2052 [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #16217: URL: https://github.com/apache/nuttx/pull/16217#discussion_r2045132768 ## include/nuttx/leds/ktd2052.h: ## @@ -0,0 +1,142 @@ +/ + * include/nuttx/leds/ktd2

Re: [PR] Support ethernet without MDIO & MDC lines [nuttx]

2025-04-15 Thread via GitHub
azerupi commented on code in PR #16215: URL: https://github.com/apache/nuttx/pull/16215#discussion_r2045129208 ## arch/arm/src/stm32h5/stm32_ethernet.c: ## @@ -3604,9 +3604,10 @@ static inline void stm32_ethgpioconfig(struct stm32_ethmac_s *priv) #if defined(CONFIG_STM32H5_MII

Re: [PR] Make slcan brin the interface up/down with the appropiate commands [nuttx-apps]

2025-04-15 Thread via GitHub
nuttxpr commented on PR #3059: URL: https://github.com/apache/nuttx-apps/pull/3059#issuecomment-2806956844 [**\[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,

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-15 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2802171800 > That is really cool approach! Maybe using it with progmem you can have create OTA apps update That is my ultimate goal, I reckon that if modules (see examples/module) can be

Re: [I] [HELP] Encapsulating Kconfig options in Arch files [nuttx]

2025-04-15 Thread via GitHub
raiden00pl commented on issue #16202: URL: https://github.com/apache/nuttx/issues/16202#issuecomment-2804036165 I'm against this as long as it's a change only for stm32h5. All stm32 ports should look the same for easier maintenance. I don't think multiple Kconfig is a bad idea, I think the

Re: [PR] arch/arm/stm32h5: Add USART6 serial driver config. [nuttx]

2025-04-15 Thread via GitHub
nuttxpr commented on PR #16206: URL: https://github.com/apache/nuttx/pull/16206#issuecomment-2803108877 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) No, this PR does not fully meet the NuttX requirements.

Re: [PR] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
tmedicci commented on PR #16216: URL: https://github.com/apache/nuttx/pull/16216#issuecomment-2807302972 > @tmedicci please include the Summary info to the git commit log Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

Re: [PR] arch/arm/stm32h5: GPDMA Hardware files [nuttx]

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

[PR] arch/risc-v/espressif: Bump common source version [nuttx]

2025-04-15 Thread via GitHub
tmedicci opened a new pull request, #16219: URL: https://github.com/apache/nuttx/pull/16219 ## Summary * arch/risc-v/espressif: Bump common source version This PR bumps common source version for RISC-V-based Espressif SoCs on NuttX. Specifically, this solves an issue regarding

[PR] arch/arm/stm32h5: GPDMA Hardware files [nuttx]

2025-04-15 Thread via GitHub
stbenn opened a new pull request, #16218: URL: https://github.com/apache/nuttx/pull/16218 Add the hardware register definition file for the GPDMA peripheral. This is necessary to support implementing dma driver in the future. Also adds skeleton arch dma header that includes the hardwa

Re: [I] [BUG] elf example fails to compile on esp32-devkitc [nuttx-apps]

2025-04-15 Thread via GitHub
Laczen commented on issue #3058: URL: https://github.com/apache/nuttx-apps/issues/3058#issuecomment-2804518918 Oops, sorry for duplicate issue. -- 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

(nuttx) branch master updated: arch/arm/rp23xx: Fix PWM registers access

2025-04-15 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 5ddc67b129 arch/arm/rp23xx: Fix PWM registers

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
nuttxpr commented on PR #16212: URL: https://github.com/apache/nuttx/pull/16212#issuecomment-2804095217 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) This PR does *not* fully meet the NuttX requirements ye

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

2025-04-15 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2043740058 ## include/semaphore.h: ## @@ -104,8 +104,16 @@ struct semholder_s struct sem_s { - volatile int32_t semcount; /* >0 -> Num counts available */ -

Re: [PR] arch/xtensa: add crt0 to initialize environment [nuttx]

2025-04-15 Thread via GitHub
tmedicci commented on PR #16208: URL: https://github.com/apache/nuttx/pull/16208#issuecomment-2804904120 Testing on our internal CI... -- 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

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2045087150 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/

Re: [I] [BUG] elf example fails to compile on esp32-devkitc [nuttx-apps]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on issue #3058: URL: https://github.com/apache/nuttx-apps/issues/3058#issuecomment-2804512406 dup with https://github.com/apache/nuttx/issues/16201, let's track the problem there. -- This is an automated message from the Apache Git Service. To respond to the mess

(nuttx) branch master updated (3d848810b7 -> 1c4ac3dfe7)

2025-04-15 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 3d848810b7 arch/arm/stm32h5: Add USART6 serial driver config. add 1c4ac3dfe7 arch/arm/stm32h5: copy bss and ini

Re: [PR] arch/arm/stm32h5: Fix ADC internal channel configuration. [nuttx]

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

[PR] Add CMakeLists.txt for tm4c123g-launchpad [nuttx]

2025-04-15 Thread via GitHub
roskuttan opened a new pull request, #16200: URL: https://github.com/apache/nuttx/pull/16200 This PR adds CMakeLists.txt files to the following directories: - boards/arm/tiva/tm4c123g-launchpad/CMakeLists.txt - boards/arm/tiva/tm4c123g-launchpad/src/CMakeLists.txt -- This is an autom

Re: [PR] system/dd: using system dd to instead nsh dd, avoid duplicate code [nuttx-apps]

2025-04-15 Thread via GitHub
lupyuen commented on PR #3057: URL: https://github.com/apache/nuttx-apps/pull/3057#issuecomment-2801231570 We'll change Draft Mode to Ready For Review, after voting has closed. Thanks :-) - https://github.com/apache/nuttx/pull/16198#issuecomment-2801225788 -- This is an automated messa

Re: [PR] arch/xtensa/esp32: Add support for hardware accelerated SHA [nuttx]

2025-04-15 Thread via GitHub
PruteanuVlad commented on code in PR #16016: URL: https://github.com/apache/nuttx/pull/16016#discussion_r2042870374 ## arch/xtensa/src/esp32/esp32_sha.c: ## Review Comment: Oops, sorry, missed that. Should be (hopefully) fixed now 😄 -- This is an automated message from

Re: [PR] drivers/leds: Add support for KTD2052 [nuttx]

2025-04-15 Thread via GitHub
acassis commented on PR #16217: URL: https://github.com/apache/nuttx/pull/16217#issuecomment-2806819297 @stbenn please include a Documentation to https://nuttx.apache.org/docs/latest/components/drivers/character/leds/index.html and an app testing application, this way users could use it wit

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

2025-04-15 Thread via GitHub
pussuw commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044354679 ## libs/libc/semaphore/sem_trywait.c: ## @@ -127,8 +128,9 @@ int nxsem_trywait(FAR sem_t *sem) #endif ) { - int32_t old = 1; - return atomic_try_c

Re: [I] [BUG] esp32-devkitc:elf broken after #16154 [nuttx]

2025-04-15 Thread via GitHub
anjiahao1 commented on issue #16201: URL: https://github.com/apache/nuttx/issues/16201#issuecomment-2804991247 > [@anjiahao1](https://github.com/anjiahao1) I have tested the PR and can confirm that it solved the problem. thanks! -- This is an automated message from the Apache Git S

Re: [PR] arch/xtensa: add crt0 to initialize environment [nuttx]

2025-04-15 Thread via GitHub
tmedicci commented on PR #16208: URL: https://github.com/apache/nuttx/pull/16208#issuecomment-2805378526 > Testing on our internal CI... Everything is fine with this PR. It solves #16201 . Thanks, @anjiahao1 ! -- This is an automated message from the Apache Git Service. To respond t

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-15 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2805466599 @Laczen cool! If you get some inspiration please create a Guide showing how to do an Application update using this ROMFS approach with ELF support -- This is an automated message f

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

2025-04-15 Thread via GitHub
jlaitine commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2806868822 Moved back to draft until I fix it to pass the CI and all my testing is re-done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on t

Re: [PR] Support ethernet without MDIO & MDC lines [nuttx]

2025-04-15 Thread via GitHub
azerupi commented on PR #16215: URL: https://github.com/apache/nuttx/pull/16215#issuecomment-2806597299 We are using the RTL8364NBI-CG. I don't think I can share a screenshot of the schematic but here is a simplified diagram if that helps. ![image](https://github.com/user-attachments

[PR] xtensa:add crt0 to initialize environment [nuttx]

2025-04-15 Thread via GitHub
anjiahao1 opened a new pull request, #16208: URL: https://github.com/apache/nuttx/pull/16208 ## Summary add crt0 to initialize environment for xtensa arch ## Impact fix xtensa elf build ## Testing build esp32-devkitc:elf -- This is an automated me

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044157532 ## boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt: ## @@ -0,0 +1,49 @@ +# ## +# boa

[PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan opened a new pull request, #16212: URL: https://github.com/apache/nuttx/pull/16212 ## Summary This change introduces CMake build support for the Raspberry Pi Pico board in Apache NuttX to provide an alternative build system widely used in modern embedded development, enhanc

(nuttx) branch master updated (9643ee78aa -> 96fef53ee9)

2025-04-15 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 9643ee78aa arch/arm/stm32h5: Fix i2c compiler warnings. add 96fef53ee9 stm32h7: enable Ethernet for STM32H7X7XX

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

2025-04-15 Thread via GitHub
jlaitine commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2804080159 Seems that I still need to work on this; citest is failing for some reason -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHu

[PR] Revert 3 rpi pico cmake [nuttx]

2025-04-15 Thread via GitHub
roskuttan opened a new pull request, #16211: URL: https://github.com/apache/nuttx/pull/16211 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary *Update this section with information on why change is necess

Re: [PR] [BREAKING] boards/defconfig: remove unused config about dd [nuttx]

2025-04-15 Thread via GitHub
lupyuen commented on PR #16198: URL: https://github.com/apache/nuttx/pull/16198#issuecomment-2803846114 Sorry @Donny9: `qemu-armv7a:full` is failing, would you know why? https://gist.github.com/nuttxpr/82af5220c78137defbc00af0612a28b1#file-ci-arm-05-log-L1307 ``` Cmake in present: q

Re: [PR] arch/xtensa: add crt0 to initialize environment [nuttx]

2025-04-15 Thread via GitHub
anjiahao1 commented on PR #16208: URL: https://github.com/apache/nuttx/pull/16208#issuecomment-2804252710 @jerpelea thanks, i add some description for this change -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] [BREAKING] boards/defconfig: remove unused config about dd [nuttx]

2025-04-15 Thread via GitHub
Donny9 commented on PR #16198: URL: https://github.com/apache/nuttx/pull/16198#issuecomment-2803965423 > Sorry @Donny9: `qemu-armv7a:full` is failing, would you know why? https://gist.github.com/nuttxpr/82af5220c78137defbc00af0612a28b1#file-ci-arm-05-log-L1307 > > ``` > Cmake in pr

[I] [FEATURE] Support ethernet without MDIO & MDC lines [nuttx]

2025-04-15 Thread via GitHub
azerupi opened a new issue, #16213: URL: https://github.com/apache/nuttx/issues/16213 ### Is your feature request related to a problem? Please describe. We have a board with an STM32H7 connected to an IC switch through RMII. This IC switch is also connected to an embedded Linux soc an

[PR] arch/arm/rp23xx: Fix IRQ prioritize [nuttx]

2025-04-15 Thread via GitHub
shtirlic opened a new pull request, #16214: URL: https://github.com/apache/nuttx/pull/16214 Fixes the reg addresses that were copied from armv6m rp2040 to the actual armv8m spec ## Summary Current IRQ prioritize routine failed to compile and broken. ## Impact Work

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044221397 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/

Re: [PR] arch/arm/rp23xx: Fix IRQ prioritize [nuttx]

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

Re: [PR] arch/arm/rp23xx: Fix PWM registers access [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 merged PR #16210: URL: https://github.com/apache/nuttx/pull/16210 -- 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] Enable mutex functionality in nxsem [nuttx]

2025-04-15 Thread via GitHub
lupyuen commented on PR #16194: URL: https://github.com/apache/nuttx/pull/16194#issuecomment-2804450139 @jlaitine I restarted the CI Test, let's see if it fails again... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044157532 ## boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt: ## @@ -0,0 +1,49 @@ +# ## +# boa

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044146914 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/

Re: [I] [BUG] elf example fails to compile on esp32-devkitc [nuttx-apps]

2025-04-15 Thread via GitHub
xiaoxiang781216 closed issue #3058: [BUG] elf example fails to compile on esp32-devkitc URL: https://github.com/apache/nuttx-apps/issues/3058 -- 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 spec

[I] [BUG] elf example fails to compile on esp32-devkitc [nuttx-apps]

2025-04-15 Thread via GitHub
Laczen opened a new issue, #3058: URL: https://github.com/apache/nuttx-apps/issues/3058 ### Description / Steps to reproduce the issue The elf example fails to compile for esp32-devkitc. I am unsure if this is related to the latest changes to libelf. To reproduce: ```console

Re: [PR] stm32h7: enable Ethernet for STM32H7X7XX [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 merged PR #16209: URL: https://github.com/apache/nuttx/pull/16209 -- 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] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044063140 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/r

Re: [PR] [BREAKING] boards/defconfig: remove unused config about dd [nuttx]

2025-04-15 Thread via GitHub
lupyuen commented on PR #16198: URL: https://github.com/apache/nuttx/pull/16198#issuecomment-2804398697 @Donny9 Can you check this error? Thanks! https://gist.github.com/nuttxpr/5bc91eefff4d15fb1a58e40c252ead2a#file-ci-arm-13-log-L212 ``` Configuration/Tool: stm32l0538-disco/nsh,CON

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
simbit18 commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044157532 ## boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt: ## @@ -0,0 +1,49 @@ +# ## +# boa

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044220281 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/

Re: [I] [BUG] elf example fails to compile on esp32-devkitc [nuttx-apps]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on issue #3058: URL: https://github.com/apache/nuttx-apps/issues/3058#issuecomment-2804585971 no problem, please try the patch whether can fix your problem and report your result there. -- This is an automated message from the Apache Git Service. To respond to th

Re: [PR] CMake Build Support for arch/arm/rp2040 & Raspberry Pi Pico [nuttx]

2025-04-15 Thread via GitHub
roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044220281 ## boards/arm/rp2040/common/src/CMakeLists.txt: ## @@ -0,0 +1,113 @@ +# ## +# boards/arm/

Re: [PR] arch/arm/stm32h5: organize peripheral Kconfig selection [nuttx]

2025-04-15 Thread via GitHub
nuttxpr commented on PR #16220: URL: https://github.com/apache/nuttx/pull/16220#issuecomment-2807461462 [**\[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

[I] [BUG] Missing Standard C++ Headers When Building CxxTest Using CMake [nuttx]

2025-04-15 Thread via GitHub
trns1997 opened a new issue, #16221: URL: https://github.com/apache/nuttx/issues/16221 ### Description / Steps to reproduce the issue ## Description When building NuttX using CMake (as documented in the [CMake Quickstart](https://nuttx.apache.org/docs/latest/quickstart/compilin

Re: [PR] arch/risc-v/espressif: Bump common source version [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on PR #16219: URL: https://github.com/apache/nuttx/pull/16219#issuecomment-2808009067 @tmedicci why add a no-op pr? -- 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 s

Re: [PR] arch/arm/stm32h5: organize peripheral Kconfig selection [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 merged PR #16220: URL: https://github.com/apache/nuttx/pull/16220 -- 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] Revert "libs/libc/semaphore: Fix DEBUGASSERTS" [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 merged PR #16216: URL: https://github.com/apache/nuttx/pull/16216 -- 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

(nuttx) branch master updated: arch/arm/stm32h5: organize peripheral Kconfig selection

2025-04-15 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 1b08c1d522 arch/arm/stm32h5: organize peripher

Re: [I] [BUG] Missing Standard C++ Headers When Building CxxTest Using CMake [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on issue #16221: URL: https://github.com/apache/nuttx/issues/16221#issuecomment-2808023061 @xuxin930 please take a look. -- 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

(nuttx) branch master updated: Revert "libs/libc/semaphore: Fix DEBUGASSERTS"

2025-04-15 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 40c6af6dec Revert "libs/libc/semaphore: Fix DE

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

2025-04-15 Thread via GitHub
jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2044461896 ## sched/semaphore/sem_holder.c: ## @@ -970,11 +972,32 @@ void nxsem_release_all(FAR struct tcb_s *htcb) nxsem_freeholder(sem, pholder); - /* Increment

[PR] Support ethernet without MDIO & MDC lines [nuttx]

2025-04-15 Thread via GitHub
azerupi opened a new pull request, #16215: URL: https://github.com/apache/nuttx/pull/16215 ## Summary Closes #16213 We have a board with an STM32H7 connected to an IC switch through RMII. This IC switch is also connected to an embedded Linux soc and the MDIO and MDC lines are

Re: [PR] Support ethernet without MDIO & MDC lines [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #16215: URL: https://github.com/apache/nuttx/pull/16215#discussion_r2045120472 ## arch/arm/src/stm32h5/stm32_ethernet.c: ## @@ -3604,9 +3604,10 @@ static inline void stm32_ethgpioconfig(struct stm32_ethmac_s *priv) #if defined(CONFIG_STM

Re: [PR] arch/arm/rp23xx: Fix IRQ prioritize [nuttx]

2025-04-15 Thread via GitHub
xiaoxiang781216 merged PR #16214: URL: https://github.com/apache/nuttx/pull/16214 -- 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

  1   2   >