[PR] video: add sched_note_mark at fb_remove_paninfo and fb_notify_vsync [nuttx]

2025-07-28 Thread via GitHub
jianglianfang opened a new pull request, #16788: URL: https://github.com/apache/nuttx/pull/16788 ## Summary fb_notify_vsync is called when TE irq comming, and fb_remove_paninfo is called after paninfo comsumed ## Impact trace ## Testing enable trace and

[PR] x86_64: Allow specifying alternative compilers via CROSSDEV environment variable [nuttx]

2025-07-28 Thread via GitHub
zhangshanmin opened a new pull request, #16787: URL: https://github.com/apache/nuttx/pull/16787 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Allow specifying alternative compilers via CROSSDEV for x8

[PR] Revert "libs/libc/stdlib/lib_exit.c: fix multiple definition of __dso… [nuttx]

2025-07-28 Thread via GitHub
zhangshanmin opened a new pull request, #16786: URL: https://github.com/apache/nuttx/pull/16786 …_handle in msys2" This reverts commit 8f96e59aee9cd0c5bbb82e01044d109f8588fec2. The implementation of __dso_handle is independent of the HOST OS but dependent on the specific compil

Re: [PR] pci: epc add dma heap [nuttx]

2025-07-28 Thread via GitHub
lipengfei28 commented on code in PR #16767: URL: https://github.com/apache/nuttx/pull/16767#discussion_r2238166894 ## drivers/pci/pci_epc.c: ## @@ -993,6 +996,16 @@ pci_epc_create(FAR const char *name, FAR void *priv, return NULL; } + if (dma_addr && dma_len) +

Re: [PR] fs/vfs/fs_rename: fix directory move operation. [nuttx]

2025-07-28 Thread via GitHub
richyliu commented on PR #16455: URL: https://github.com/apache/nuttx/pull/16455#issuecomment-3129956909 The following is a demonstration of the use-after-free, combined with the incorrect pseudorename logic, affecting the `mv` command in NuttX's NuttShell (NSH). NuttShell (NSH) Nutt

Re: [PR] boards/imxrt: Add support to ARCX Socket Grid board [nuttx]

2025-07-28 Thread via GitHub
acassis commented on PR #16781: URL: https://github.com/apache/nuttx/pull/16781#issuecomment-3128957799 @simbit18 wow! In fact this file is missing since 2018 when @davids5 (now retired I think) defined it to boards/arm/imxrt/imxrt1050-evk/scripts/Make.defs and latter Dave Marple copied it

Re: [PR] libc: fix assert "Free memory from the wrong heap" with flat mode and… [nuttx]

2025-07-28 Thread via GitHub
acassis merged PR #16768: URL: https://github.com/apache/nuttx/pull/16768 -- 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

(nuttx) branch master updated (4a90c179f8 -> 1bfe705226)

2025-07-28 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 4a90c179f8 Documentation: Add documentation to arc-socket-grid add 1bfe705226 libc: fix assert "Free memory from

Re: [PR] sched: Fix smp scheduling [nuttx]

2025-07-28 Thread via GitHub
jlaitine commented on PR #16673: URL: https://github.com/apache/nuttx/pull/16673#issuecomment-3128147422 I didn't yet address the review comments, but just quickly fixed some obvious bugs. I'll come back to this later; there is still a problem with esp32 signal delivery (basically th

Re: [PR] libc: fix assert "Free memory from the wrong heap" with flat mode and… [nuttx]

2025-07-28 Thread via GitHub
tmedicci commented on PR #16768: URL: https://github.com/apache/nuttx/pull/16768#issuecomment-3128130237 I'm sorry for the delayed response. Just collected the results on our internal CI. It seems everything is fine from our side. All Espressif boards were tested (HW in the loop) and

Re: [PR] boards/imxrt: Add support to ARCX Socket Grid board [nuttx]

2025-07-28 Thread via GitHub
simbit18 commented on PR #16781: URL: https://github.com/apache/nuttx/pull/16781#issuecomment-3128058842 Sorry @acassis , where is flash-dtcm.ld file ? boards/arm/imxrt/arcx-socket-grid/scripts/Make.defs https://github.com/apache/nuttx/blob/4a90c179f8ea2b788c901d9139a8a0d23c601

Re: [PR] nxboot/boot/nxboot/loader/boot.c: Correct mathematical error. [nuttx-apps]

2025-07-28 Thread via GitHub
cederom commented on PR #3145: URL: https://github.com/apache/nuttx-apps/pull/3145#issuecomment-3128041934 Thanks @TimJTi :-) How about git commit subject `nxboot/loader: Fix boot progress calculation.` ? :-) -- This is an automated message from the Apache Git Service. To respond to the m

(nuttx-apps) 02/02: boot/nxboot/loader/boot.c: copy partition with blocksize large writes

2025-07-28 Thread cederom
This is an automated email from the ASF dual-hosted git repository. cederom pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git commit 8fbba09895a9d47962c076e81431af94889b39d6 Author: Michal Lenc AuthorDate: Thu Jul 17 17:14:15 2025 +0200 boot/n

(nuttx-apps) branch master updated (2de49b8b2 -> 8fbba0989)

2025-07-28 Thread cederom
This is an automated email from the ASF dual-hosted git repository. cederom pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git from 2de49b8b2 examples/xedge_demo: Add Xedge IoT Toolkit with BAS integration new beacf792f boot/nxboot/loader/

(nuttx-apps) 01/02: boot/nxboot/loader/flash.c: open partition with O_DIRECT flag

2025-07-28 Thread cederom
This is an automated email from the ASF dual-hosted git repository. cederom pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git commit beacf792faade4e320f43acfe7560ae9079615b1 Author: Michal Lenc AuthorDate: Thu Jul 17 17:12:27 2025 +0200 boot/n

Re: [PR] nxboot: enhance the access to flash device [nuttx-apps]

2025-07-28 Thread via GitHub
cederom merged PR #3136: URL: https://github.com/apache/nuttx-apps/pull/3136 -- 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.a

[PR] boards/weact-stm32h743: Add support to ST7735 display [nuttx]

2025-07-28 Thread via GitHub
acassis opened a new pull request, #16785: URL: https://github.com/apache/nuttx/pull/16785 ## Summary This patch adds support to LCD display on weact board ## Impact Users will be able to use the LCD of this board ## Testing fb test https://github.com

Re: [PR] arch/arm/samv7: add support for pin to pin compatible pic32cz ca70 series and its evaluation kit [nuttx]

2025-07-28 Thread via GitHub
michallenc commented on PR #16783: URL: https://github.com/apache/nuttx/pull/16783#issuecomment-3127588372 > Microchip is a completely brain damaged company, each month or so the decide to rename a chip as PIC32. They don't care about consistency! I'll not be surprised if next month they re

Re: [PR] arch/arm/samv7: add support for pin to pin compatible pic32cz ca70 series and its evaluation kit [nuttx]

2025-07-28 Thread via GitHub
michallenc commented on code in PR #16783: URL: https://github.com/apache/nuttx/pull/16783#discussion_r2236798625 ## boards/arm/samv7/pic32czca70-curiosity/src/sam_buttons.c: ## @@ -0,0 +1,203 @@ +/ + *

Re: [I] [BUG] Conflicting declarations when using toolchain C++ [nuttx]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3127537345 Her is patch which add toolchian c++ library support: https://github.com/apache/nuttx/pull/11812 and ask question to [trns1997](https://github.com/trns1997) directly. --

[PR] nxboot/boot/nxboot/loader/boot.c: Correct mathematical error. [nuttx-apps]

2025-07-28 Thread via GitHub
TimJTi opened a new pull request, #3145: URL: https://github.com/apache/nuttx-apps/pull/3145 ## Summary This patch corrects a mathematical error in the progress reporting function which caused incorrect percentage progress calculations. ## Impact None. Just fixes a probl

Re: [PR] nxboot: enhance the access to flash device [nuttx-apps]

2025-07-28 Thread via GitHub
TimJTi commented on PR #3136: URL: https://github.com/apache/nuttx-apps/pull/3136#issuecomment-3127499717 > Thanks! Yes, it should in theory be faster with the direct access, we avoid some unnecessary buffering and erases. Excellent 👍 -- This is an automated message from t

Re: [PR] nxboot: enhance the access to flash device [nuttx-apps]

2025-07-28 Thread via GitHub
michallenc commented on PR #3136: URL: https://github.com/apache/nuttx-apps/pull/3136#issuecomment-3127487359 > @michallenc @xiaoxiang781216 I can confirm this work nicely on my board. I rebuilt my bootloader with this patch, uploaded a new secondary image and it correctly copied primary to

Re: [I] [BUG] Conflicting declarations when using toolchain C++ [nuttx]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3127483487 But as I said you should avoid to use toolchain prebuilt library. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Gi

Re: [I] [BUG] Conflicting declarations when using toolchain C++ [nuttx]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3127458183 Of course, we use many advanced c++ library features(e.g. container, file, thread, closure...). -- This is an automated message from the Apache Git Service. To respond to t

Re: [PR] pci: imx95 add pcie ep support [nuttx]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on PR #16772: URL: https://github.com/apache/nuttx/pull/16772#issuecomment-3127439941 > @xiaoxiang781216 @lipengfei28 in the Documentation/platforms/arm64/imx9/boards/imx95-a55-evk/index.rst is not including the tests demonstrated here. Please include these tests i

Re: [PR] nxboot: enhance the access to flash device [nuttx-apps]

2025-07-28 Thread via GitHub
TimJTi commented on PR #3136: URL: https://github.com/apache/nuttx-apps/pull/3136#issuecomment-3127427958 @michallenc @xiaoxiang781216 I can confirm this work nicely on my board. I rebuilt my bootloader with this patch, uploaded a new secondary image and it correctly copied primary to b

(nuttx) branch master updated (5eea680e44 -> 4a90c179f8)

2025-07-28 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 5eea680e44 documentation/arm64/imx9: add imx95 support add a94dddabb9 boards/imxrt: Add ARCX Socket Grid board

Re: [PR] boards/imxrt: Add support to ARCX Socket Grid board [nuttx]

2025-07-28 Thread via GitHub
acassis merged PR #16781: URL: https://github.com/apache/nuttx/pull/16781 -- 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: [PR] pci: imx95 add pcie ep support [nuttx]

2025-07-28 Thread via GitHub
acassis commented on PR #16772: URL: https://github.com/apache/nuttx/pull/16772#issuecomment-3127405743 @xiaoxiang781216 @lipengfei28 in the Documentation/platforms/arm64/imx9/boards/imx95-a55-evk/index.rst is not including the tests demonstrated here. Please include these tests in our Doc

Re: [I] [BUG] Conflicting declarations when using toolchain C++ [nuttx]

2025-07-28 Thread via GitHub
Barto22 commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3127362833 Did you try to run something from STL like ? I tried this configurations for stm32f4discovery and even enable libcxxabi but it have a lot of conflicts and errors which I wrote above.

Re: [PR] graphics/jpgresizetool: Add libjpeg resize tool [nuttx-apps]

2025-07-28 Thread via GitHub
simbit18 commented on code in PR #3143: URL: https://github.com/apache/nuttx-apps/pull/3143#discussion_r2236491358 ## graphics/jpgresizetool/Make.defs: ## @@ -0,0 +1,3 @@ +ifneq ($(CONFIG_GRAPHICS_JPGRESIZETOOL),) Review Comment: @keever50 missing ``` #

Re: [PR] arch/arm/samv7: add support for pin to pin compatible pic32cz ca70 series and its evaluation kit [nuttx]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on code in PR #16783: URL: https://github.com/apache/nuttx/pull/16783#discussion_r2236365086 ## arch/arm/include/samv7/irq.h: ## @@ -65,7 +65,7 @@ #define SAM_IRQ_EXTINT(16) /* Vector number of the first external interrupt */ -#if defined(

(nuttx) branch master updated (b0760dceb6 -> 5eea680e44)

2025-07-28 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 b0760dceb6 drivers/sensors/l86xxx: Use uORB GNSS lower-half add 44016fbe77 arch/arm64/imx9: add imx95 support

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
acassis merged PR #16743: URL: https://github.com/apache/nuttx/pull/16743 -- 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: [PR] arch/arm/samv7: add support for pin to pin compatible pic32cz ca70 series and its evaluation kit [nuttx]

2025-07-28 Thread via GitHub
acassis commented on PR #16783: URL: https://github.com/apache/nuttx/pull/16783#issuecomment-3127109583 Microchip is a completely brain damaged company, each month or so the decide to rename a chip as PIC32. They don't care about consistency! I'll not be surprised if next month they rename

Re: [I] [BUG] uart_recvchars_dma may cause address alignment issues. [nuttx]

2025-07-28 Thread via GitHub
snikeguo commented on issue #16784: URL: https://github.com/apache/nuttx/issues/16784#issuecomment-3127097478 I think the serial driver framework should not use a ring buffer, as it is not friendly for DMA operations. Currently, almost all chip drivers implement the receive method, even f

[I] [BUG] uart_recvchars_dma may cause address alignment issues. [nuttx]

2025-07-28 Thread via GitHub
snikeguo opened a new issue, #16784: URL: https://github.com/apache/nuttx/issues/16784 ### Description / Steps to reproduce the issue ``` void uart_recvchars_dma(FAR uart_dev_t *dev) { ··· if (rxbuf->tail <= rxbuf->head) { xfer->buffer = &rxbuf->buff

Re: [PR] examples/mtdpart:Register MTD devices using the mtd_register method [nuttx-apps]

2025-07-28 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2236056792 ## examples/mtdpart/mtdpart_main.c: ## @@ -530,19 +490,41 @@ int main(int argc, FAR char *argv[]) { printf("ERROR: Bad value %lu, e

Re: [PR] examples/mtdpart:Register MTD devices using the mtd_register method [nuttx-apps]

2025-07-28 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2236055293 ## examples/mtdpart/mtdpart_main.c: ## @@ -530,19 +490,41 @@ int main(int argc, FAR char *argv[]) { printf("ERROR: Bad value %lu, e

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2235654802 ## arch/arm64/src/imx9/Kconfig: ## @@ -23,6 +23,12 @@ config ARCH_CHIP_IMX93 EL3/OCRAM is a bad combination for atomic instructions, they don't wor

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
xuxin930 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2235646031 ## arch/arm64/src/imx9/Kconfig: ## @@ -23,6 +23,12 @@ config ARCH_CHIP_IMX93 EL3/OCRAM is a bad combination for atomic instructions, they don't work.

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
lipengfei28 commented on PR #16743: URL: https://github.com/apache/nuttx/pull/16743#issuecomment-3126449422 > @lipengfei28 > > ``` > Configuration/Tool: imx95-a55-evk/nsh > 2025-07-28 09:37:39 > -

[PR] samv7: add support for pin to pin compatible pic32cz ca70 series and its evaluation kit [nuttx]

2025-07-28 Thread via GitHub
michallenc opened a new pull request, #16783: URL: https://github.com/apache/nuttx/pull/16783 ## Summary Adds support for PIC32CZ CA70 MCU series and its evaluation kit. This series is pin to pin and binary compatible with SAMv7 series, it's basically just a rebrand with (likely) new man

Re: [PR] examples/mtdpart:Register MTD devices using the mtd_register method [nuttx-apps]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2235496579 ## examples/mtdpart/mtdpart_main.c: ## @@ -530,19 +490,41 @@ int main(int argc, FAR char *argv[]) { printf("ERROR: Bad value %lu,

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2235465111 ## arch/arm64/src/imx9/Kconfig: ## @@ -23,6 +23,13 @@ config ARCH_CHIP_IMX93 EL3/OCRAM is a bad combination for atomic instructions, they don't wor

Re: [I] [BUG] Conflicting declarations when using toolchain C++ [nuttx]

2025-07-28 Thread via GitHub
xiaoxiang781216 commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3126253132 why do you think it need signification work? CI already enable libcxx on many arch/board, you just need follow them: ``` boards/risc-v/mpfs/icicle/configs/knsh/defconfig

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
simbit18 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2235390738 ## arch/arm64/src/imx9/Kconfig: ## @@ -23,6 +23,13 @@ config ARCH_CHIP_IMX93 EL3/OCRAM is a bad combination for atomic instructions, they don't work.

Re: [PR] arch/arm64/imx9: add support for imx95 [nuttx]

2025-07-28 Thread via GitHub
simbit18 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2235390738 ## arch/arm64/src/imx9/Kconfig: ## @@ -23,6 +23,13 @@ config ARCH_CHIP_IMX93 EL3/OCRAM is a bad combination for atomic instructions, they don't work.

(nuttx) branch master updated (a8ac255386 -> b0760dceb6)

2025-07-28 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from a8ac255386 boards/arm/stm32f401rc-rs485: Add support to MAX31855 and MAX6675 add b0760dceb6 drivers/sensors/l86

Re: [PR] drivers/sensors/l86xxx: Use uORB GNSS lower-half [nuttx]

2025-07-28 Thread via GitHub
jerpelea merged PR #16778: URL: https://github.com/apache/nuttx/pull/16778 -- 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] mbedtls "alt" functions return errors in a wrong way [nuttx-apps]

2025-07-28 Thread via GitHub
ThePassionate commented on issue #3142: URL: https://github.com/apache/nuttx-apps/issues/3142#issuecomment-3126186498 > > [@yamt](https://github.com/yamt) [#3144](https://github.com/apache/nuttx-apps/pull/3144) fix this issue and aligned error value with mbedtls test suits > > thank

Re: [I] [BUG] mbedtls "alt" functions return errors in a wrong way [nuttx-apps]

2025-07-28 Thread via GitHub
yamt commented on issue #3142: URL: https://github.com/apache/nuttx-apps/issues/3142#issuecomment-3126143554 > [@yamt](https://github.com/yamt) [#3144](https://github.com/apache/nuttx-apps/pull/3144) fix this issue and aligned error value with mbedtls test suits thank you. > f

Re: [I] [BUG] Conflicting declarations when using toolchain C++ [nuttx]

2025-07-28 Thread via GitHub
Barto22 commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3126021418 I’ve discussed this with @snikeguo, and it seems that only uClibc++ is fully supported. Attempting to include LLVM or a toolchain's C++ standard library (STL) leads to numerous error

Re: [PR] nxboot: enhance the access to flash device [nuttx-apps]

2025-07-28 Thread via GitHub
TimJTi commented on PR #3136: URL: https://github.com/apache/nuttx-apps/pull/3136#issuecomment-3125946673 Today's task (one of). Sorry for the delay ! -- 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

Re: [I] [BUG] mbedtls "alt" functions return errors in a wrong way [nuttx-apps]

2025-07-28 Thread via GitHub
ThePassionate commented on issue #3142: URL: https://github.com/apache/nuttx-apps/issues/3142#issuecomment-3125936882 @yamt https://github.com/apache/nuttx-apps/pull/3144 fix this issue and aligned error value with mbedtls test suits firstly, with introduce of shax_update in header file l

Re: [PR] nxboot: enhance the access to flash device [nuttx-apps]

2025-07-28 Thread via GitHub
michallenc commented on PR #3136: URL: https://github.com/apache/nuttx-apps/pull/3136#issuecomment-3125906807 @TimJTi Hi, did you find time to test the patch? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[PR] mbedtls-alt: aligned shax return value with mbedtls test [nuttx-apps]

2025-07-28 Thread via GitHub
ThePassionate opened a new pull request, #3144: URL: https://github.com/apache/nuttx-apps/pull/3144 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary aligned return value in shax with mbedtls test suits *U