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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234943965 ## examples/mtdpart/mtdpart_main.c: ## @@ -133,8 +133,7 @@ int main(int argc, FAR char *argv[]) FAR struct mtd_dev_s *part[CONFIG_EXAMPLES_MTDPART_NPARTITIO

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234907214 ## examples/mtdpart/mtdpart_main.c: ## @@ -133,8 +133,7 @@ int main(int argc, FAR char *argv[]) FAR struct mtd_dev_s *part[CONFIG_EXAMPLES_MTDPART_NPARTITIO

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

2025-07-27 Thread via GitHub
jingfei195887 commented on PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#issuecomment-3125754672 > @jingfei195887 please drop merge patch. yes this is done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234891024 ## examples/mtdpart/mtdpart_main.c: ## @@ -179,22 +179,12 @@ int main(int argc, FAR char *argv[]) * interesting. */ - ret = ftl_initialize(0, master

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234848403 ## examples/mtdpart/mtdpart_main.c: ## @@ -280,8 +257,8 @@ int main(int argc, FAR char *argv[]) if (!buffer) { printf("ERROR: failed to allocate

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234846113 ## examples/mtdpart/mtdpart_main.c: ## @@ -530,19 +507,47 @@ 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-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234834865 ## examples/mtdpart/mtdpart_main.c: ## @@ -159,8 +159,8 @@ int main(int argc, FAR char *argv[]) if (!master) { printf("ERROR: Failed to create R

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234826162 ## examples/mtdpart/mtdpart_main.c: ## @@ -204,7 +194,9 @@ int main(int argc, FAR char *argv[]) if (ret < 0) { ferr("ERROR: mtd->ioctl failed: %

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234827297 ## examples/mtdpart/mtdpart_main.c: ## @@ -317,8 +294,9 @@ int main(int argc, FAR char *argv[]) if (nbytes < 0) { printf

Re: [I] [HELP] stm32f411-minimum board USB device CDC/ACM nsh console [nuttx]

2025-07-27 Thread via GitHub
GigantQuo commented on issue #16774: URL: https://github.com/apache/nuttx/issues/16774#issuecomment-3125508223 Today, when I tried to configure the NSH-console to /dev/ttyACM0 using the same "Black Pill" but with STM32F401RET6 microcontroller, I succeed. Then I tried to flash this nuttx.b

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

2025-07-27 Thread via GitHub
lipengfei28 commented on PR #16743: URL: https://github.com/apache/nuttx/pull/16743#issuecomment-3125235609 > @lipengfei28 please fix the style issue: https://github.com/apache/nuttx/actions/runs/16558894183/job/46824738105?pr=16743 done -- This is an automated message from the Apa

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

2025-07-27 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2234561907 ## arch/arm64/src/imx9/Make.defs: ## @@ -28,13 +28,16 @@ endif # i.MX9-specific C source files -CHIP_CSRCS = imx9_boot.c imx9_ccm.c imx9_clockconfig.c imx9_gp

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

2025-07-27 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2234561445 ## arch/arm64/include/imx9/chip.h: ## @@ -44,12 +44,16 @@ #define MB(x) (KB(x) << 10) #define GB(x) (MB(UINT64_C(x)) << 10) -#if defined(CONFIG_ARCH_CHIP_IM

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

2025-07-27 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2234539915 ## arch/arm64/src/imx9/Make.defs: ## @@ -28,13 +28,16 @@ endif # i.MX9-specific C source files -CHIP_CSRCS = imx9_boot.c imx9_ccm.c imx9_clockconfig.c imx9_gp

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

2025-07-27 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2234539222 ## boards/arm64/imx9/imx95-a55-evk/include/board.h: ## @@ -0,0 +1,263 @@ +/ + * boards/a

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

2025-07-27 Thread via GitHub
lipengfei28 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2234523448 ## boards/Kconfig: ## @@ -2402,6 +2402,14 @@ config ARCH_BOARD_IMX93_EVK This options selects support for NuttX on the NXP i.MX93 CPUs EVK

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

2025-07-27 Thread via GitHub
xiaoxiang781216 commented on PR #16743: URL: https://github.com/apache/nuttx/pull/16743#issuecomment-3125177442 @lipengfei28 please fix the style issue: https://github.com/apache/nuttx/actions/runs/16558894183/job/46824738105?pr=16743 -- This is an automated message from the Apache Git

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

2025-07-27 Thread via GitHub
jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234520882 ## examples/mtdpart/mtdpart_main.c: ## @@ -530,19 +507,47 @@ 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-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #16743: URL: https://github.com/apache/nuttx/pull/16743#discussion_r2234513067 ## arch/arm64/include/imx9/chip.h: ## @@ -44,12 +44,16 @@ #define MB(x) (KB(x) << 10) #define GB(x) (MB(UINT64_C(x)) << 10) -#if defined(CONFIG_ARCH_CHI

(nuttx-website) branch asf-site updated: Publishing web: 51627ec89e2b02358b2ac0c43bd479968bd14064 docs: a8ac255386c0567dc26a942c0a5a2ac93a5dc819

2025-07-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 6ab94c0e3 Publishing web: 51627ec

[I] [BUG] Feedback on C++/CMake Guide – Outdated Folder Structure and Build Issues [nuttx]

2025-07-27 Thread via GitHub
alimans opened a new issue, #16782: URL: https://github.com/apache/nuttx/issues/16782 ### Description / Steps to reproduce the issue Dear Apache NuttX Team, I was following the [C++ and CMake guide](https://nuttx.apache.org/docs/latest/guides/cpp_cmake.html) from your document

Re: [I] [HELP] stm32f411-minimum board USB device CDC/ACM nsh console [nuttx]

2025-07-27 Thread via GitHub
acassis commented on issue #16774: URL: https://github.com/apache/nuttx/issues/16774#issuecomment-3124525585 I found my board here and had the chance to test and faced same issue as you. The issue is low in the low level communication, when I run dmesg I can see these error messages:

Re: [I] [HELP] stm32f411-minimum board USB device CDC/ACM nsh console [nuttx]

2025-07-27 Thread via GitHub
acassis commented on issue #16774: URL: https://github.com/apache/nuttx/issues/16774#issuecomment-3124491330 Hi @GigantQuo thank you for this nice introduction and kind words! In fact you are not the first one to face issue with this blackpill board, I also faced issues to get it work

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

2025-07-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2234004537 ## sched/sched/sched.h: ## @@ -558,8 +603,8 @@ static inline_function int nxsched_select_cpu(cpu_set_t affinity) } } - DEBUGASSERT(cpu != 0xff

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

2025-07-27 Thread via GitHub
acassis commented on issue #16775: URL: https://github.com/apache/nuttx/issues/16775#issuecomment-3124403093 @Barto22 if you can, please keep the discussion public here, this way it could help more people facing this issue in the future. @snikeguo please consider helping to improve the exis

(nuttx) branch master updated (80e1f70832 -> a8ac255386)

2025-07-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 80e1f70832 boards/arm/stm32f4discovery: Add support to HX711 ADC add a8ac255386 boards/arm/stm32f401rc-rs485: Add

Re: [PR] boards/arm/stm32f401rc-rs485: Add support to MAX31855 and MAX6675 [nuttx]

2025-07-27 Thread via GitHub
acassis merged PR #16779: URL: https://github.com/apache/nuttx/pull/16779 -- 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] boards/imxrt: Add support to ARCX Socket Grid board [nuttx]

2025-07-27 Thread via GitHub
acassis commented on code in PR #16781: URL: https://github.com/apache/nuttx/pull/16781#discussion_r2233964430 ## Documentation/platforms/arm/imxrt/boards/arcx-socket-grid/index.rst: ## @@ -0,0 +1,92 @@ + +ARCX Socket Grid + + +The ARCX Socket Gri

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

2025-07-27 Thread via GitHub
acassis commented on code in PR #16767: URL: https://github.com/apache/nuttx/pull/16767#discussion_r2233951321 ## 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: [I] [BUG] `stat()` does not work on flash partition with BCH layer [nuttx]

2025-07-27 Thread via GitHub
TimJTi commented on issue #16074: URL: https://github.com/apache/nuttx/issues/16074#issuecomment-3124273987 Apologies x2...with both my comments I have been guilty of not actually checking what my own custom board has !! My board has LittleFS formatted AT25 SPI EEPROM and GD25 MTD NOR

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

2025-07-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #3143: URL: https://github.com/apache/nuttx-apps/pull/3143#discussion_r2233889448 ## graphics/jpgresizetool/resize.c: ## @@ -0,0 +1,186 @@ +/ + * apps/graphics/jpg

Re: [PR] boards/arm/stm32f4discovery: Add support to HX711 ADC [nuttx]

2025-07-27 Thread via GitHub
xiaoxiang781216 merged PR #16780: URL: https://github.com/apache/nuttx/pull/16780 -- 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 (596a425066 -> 80e1f70832)

2025-07-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 596a425066 nucleo-h743zi: Add ADC2 support and expand ADC channel list add 80e1f70832 boards/arm/stm32f4discove

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

2025-07-27 Thread via GitHub
simbit18 commented on code in PR #16781: URL: https://github.com/apache/nuttx/pull/16781#discussion_r2233829090 ## Documentation/platforms/arm/imxrt/boards/arcx-socket-grid/index.rst: ## @@ -0,0 +1,92 @@ + +ARCX Socket Grid + + +The ARCX Socket Gr

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

2025-07-27 Thread via GitHub
simbit18 commented on code in PR #16781: URL: https://github.com/apache/nuttx/pull/16781#discussion_r2233829090 ## Documentation/platforms/arm/imxrt/boards/arcx-socket-grid/index.rst: ## @@ -0,0 +1,92 @@ + +ARCX Socket Grid + + +The ARCX Socket Gr

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

2025-07-27 Thread via GitHub
simbit18 commented on code in PR #16781: URL: https://github.com/apache/nuttx/pull/16781#discussion_r2233829090 ## Documentation/platforms/arm/imxrt/boards/arcx-socket-grid/index.rst: ## @@ -0,0 +1,92 @@ + +ARCX Socket Grid + + +The ARCX Socket Gr