[I] unwind_frame has issues on arm cortext M7 [nuttx]

2024-07-13 Thread via GitHub
gneworld opened a new issue, #12687: URL: https://github.com/apache/nuttx/issues/12687 ![image](https://github.com/user-attachments/assets/af0aa53d-5449-4311-8557-67a5e590ebc5) During the backtrace process, the system freezes, and the anomaly shown in the image above. ![ima

Re: [PR] Feature/esp mcuboot support [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 merged PR #12669: URL: https://github.com/apache/nuttx/pull/12669 -- 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 (0510b1eeb7 -> a8523f30ea)

2024-07-13 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 0510b1eeb7 boards/arm64: add initial support for Zynq Mpsoc ZCU111 Evaluation Kit add 0f0c258fa2 esp32[c6]: Ad

Re: [PR] spin_lock: inline spin_lock [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 commented on code in PR #12599: URL: https://github.com/apache/nuttx/pull/12599#discussion_r1677003598 ## drivers/note/note_driver.c: ## @@ -1170,6 +1170,27 @@ void sched_note_spinlock(FAR struct tcb_s *tcb, note_add(*driver, ¬e, sizeof(struct note_spinloc

Re: [PR] riscv: Initial support for debug trigger module [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 commented on code in PR #12554: URL: https://github.com/apache/nuttx/pull/12554#discussion_r1677002670 ## arch/risc-v/src/common/riscv_debug.c: ## @@ -0,0 +1,414 @@ +/ + * arch/risc-v/src

Re: [PR] fs/mnemofs: Add journal methods. [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 commented on code in PR #12683: URL: https://github.com/apache/nuttx/pull/12683#discussion_r1677001138 ## fs/mnemofs/mnemofs_journal.c: ## @@ -91,10 +91,33 @@ * Private Types / +/*

Re: [PR] Reimplement readv to deal with short reads [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 commented on code in PR #12674: URL: https://github.com/apache/nuttx/pull/12674#discussion_r1676999523 ## libs/libc/uio/lib_readv.c: ## @@ -68,56 +70,63 @@ ssize_t readv(int fildes, FAR const struct iovec *iov, int iovcnt) { - ssize_t ntotal; - ssize_t nrea

Re: [PR] Reimplement readv to deal with short reads [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 commented on code in PR #12674: URL: https://github.com/apache/nuttx/pull/12674#discussion_r1677000397 ## libs/libc/uio/lib_readv.c: ## @@ -68,56 +70,63 @@ ssize_t readv(int fildes, FAR const struct iovec *iov, int iovcnt) { - ssize_t ntotal; - ssize_t nrea

Re: [PR] Reimplement readv to deal with short reads [nuttx]

2024-07-13 Thread via GitHub
xiaoxiang781216 commented on code in PR #12674: URL: https://github.com/apache/nuttx/pull/12674#discussion_r1676999523 ## libs/libc/uio/lib_readv.c: ## @@ -68,56 +70,63 @@ ssize_t readv(int fildes, FAR const struct iovec *iov, int iovcnt) { - ssize_t ntotal; - ssize_t nrea

Re: [PR] riscv: Only try to decode compressed instruction in misalign handler if it's enabled [nuttx]

2024-07-13 Thread via GitHub
no1wudi closed pull request #12684: riscv: Only try to decode compressed instruction in misalign handler if it's enabled URL: https://github.com/apache/nuttx/pull/12684 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

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

2024-07-13 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 c9d451a49 Publishing web: c0bb376

(nuttx) branch master updated (c86ef1cbc4 -> 0510b1eeb7)

2024-07-13 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 c86ef1cbc4 fs/mnemofs: Add journal methods. Journal methods for mnemofs. add ea532cb11a arch/arm64: add initial

Re: [PR] arm64:add initial support for ZYNQ MPSOC and ZCU111 Evaluation Kit [nuttx]

2024-07-13 Thread via GitHub
acassis merged PR #12681: URL: https://github.com/apache/nuttx/pull/12681 -- 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] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227134214 @NonpawitE actually I looked the schematic and this board doesn't have LEDs directly controlled by user: https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=http

Re: [I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227125166 Hi @NonpawitE You are right, I got same error now: ``` $ make -j Create version.h LN: platform/board to /home/alan/nuttxspace/apps/platform/dummy Register: nsh

Re: [I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
NonpawitE commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227112398 Is it possible that in [stm32h745i_disco.h](https://github.com/apache/nuttx/blob/c86ef1cbc43016a019b6098343ff8dac6760cd25/boards/arm/stm32h7/stm32h745i-disco/src/stm32h745i_disco.h#

Re: [I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
NonpawitE commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227110957 Hi @acassis, I copied your .config to my .config file and run `make -j`, it compile with no errors, but when I ran `ls dev` in nsh the "userleds" won't show up. I have disabled `Bo

Re: [I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227105975 Thank you @NonpawitE I run: ``` $ ./tools/configure.sh stm32h745i-disco:nsh ``` And used meld to compare your .config with the default nsh .config and move all your mo

Re: [I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
NonpawitE commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227095721 Here's my .config file [.config.txt](https://github.com/user-attachments/files/16203592/default.config.txt) -- This is an automated message from the Apache Git Service. To re

Re: [I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227094280 Could you please share your .config file? -- 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] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #12686: URL: https://github.com/apache/nuttx/issues/12686#issuecomment-2227094092 Hi @NonpawitE thank you for reporting this issue. Strange, the GPIO_LED_BLUE seems to be defined: ``` alan@dev:~/nuttxspace/nuttx/boards/arm/stm32h7/stm32h747i-disco$ git gr

[I] STM32H745I-DISCO Userleds Error [nuttx]

2024-07-13 Thread via GitHub
NonpawitE opened a new issue, #12686: URL: https://github.com/apache/nuttx/issues/12686 ```FAILED: boards/CMakeFiles/board.dir/arm/stm32h7/stm32h745i-disco/src/stm32_userleds.c.obj /usr/bin/arm-none-eabi-gcc -D__KERNEL__ -D__NuttX__ -I../arch/arm/src/stm32h7 -I../arch/arm/src/common -I

Re: [I] Add BLE support for esp32s3 [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #12685: URL: https://github.com/apache/nuttx/issues/12685#issuecomment-2227046100 @tommasoclini unfortunately the native NuttX stack is very primitive. It is a BLE Stack that Intel released many year ago, it was used on zephyr as well, but there Nordic helped to i

Re: [PR] fs/mnemofs: Add journal methods. [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on code in PR #12683: URL: https://github.com/apache/nuttx/pull/12683#discussion_r1676878788 ## fs/mnemofs/mnemofs_journal.c: ## @@ -91,10 +91,33 @@ * Private Types / +/* NO

Re: [PR] riscv: Only try to decode compressed instruction in misalign handler if it's enabled [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on PR #12684: URL: https://github.com/apache/nuttx/pull/12684#issuecomment-2227042791 Can be solved multiple ways including ``` #ifdef CONFIG_ARCH_RV_ISA_C static bool decode_insn_compressed(uintptr_t *regs, riscv_insn_ctx_t *ctx) { ... } #else

Re: [I] Add BLE support for esp32s3 [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on issue #12685: URL: https://github.com/apache/nuttx/issues/12685#issuecomment-2227041498 I think that maybe you are mixing NuttX BLE stack support with ESP32 S3 BLE. I was using ESP32 S3 BLE with nimble stack and the BLE driver was capable to communicating and my a

Re: [PR] Reimplement readv to deal with short reads [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on code in PR #12674: URL: https://github.com/apache/nuttx/pull/12674#discussion_r1676876399 ## libs/libc/uio/lib_readv.c: ## @@ -68,56 +70,63 @@ ssize_t readv(int fildes, FAR const struct iovec *iov, int iovcnt) { - ssize_t ntotal; - ssize_t nread;

Re: [PR] Reimplement readv to deal with short reads [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on code in PR #12674: URL: https://github.com/apache/nuttx/pull/12674#discussion_r1676874321 ## libs/libc/uio/lib_readv.c: ## @@ -68,56 +70,63 @@ ssize_t readv(int fildes, FAR const struct iovec *iov, int iovcnt) { - ssize_t ntotal; - ssize_t nread;

Re: [I] Add BLE support for esp32s3 [nuttx]

2024-07-13 Thread via GitHub
tommasoclini commented on issue #12685: URL: https://github.com/apache/nuttx/issues/12685#issuecomment-2227034105 I've tried a few bt commands, but bt advertise start didn't work, ioctl(SISIOCBTADVSTART) returned 5, or something like that. I've asked because in the documentation it says t

Re: [PR] riscv: Only try to decode compressed instruction in misalign handler if it's enabled [nuttx]

2024-07-13 Thread via GitHub
acassis commented on PR #12684: URL: https://github.com/apache/nuttx/pull/12684#issuecomment-2227034102 @no1wudi @pkarashchenko suggestion: remove the CONFIG_ARCH_RV_ISA_C from inside decode_insn_compressed() and keep this modifications since is it more clean and makes more sense. -- Thi

Re: [PR] riscv: Only try to decode compressed instruction in misalign handler if it's enabled [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on PR #12684: URL: https://github.com/apache/nuttx/pull/12684#issuecomment-2227032056 PR does not bring any value since three is `#ifdef CONFIG_ARCH_RV_ISA_C` already inside the `decode_insn_compressed()`. -- This is an automated message from the Apache Git Ser

(nuttx) branch master updated: fs/mnemofs: Add journal methods. Journal methods for mnemofs.

2024-07-13 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis 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 c86ef1cbc4 fs/mnemofs: Add journal methods. Jour

Re: [PR] fs/mnemofs: Add journal methods. [nuttx]

2024-07-13 Thread via GitHub
acassis merged PR #12683: URL: https://github.com/apache/nuttx/pull/12683 -- 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] Add BLE support for esp32s3 [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on issue #12685: URL: https://github.com/apache/nuttx/issues/12685#issuecomment-2227024544 Have you tried https://github.com/apache/nuttx/tree/master/boards/xtensa/esp32s3/esp32s3-devkit/configs/blewifi ? -- This is an automated message from the Apache Git Service

Re: [I] Add BLE support for esp32s3 [nuttx]

2024-07-13 Thread via GitHub
pkarashchenko commented on issue #12685: URL: https://github.com/apache/nuttx/issues/12685#issuecomment-2227022328 Lats time I was using BLE on ESP32 S3 it was working. What issues do you experience with BLE on ESP32 S3? -- This is an automated message from the Apache Git Service. To resp

Re: [PR] arm64:add initial support for ZYNQ MPSOC and ZCU111 Evaluation Kit [nuttx]

2024-07-13 Thread via GitHub
zouboan commented on code in PR #12681: URL: https://github.com/apache/nuttx/pull/12681#discussion_r1676832988 ## arch/arm64/Kconfig: ## @@ -100,6 +100,17 @@ config ARCH_CHIP_IMX9 ---help--- NXP i.MX9 (ARMv8.2a) applications processors +config ARCH_CHIP

[PR] fs/mnemofs: Add journal methods. [nuttx]

2024-07-13 Thread via GitHub
resyfer opened a new pull request, #12683: URL: https://github.com/apache/nuttx/pull/12683 ## Summary Journal methods for mnemofs. ## Impact mnemofs can use its Journal ## Testing checkpatch and NAND flash virtual device. -- This is an automated message from

Re: [I] Add support to use NuttX as POSIX PSE51 system [nuttx]

2024-07-13 Thread via GitHub
acassis commented on issue #11390: URL: https://github.com/apache/nuttx/issues/11390#issuecomment-2226858741 The POSIX missing functions can be found here: https://medium.com/@zim.kalinowski/posix-support-comparison-in-various-rtoses-b45677889ec8 -- This is an automated message from th

Re: [PR] Feature/esp mcuboot support [nuttx]

2024-07-13 Thread via GitHub
acassis commented on PR #12669: URL: https://github.com/apache/nuttx/pull/12669#issuecomment-2226849966 @eren-terzioglu I missed the instruction to use mcuboot_nsh, is it in some other place of the documentation? If so, please put an reference/link to there. -- This is an automated messag

(nuttx) branch master updated (211e2cd8b9 -> 9ef9788b6f)

2024-07-13 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 211e2cd8b9 riscv/k230: revise canmv230:pnsh add 9ef9788b6f fs/mnemofs: Add LRU and CTZ methods LRU methods and CT

Re: [PR] fs/mnemofs: Add LRU and CTZ methods [nuttx]

2024-07-13 Thread via GitHub
acassis merged PR #12680: URL: https://github.com/apache/nuttx/pull/12680 -- 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] arm64:add initial support for ZYNQ MPSOC and ZCU111 Evaluation Kit [nuttx]

2024-07-13 Thread via GitHub
acassis commented on code in PR #12681: URL: https://github.com/apache/nuttx/pull/12681#discussion_r1676802394 ## arch/arm64/Kconfig: ## @@ -100,6 +100,17 @@ config ARCH_CHIP_IMX9 ---help--- NXP i.MX9 (ARMv8.2a) applications processors +config ARCH_CHIP

(nuttx) branch master updated (5c48944e0b -> 211e2cd8b9)

2024-07-13 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 5c48944e0b samv7: fix compile warning in PWM and UART drivers add 723cbb0170 riscv/k230: revise canmv230:nsh

Re: [PR] riscv/k230: updates for nsh and pnsh [nuttx]

2024-07-13 Thread via GitHub
acassis merged PR #12677: URL: https://github.com/apache/nuttx/pull/12677 -- 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: samv7: fix compile warning in PWM and UART drivers

2024-07-13 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 5c48944e0b samv7: fix compile warning in P

Re: [PR] samv7: fix compile warning in PWM driver [nuttx]

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