[PR] cmake: Supports specifying link script prefix parameters [nuttx]

2025-07-10 Thread via GitHub
W-M-R opened a new pull request, #16710: URL: https://github.com/apache/nuttx/pull/16710 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary cmake: Supports specifying link script prefix parameters For e

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2199719424 ## sched/sched/sched_addreadytorun.c: ## @@ -114,14 +114,95 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#el

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

2025-07-10 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2199639000 ## sched/sched/sched_addreadytorun.c: ## @@ -114,14 +114,95 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#el

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

2025-07-10 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2199638359 ## sched/sched/sched_addreadytorun.c: ## @@ -114,14 +114,95 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#el

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

2025-07-10 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2199636347 ## sched/sched/sched_addreadytorun.c: ## @@ -114,14 +114,95 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb) return ret; } -#endif /* !CONFIG_SMP */ + +#el

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

2025-07-10 Thread via GitHub
hujun260 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2199632756 ## sched/sched/sched_removereadytorun.c: ## @@ -139,14 +139,15 @@ void nxsched_remove_running(FAR struct tcb_s *tcb) { FAR dq_queue_t *tasklist; FAR struct tcb_

Re: [PR] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
jingfei195887 commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3060345403 > I haven't had the time to plough through all of this. I use ftl and bchdev_register for NXBOOT using a GD55 qspi device. If this is going to break stuff, **PLEASE**: once it's see

Re: [PR] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
jingfei195887 commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3060245260 > Please add Documentation/ with the diagram included in the comments @acassis yes sure, thank you for your comments. I will update the MTD documentation with diagrams, as we

[PR] toolchain/arm: Fix link parameter error [nuttx]

2025-07-10 Thread via GitHub
W-M-R opened a new pull request, #16709: URL: https://github.com/apache/nuttx/pull/16709 Fixed the problem that when using armclang, it cannot add a space after --scatter= *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*

(nuttx) branch master updated: Add additional support for STM32H5 ADC

2025-07-10 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 7abfbddb2f1 Add additional support for STM32H5

Re: [PR] Add oversampling and resolution support for STM32H5 ADC [nuttx]

2025-07-10 Thread via GitHub
xiaoxiang781216 merged PR #16708: URL: https://github.com/apache/nuttx/pull/16708 -- 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] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
TimJTi commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3059204196 I haven't had the time to plough through all of this. I use ftl and bchdev_register for NXBOOT using a GD55 qspi device. If this is going to break stuff, **PLEASE**: once it's seemingly re

[PR] Add oversampling and resolution support for STM32H5 ADC [nuttx]

2025-07-10 Thread via GitHub
kywwilson11 opened a new pull request, #16708: URL: https://github.com/apache/nuttx/pull/16708 ## Summary This pull request adds oversampling support and the ability to set the resolution of the adc result through Kconfig options. I used the STM32G0 as a reference. ## Impa

Re: [I] [HELP] ps crashes on second call [nuttx]

2025-07-10 Thread via GitHub
comejv commented on issue #16689: URL: https://github.com/apache/nuttx/issues/16689#issuecomment-3058707748 I figured it out! From my tests the best way to do it is to create new configs in the nuttx sources, with CMake targets In the end here are the two targets I'm using: ```cmake a

Re: [PR] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
acassis commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3058455913 > @jingfei195887 please update new commit topic to `[BREAKING] bch/mtd/ftl/fs: Update API with new flags for more granular control.` or somethinng like that, we need to denote breaking ex

Re: [PR] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
cederom commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3058274070 @jingfei195887 please update new commit topic to `[BREAKING] bch/mtd/fs: Update API with new flags for more granular control.` or somethinng like that, we need to denote breaking existing

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

2025-07-10 Thread via GitHub
jlaitine commented on PR #16673: URL: https://github.com/apache/nuttx/pull/16673#issuecomment-3058159272 Rebased against current master, as it didn't pass CI for some unknown reason... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2198061788 ## sched/sched/sched_setpriority.c: ## @@ -223,29 +230,30 @@ static inline void nxsched_running_setpriority(FAR struct tcb_s *tcb, /* A context switch will

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2198061788 ## sched/sched/sched_setpriority.c: ## @@ -223,29 +230,30 @@ static inline void nxsched_running_setpriority(FAR struct tcb_s *tcb, /* A context switch will

(nuttx) 01/04: boards/avr/avrdx/breadxavr: fix path in license header

2025-07-10 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 commit 5710b5495f2111f24746c95777b4d5e106de8ea5 Author: Kerogit AuthorDate: Sat Jun 28 00:00:45 2025 +0200 boards/avr/avrd

(nuttx) 04/04: arch/avr/avrdx/avrdx_serial: make uart_ops_s structure const

2025-07-10 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 commit d3da5e633ce56785423f7576fc17314648c6905f Author: Kerogit AuthorDate: Sun Jul 6 23:20:51 2025 +0200 arch/avr/avrdx/a

(nuttx) 03/04: arch/avr/avrdx: do not copy const variables into RAM

2025-07-10 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 commit d9269112ee77209caf4cdb7d64371662fc1e7348 Author: Kerogit AuthorDate: Thu Jul 3 01:26:57 2025 +0200 arch/avr/avrdx:

(nuttx) branch master updated (7a32fed5637 -> d3da5e633ce)

2025-07-10 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 7a32fed5637 arch/arm/stm32h7: support for /dev/random device new 5710b5495f2 boards/avr/avrdx/breadxavr: fix path

(nuttx) 02/04: Documentation/platforms/avr: document options of keeping const vars in flash

2025-07-10 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 commit 14e446628e54f7d6547005fe34dd661382341caf Author: Kerogit AuthorDate: Thu Jul 3 01:50:10 2025 +0200 Documentation/pl

Re: [PR] arch/avr: do not copy const variables to RAM [nuttx]

2025-07-10 Thread via GitHub
acassis merged PR #16687: URL: https://github.com/apache/nuttx/pull/16687 -- 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/rp23xx: spi unset peripheral before to modify Spi parameters [nuttx]

2025-07-10 Thread via GitHub
acassis commented on PR #16704: URL: https://github.com/apache/nuttx/pull/16704#issuecomment-3057902578 @paolovolpi please don't use merge, use rebase instead. The steps to squash the commits are explained here: https://nuttx.apache.org/docs/latest/contributing/making-changes.html#how-to

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2197907864 ## sched/sched/sched_setpriority.c: ## @@ -223,29 +230,30 @@ static inline void nxsched_running_setpriority(FAR struct tcb_s *tcb, /* A context switch will

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2197672505 ## sched/sched/sched_setpriority.c: ## @@ -223,29 +230,30 @@ static inline void nxsched_running_setpriority(FAR struct tcb_s *tcb, /* A context switch will

Re: [PR] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
acassis commented on code in PR #16642: URL: https://github.com/apache/nuttx/pull/16642#discussion_r2197660455 ## drivers/mtd/ftl.c: ## @@ -789,7 +883,8 @@ static int ftl_unlink(FAR struct inode *inode) * **

(nuttx) branch master updated: arch/arm/stm32h7: support for /dev/random device

2025-07-10 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 7a32fed5637 arch/arm/stm32h7: support for /dev/r

Re: [PR] arch/arm/stm32h7: support for /dev/random device [nuttx]

2025-07-10 Thread via GitHub
acassis merged PR #16705: URL: https://github.com/apache/nuttx/pull/16705 -- 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: Added DMA support for H5. Also added ADC DMA support.

2025-07-10 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 0c1f9d482db Added DMA support for H5. Also added

Re: [PR] boards/arm/stm32f401rc-rs485: Add support to HX711 ADC [nuttx]

2025-07-10 Thread via GitHub
acassis commented on code in PR #16707: URL: https://github.com/apache/nuttx/pull/16707#discussion_r2197649407 ## boards/arm/stm32/stm32f401rc-rs485/src/stm32_bringup.c: ## @@ -211,7 +211,7 @@ int stm32_bringup(void) } #endif -#ifdef CONFIG_ADC +#ifdef CONFIG_STM32_ADC1

Re: [PR] Added DMA and ADC DMA support for STM32H5 [nuttx]

2025-07-10 Thread via GitHub
acassis merged PR #16706: URL: https://github.com/apache/nuttx/pull/16706 -- 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/arm/stm32f401rc-rs485: Add support to HX711 ADC [nuttx]

2025-07-10 Thread via GitHub
acassis commented on code in PR #16707: URL: https://github.com/apache/nuttx/pull/16707#discussion_r2197646310 ## boards/arm/stm32/stm32f401rc-rs485/src/stm32_bringup.c: ## @@ -211,7 +211,7 @@ int stm32_bringup(void) } #endif -#ifdef CONFIG_ADC +#ifdef CONFIG_STM32_ADC1

Re: [I] Add Wake On LAN support on NuttX [nuttx]

2025-07-10 Thread via GitHub
acassis commented on issue #10895: URL: https://github.com/apache/nuttx/issues/10895#issuecomment-3057311702 @xiaoxiang781216 besides Documentation I think it is important to have a board profile to it, this way we can confirm it still working and we can (manually) detect when it stops to w

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

2025-07-10 Thread via GitHub
jlaitine commented on PR #16673: URL: https://github.com/apache/nuttx/pull/16673#issuecomment-3057263868 I added one more optimization patch, which should make the performance equal to what it was before this PR. -- This is an automated message from the Apache Git Service. To respond

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

2025-07-10 Thread via GitHub
xiaoxiang781216 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2197576605 ## sched/sched/sched_setpriority.c: ## @@ -223,29 +230,30 @@ static inline void nxsched_running_setpriority(FAR struct tcb_s *tcb, /* A context swit

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2197391032 ## sched/sched/sched_setpriority.c: ## @@ -223,29 +230,30 @@ static inline void nxsched_running_setpriority(FAR struct tcb_s *tcb, /* A context switch will

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2197385130 ## sched/sched/sched_setpriority.c: ## @@ -177,33 +120,37 @@ static FAR struct tcb_s *nxsched_nexttcb(FAR struct tcb_s *tcb) static inline void nxsched_running_setpr

(nuttx) branch master updated: libc/mcount: compatible with armv6m mcount implementation

2025-07-10 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 156ef05205d libc/mcount: compatible with armv6

Re: [PR] libc/mcount: add armv6m mcount implementation [nuttx]

2025-07-10 Thread via GitHub
xiaoxiang781216 merged PR #16675: URL: https://github.com/apache/nuttx/pull/16675 -- 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] sched: Fix smp scheduling [nuttx]

2025-07-10 Thread via GitHub
xiaoxiang781216 commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2196759965 ## sched/sched/sched_setpriority.c: ## @@ -177,33 +120,37 @@ static FAR struct tcb_s *nxsched_nexttcb(FAR struct tcb_s *tcb) static inline void nxsched_runnin

Re: [I] [BUG] profile: compilation fails ("cannot honor width suffix") [nuttx]

2025-07-10 Thread via GitHub
xiaoxiang781216 closed issue #16655: [BUG] profile: compilation fails ("cannot honor width suffix") URL: https://github.com/apache/nuttx/issues/16655 -- 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] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
xiaoxiang781216 commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3056707098 > > bch_register and ftl_initilize is designed to be called only inside FS layer, and board files shouldn't call these two functions. So @jingfei195887 will provide new patch to r

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

2025-07-10 Thread via GitHub
jlaitine commented on code in PR #16673: URL: https://github.com/apache/nuttx/pull/16673#discussion_r2196997364 ## sched/sched/sched_mergepending.c: ## @@ -186,100 +186,97 @@ bool nxsched_merge_pending(void) *

Re: [PR] drivers/bch: Add direct writing method for FTL [nuttx]

2025-07-10 Thread via GitHub
Laczen commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3056224064 > bch_register and ftl_initilize is designed to be called only inside FS layer, and board files shouldn't call these two functions. So @jingfei195887 will provide new patch to remove/repla