Re: [I] mkrd fail in rc.sysinit [nuttx]

2024-07-26 Thread via GitHub
geniusdo commented on issue #12785: URL: https://github.com/apache/nuttx/issues/12785#issuecomment-2253796396 Btw, I put this command in rcS script, it worked perfectly. Any differences between rc.sysinit and rcS file. -- This is an automated message from the Apache Git Service. To respo

[I] mkrd fail in rc.sysinit [nuttx]

2024-07-26 Thread via GitHub
geniusdo opened a new issue, #12785: URL: https://github.com/apache/nuttx/issues/12785 I can use command mkrd -m 0 -s 512 512 correctly in NSH, but when I put it in rc.sysinit it gives nsh: mkfatfs: mkfatfs failed: 13. I am wondering if there is anything I missed? -- This is an automated

Re: [PR] build/cmake: add user_ldscript preprocessing [nuttx]

2024-07-26 Thread via GitHub
yf13 commented on PR #12784: URL: https://github.com/apache/nuttx/pull/12784#issuecomment-2253751335 @xiaoxiang781216 thanks for the in-line comments! Actually this ".tmp" suffix is following an implicit convention that preprocessed files are temporary in nature and can be cleaned saf

Re: [PR] build/cmake: add user_ldscript preprocessing [nuttx]

2024-07-26 Thread via GitHub
yf13 commented on PR #12784: URL: https://github.com/apache/nuttx/pull/12784#issuecomment-2253750924 @xiaoxiang781216 thanks for the in-line comments! Actually this ".tmp" suffix is following an implicit convention that preprocessed files are temporary in nature and can be cleaned saf

Re: [PR] build/cmake: add user_ldscript preprocessing [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on code in PR #12784: URL: https://github.com/apache/nuttx/pull/12784#discussion_r1693769697 ## CMakeLists.txt: ## @@ -770,6 +770,21 @@ if(CONFIG_BUILD_PROTECTED) get_property(nuttx_apps_libs GLOBAL PROPERTY NUTTX_APPS_LIBRARIES) get_property(us

(nuttx) branch master updated (b57079e88e -> 91dfd20eaf)

2024-07-26 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 b57079e88e boards/arm/stm32/nucleo-f429zi: remove faulty nsh defconfig symbols add 91dfd20eaf arch/xtensa: add

Re: [PR] arch/xtensa: add support for motor control driver [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 merged PR #12781: URL: https://github.com/apache/nuttx/pull/12781 -- 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

[PR] boards: Fix multiple style issues [nuttx]

2024-07-26 Thread via GitHub
no1wudi opened a new pull request, #12783: URL: https://github.com/apache/nuttx/pull/12783 ## Summary Modified files: boards/arm/cxd56xx/spresense/src/cxd56_clock.c boards/arm/sama5/giant-board/include/board.h boards/arm/stm32l4/b-l475e-iot01a/include/board.h b

(nuttx-website) branch asf-site updated: Publishing web: c0bb376dae649378f137872f2791869ca6c6876c docs: b57079e88e2ef98f4b482fad11ba0617e559aa9e

2024-07-26 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 1104952ed Publishing web: c0bb376

Re: [PR] Feature/esp temperature sensor [nuttx]

2024-07-26 Thread via GitHub
acassis commented on PR #12775: URL: https://github.com/apache/nuttx/pull/12775#issuecomment-2253467249 @eren-terzioglu maybe you should consider adding it with uorb support, this way it will working with standard apps/testing/sensortest -- This is an automated message from the Apache Git

Re: [I] Adding Board Support in Nuttx: Steps and Requirements [nuttx]

2024-07-26 Thread via GitHub
acassis commented on issue #12774: URL: https://github.com/apache/nuttx/issues/12774#issuecomment-2253463747 @i-tesetd-it-no-problem there is an old Porting Guide here: https://cwiki.apache.org/confluence/display/NUTTX/Porting+Guide Are you in NuttX mailing list? @linguini1 asked it o

Re: [PR] Feature/esp spi dma [nuttx]

2024-07-26 Thread via GitHub
acassis commented on code in PR #12776: URL: https://github.com/apache/nuttx/pull/12776#discussion_r1693521866 ## arch/risc-v/src/common/espressif/esp_spi.c: ## @@ -116,19 +133,23 @@ struct esp_spi_config_s { - uint32_t width; /* SPI default width */ - uint8_t

Re: [PR] Enable SMPS for STM32H745I-DISCO by default [nuttx]

2024-07-26 Thread via GitHub
NonpawitE commented on PR #12770: URL: https://github.com/apache/nuttx/pull/12770#issuecomment-225486 > @NonpawitE please squash the change into one patch Ok, will do that! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

(nuttx) branch master updated (0228e52646 -> b57079e88e)

2024-07-26 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 0228e52646 nxtk: Remove sapce between oprand and operator in nxtk_drawframe.c add b57079e88e boards/arm/stm32/

Re: [PR] Change nucleof429zi nsh defconfig [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 merged PR #12747: URL: https://github.com/apache/nuttx/pull/12747 -- 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 SMPS for STM32H745I-DISCO by default [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on PR #12770: URL: https://github.com/apache/nuttx/pull/12770#issuecomment-2253323099 @NonpawitE please squash the change into one patch -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

(nuttx) branch master updated (f714669da4 -> 0228e52646)

2024-07-26 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 f714669da4 dlfcn: Add stub for dladdr add 09568c6147 dlfcn: Fix indent issue in lib_dlopen.c add f84d35de5

Re: [PR] Code style fixes [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 merged PR #12782: URL: https://github.com/apache/nuttx/pull/12782 -- 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 (893e70fbcd -> f714669da4)

2024-07-26 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 893e70fbcd Documentation/nrf9160-dk: add comments about modem configuration add 9240e1b5ce nxstyle: Add Dl_info

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
acassis merged PR #12777: URL: https://github.com/apache/nuttx/pull/12777 -- 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] esp32s3 boards with ESP32-S3-WROOM-1U can't boot into nsh? [nuttx]

2024-07-26 Thread via GitHub
tmedicci commented on issue #12710: URL: https://github.com/apache/nuttx/issues/12710#issuecomment-2253137591 Hi! We could not find any issues regarding the software. It's probably related to some hardware configuration. Please: 1. Ensure that you provide proper power to the

(nuttx) branch master updated (e75c19ce58 -> 893e70fbcd)

2024-07-26 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 e75c19ce58 arch/arm/{nrf53|nrf91}: enable fpu if CONFIG_ARCH_FPU=y add b3ccc4c94c boards/arm/nrf91/common/nrf91

Re: [PR] Small improvements to nrf91 [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 merged PR #12778: URL: https://github.com/apache/nuttx/pull/12778 -- 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 (caa4c226bd -> e75c19ce58)

2024-07-26 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 caa4c226bd dlfcn: Fix indent issue in lib_dlclose.c add 83c0877a50 boards/arm/nrf91/nrf9160-dk: disable FPU for

Re: [PR] nrf9160-dk: disable FPU for modem example [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 merged PR #12780: URL: https://github.com/apache/nuttx/pull/12780 -- 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

[PR] Code style fixes [nuttx]

2024-07-26 Thread via GitHub
no1wudi opened a new pull request, #12782: URL: https://github.com/apache/nuttx/pull/12782 ## Summary Fix style issues reported by nxstyle ## Impact None ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on t

(nuttx) branch master updated: dlfcn: Fix indent issue in lib_dlclose.c

2024-07-26 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko 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 caa4c226bd dlfcn: Fix indent issue in lib_

Re: [PR] dlfcn: Fix indent issue in lib_dlclose.c [nuttx]

2024-07-26 Thread via GitHub
pkarashchenko commented on code in PR #12779: URL: https://github.com/apache/nuttx/pull/12779#discussion_r1693184694 ## libs/libc/dlfcn/lib_dlclose.c: ## @@ -107,13 +107,13 @@ static inline int dlremove(FAR void *handle) modp->modinfo.uninitializer = NULL; - /* Call

Re: [PR] dlfcn: Fix indent issue in lib_dlclose.c [nuttx]

2024-07-26 Thread via GitHub
pkarashchenko merged PR #12779: URL: https://github.com/apache/nuttx/pull/12779 -- 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...@nutt

Re: [PR] arch/xtensa: add support for motor control driver [nuttx]

2024-07-26 Thread via GitHub
fdcavalcanti commented on PR #12781: URL: https://github.com/apache/nuttx/pull/12781#issuecomment-2252830585 @tmedicci @eren-terzioglu -- 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 specifi

[PR] arch/xtensa: add support for motor control driver [nuttx]

2024-07-26 Thread via GitHub
fdcavalcanti opened a new pull request, #12781: URL: https://github.com/apache/nuttx/pull/12781 arch/xtensa: add support for motor driver on ESP32 and ESP32|S3| ## Summary This PR adds support for motor control on ESP32 and ESP32S3. It enables the MCPWM peripheral and binds to the

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
raiden00pl commented on issue #12768: URL: https://github.com/apache/nuttx/issues/12768#issuecomment-2252774797 You have to register your SIM card on https://nrfcloud.com/ and activate it. After chip reset, modem is in power off state, so you have to enable modem and if necessary con

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
maxikrie commented on issue #12768: URL: https://github.com/apache/nuttx/issues/12768#issuecomment-2252739150 @raiden00pl do you potentially also have instructions on how to test the modem? I see that wget is configured, but I am not sure if there is additional steps required in hardware an

Re: [I] nrf52/ieee802.15.4/6lowpan server crash [nuttx]

2024-07-26 Thread via GitHub
raiden00pl commented on issue #12769: URL: https://github.com/apache/nuttx/issues/12769#issuecomment-225262 This is probably a problem with the ieee802154 stack in NuttX because I observed similar crashes with mrf24j40 (connected to nrf52). -- This is an automated message from the Apa

Re: [PR] virtio-serial: support custom the virtio serial device name [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on PR #12764: URL: https://github.com/apache/nuttx/pull/12764#issuecomment-2252610105 @CV-Bowen please rebase your patch. -- 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

Re: [PR] risc-v/bl808: Add watchdog driver [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on PR #12771: URL: https://github.com/apache/nuttx/pull/12771#issuecomment-2252609353 @henryrov please squash the second patch into the first one. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and u

Re: [PR] drivers/drivers_initialize.c: check if only one console is selected [nuttx]

2024-07-26 Thread via GitHub
raiden00pl commented on PR #12765: URL: https://github.com/apache/nuttx/pull/12765#issuecomment-2252611714 I removed from this check `CONFIG_SYSLOG_CONSOLE` options as currently it is highly coupled with `XXX_SERIAL_CONSOLE` for some architectures and fixing it is not that easy. -- This

Re: [PR] Enable SMPS for STM32H745I-DISCO by default [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on PR #12770: URL: https://github.com/apache/nuttx/pull/12770#issuecomment-2252607074 @NonpawitE please update your defconfig by: ./tools/refresh.sh --silent stm32h745i-disco/netnsh -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] Change nucleof429zi nsh defconfig [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on PR #12747: URL: https://github.com/apache/nuttx/pull/12747#issuecomment-2252584145 @LuchianMihai please run: ./tools/refresh.sh --silent nucleo-f429zi/nsh and merge the change into your patch. -- This is an automated message from the Apache Git Service. To res

[PR] nrf9160-dk: disable FPU for modem example [nuttx]

2024-07-26 Thread via GitHub
raiden00pl opened a new pull request, #12780: URL: https://github.com/apache/nuttx/pull/12780 ## Summary - boards/arm/nrf91/nrf9160-dk: disable FPU for modem example it looks like FPU doesn't work in non-secure environment now - arch/arm/{nrf53|nrf91}: enable fpu if CONFIG

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
maxikrie commented on issue #12768: URL: https://github.com/apache/nuttx/issues/12768#issuecomment-2252541415 Thanks, @raiden00pl, the additional documentation in https://github.com/apache/nuttx/pull/12778#issue-2431829826 helped! -- This is an automated message from the Apache Git Servi

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
maxikrie closed issue #12768: nrf9160/nrf9160-dk:modem_ns crash on start URL: https://github.com/apache/nuttx/issues/12768 -- 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 un

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
no1wudi commented on code in PR #12777: URL: https://github.com/apache/nuttx/pull/12777#discussion_r1692854343 ## libs/libc/dlfcn/lib_dladdr.c: ## @@ -0,0 +1,42 @@ +/ + * libs/libc/dlfcn/lib_dladdr.c + *

Re: [PR] Change nucleof429zi nsh defconfig [nuttx]

2024-07-26 Thread via GitHub
LuchianMihai commented on PR #12747: URL: https://github.com/apache/nuttx/pull/12747#issuecomment-2252435643 Can someone give me an hint why the pipelines are failing? -- 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] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
yamt commented on code in PR #12777: URL: https://github.com/apache/nuttx/pull/12777#discussion_r1692838795 ## libs/libc/dlfcn/lib_dladdr.c: ## @@ -0,0 +1,42 @@ +/ + * libs/libc/dlfcn/lib_dladdr.c + * +

[PR] dlfcn: Fix indent issue in lib_dlclose.c [nuttx]

2024-07-26 Thread via GitHub
no1wudi opened a new pull request, #12779: URL: https://github.com/apache/nuttx/pull/12779 ## Summary dlfcn: Fix indent issue in lib_dlclose.c ## Impact Minor ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
maxikrie commented on issue #12768: URL: https://github.com/apache/nuttx/issues/12768#issuecomment-2252420248 Thanks for looking into this! Can you provide me a brief tutorial on the relation between the miniboot_s and modem_ns configuration? I am not familiar with the secure bootloader.

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
no1wudi commented on code in PR #12777: URL: https://github.com/apache/nuttx/pull/12777#discussion_r1692832046 ## include/dlfcn.h: ## @@ -309,6 +321,26 @@ int dlclose(FAR void *handle); FAR char *dlerror(void); +/*

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
no1wudi commented on code in PR #12777: URL: https://github.com/apache/nuttx/pull/12777#discussion_r1692832046 ## include/dlfcn.h: ## @@ -309,6 +321,26 @@ int dlclose(FAR void *handle); FAR char *dlerror(void); +/*

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
raiden00pl commented on issue #12768: URL: https://github.com/apache/nuttx/issues/12768#issuecomment-2252387207 It looks like I broke modem example with dd611b9c5ba8aca0d6d6901fb7ac51d0fce35e84 -- This is an automated message from the Apache Git Service. To respond to the message, please

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
yamt commented on code in PR #12777: URL: https://github.com/apache/nuttx/pull/12777#discussion_r1692799151 ## include/dlfcn.h: ## @@ -309,6 +321,26 @@ int dlclose(FAR void *handle); FAR char *dlerror(void); +/

[PR] Small improvements to nrf91 [nuttx]

2024-07-26 Thread via GitHub
raiden00pl opened a new pull request, #12778: URL: https://github.com/apache/nuttx/pull/12778 ## Summary - boards/arm/nrf91/common/nrf91_boot_image.c: print message if no image found - Documentation/nrf9160-dk: add comments about modem configuration ## Impact ## Testing

Re: [I] nrf9160/nrf9160-dk:modem_ns crash on start [nuttx]

2024-07-26 Thread via GitHub
raiden00pl commented on issue #12768: URL: https://github.com/apache/nuttx/issues/12768#issuecomment-2252321610 The modem firmware must be called from trusted zone non-secure environment - this is a Nordic requirement. So nrf9160-dk:modem_ns works only as non-secure firmware and can't be ru

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on PR #12777: URL: https://github.com/apache/nuttx/pull/12777#issuecomment-2252305678 > Please ignore the style issue since the definition is from POSIX. @no1wudi let's add Dl_info to https://github.com/apache/nuttx/blob/master/tools/nxstyle.c#L187 -- This

Re: [PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
no1wudi commented on PR #12777: URL: https://github.com/apache/nuttx/pull/12777#issuecomment-2252270137 Please ignore the style issue that the definition is from POSIX. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use t

[PR] dlfcn: Add stub for dladdr [nuttx]

2024-07-26 Thread via GitHub
no1wudi opened a new pull request, #12777: URL: https://github.com/apache/nuttx/pull/12777 ## Summary Implement a stub for dladdr() to avoid build errors with some applications that use dladdr(). The API definition is from: 1. https://man7.org/linux/man-pages/man3/dladdr.3.html

Re: [I] Adding Board Support in Nuttx: Steps and Requirements [nuttx]

2024-07-26 Thread via GitHub
i-tesetd-it-no-problem commented on issue #12774: URL: https://github.com/apache/nuttx/issues/12774#issuecomment-2252248163 I copied the gd32f4 directory from arm/arm to gd32f3 and also copied the gd32f4 directory from the boards folder to gd32f3. Additionally, I made some changes to the Kc

(nuttx) branch master updated: risc-v/rv-virt: use RAM_START in ld.script

2024-07-26 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 c2132bb88e risc-v/rv-virt: use RAM_START in ld.

Re: [PR] riscv/rv-virt: use RAM_START in ld.script [nuttx]

2024-07-26 Thread via GitHub
jerpelea merged PR #12772: URL: https://github.com/apache/nuttx/pull/12772 -- 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] speed up CI checks [nuttx]

2024-07-26 Thread via GitHub
xiaoxiang781216 commented on issue #12773: URL: https://github.com/apache/nuttx/issues/12773#issuecomment-2252208292 change to cmake+ninjia could reduce the build time -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

[PR] Feature/esp spi dma [nuttx]

2024-07-26 Thread via GitHub
eren-terzioglu opened a new pull request, #12776: URL: https://github.com/apache/nuttx/pull/12776 ## Summary - esp32[c3|c6|h2]: Add SPI slave DMA support - esp32[c3|c6|h2]: Add SPI master DMA support ## Impact ESP32C3, ESP32C6 and ESP32H2 ## Testing --

[PR] Feature/esp temperature sensor [nuttx]

2024-07-26 Thread via GitHub
eren-terzioglu opened a new pull request, #12775: URL: https://github.com/apache/nuttx/pull/12775 ## Summary - esp32[s2|s3]: Add temperature sensor support - esp32[c3|c6|h2]: Add temperature sensor support ## Impact ESP32S2, ESP32S3, ESP32C3, ESP32C6 and ESP32H2