(nuttx-apps) branch master updated: boot/nxboot/loader/boot.c: avoid unwanted confirm on double update

2025-08-27 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-apps.git The following commit(s) were added to refs/heads/master by this push: new 7ac03cfce boot/nxboot/loader/boot.c: avoi

(nuttx-apps) branch master updated: mbedtls: Add an option to build ssl_client2 test program

2025-08-27 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-apps.git The following commit(s) were added to refs/heads/master by this push: new 0e65af606 mbedtls: Add an option to build

Re: [PR] mbedtls: Add an option to build ssl_client2 test program [nuttx-apps]

2025-08-27 Thread via GitHub
xiaoxiang781216 merged PR #3165: URL: https://github.com/apache/nuttx-apps/pull/3165 -- 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...

Re: [PR] In multicore system, We add a busywait flag to synchronize the startup of other cores. [nuttx]

2025-08-27 Thread via GitHub
xiaoxiang781216 commented on PR #16928: URL: https://github.com/apache/nuttx/pull/16928#issuecomment-3231963974 @wangchdo could you review whether this patch could fix your problem? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

[PR] In multicore system, We add a busywait flag to synchronize the startup of other cores. [nuttx]

2025-08-27 Thread via GitHub
hujun260 opened a new pull request, #16928: URL: https://github.com/apache/nuttx/pull/16928 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary In multicore system, We add a busywait flag to synchronize the

[PR] sched/signal: Old signal action need save sa_user [nuttx]

2025-08-27 Thread via GitHub
JianyuWang0623 opened a new pull request, #16927: URL: https://github.com/apache/nuttx/pull/16927 ## Summary Old signal action need save `sa_user`. For example, set sigaction after create signalfd, the `sa_sigaction` was restored but `sa_user` not, causing `signalfd_action()` get the w

Re: [PR] include/net/if.h: Add mechanism for MMD access with SIOCxMIIREG ioctls [nuttx]

2025-08-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #16926: URL: https://github.com/apache/nuttx/pull/16926#discussion_r2305939428 ## include/nuttx/net/netdev.h: ## @@ -216,6 +216,18 @@ (netdev_ipv6_lookup(dev, addr, true) != NULL) #endif +/* MDIO Manageable Device (MMD) support wi

(nuttx) branch master updated (585c25bac0 -> c36d067603)

2025-08-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 585c25bac0 drivers/i2s/i2schar: Implement blocking read/write operations add c36d067603 tools/nix: move nix fl

Re: [PR] tools/nix: move nix flakes to tools/ [nuttx]

2025-08-27 Thread via GitHub
xiaoxiang781216 merged PR #16924: URL: https://github.com/apache/nuttx/pull/16924 -- 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/timers/capture: fix typo in capture.h [nuttx]

2025-08-27 Thread via GitHub
xiaoxiang781216 commented on code in PR #16925: URL: https://github.com/apache/nuttx/pull/16925#discussion_r2305934848 ## include/nuttx/timers/capture.h: ## @@ -45,14 +45,23 @@ #define CAPIOC_DUTYCYCLE _CAPIOC(1) -/* Command: CAPIOC_FREQUENCE +/* Command: CAPIOC_FRE

Re: [PR] net/netdev/netdev_ioctl.c: Add new ioctls for MMD register access [nuttx]

2025-08-27 Thread via GitHub
xiaoxiang781216 commented on PR #16911: URL: https://github.com/apache/nuttx/pull/16911#issuecomment-3231099942 > @xiaoxiang781216 and @matiamic . I think that some flags or callback into [struct net_driver_s](https://github.com/apache/nuttx/blob/f4142626b9b4a161fc67791a9c09965da6fc6ab2/inc

Re: [PR] include/net/if.h: Add mechanism for MMD access with SIOCxMIIREG ioctls [nuttx]

2025-08-27 Thread via GitHub
matiamic commented on PR #16926: URL: https://github.com/apache/nuttx/pull/16926#issuecomment-3230998768 Example usage in user app: https://github.com/matiamic/nuttx-apps/blob/48743a8a0d83896ab16d2ddf60a60e889345d6ae/oa_tc6_testing/mdio_test/mdio_test.c#L30 Example usage in driver: h

Re: [PR] net/netdev/netdev_ioctl.c: Add new ioctls for MMD register access [nuttx]

2025-08-27 Thread via GitHub
matiamic commented on PR #16911: URL: https://github.com/apache/nuttx/pull/16911#issuecomment-3230937100 I have opened a new pull request https://github.com/apache/nuttx/pull/16926. I approached the MMD access the way it is approached in Linux using SIOCxMIIREG commands. No new ioctl comman

[PR] include/net/if.h: Add mechanism for MMD access with SIOCxMIIREG ioctls [nuttx]

2025-08-27 Thread via GitHub
matiamic opened a new pull request, #16926: URL: https://github.com/apache/nuttx/pull/16926 ## Summary This patch adds `mdio_phy_id_c45` macro. This macro allows encoding of additional information needed for MDIO Manageable Device (MMD) access into the `phy_id` field of the `mii_ioct

Re: [PR] arch/arm/armv8-r: fix multicore gicv3 init issue [nuttx]

2025-08-27 Thread via GitHub
wangchdo closed pull request #16892: arch/arm/armv8-r: fix multicore gicv3 init issue URL: https://github.com/apache/nuttx/pull/16892 -- 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 com

(nuttx-website) branch asf-site updated: Publishing web: 9694bc613262aaa0e4e5b8ccb54017a1c229e44e docs: 585c25bac0099367553a0c53ee5bbd011baf2b56

2025-08-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 88f2d1c7f Publishing web: 9694bc6

Re: [PR] arch/xmc4 : fix serial buffer size for unused channel [nuttx]

2025-08-27 Thread via GitHub
acassis commented on code in PR #16923: URL: https://github.com/apache/nuttx/pull/16923#discussion_r2305365839 ## arch/arm/src/xmc4/Kconfig: ## @@ -326,6 +326,24 @@ config XMC4_USIC0_CHAN1_ISI2S endchoice # USIC0 Channel 1 Protocol +config XMC4_USIC0_CHAN0_TX_BUFFER_SIZE +

Re: [PR] arch/xmc4 : fix serial buffer size for unused channel [nuttx]

2025-08-27 Thread via GitHub
acassis commented on code in PR #16923: URL: https://github.com/apache/nuttx/pull/16923#discussion_r2305365839 ## arch/arm/src/xmc4/Kconfig: ## @@ -326,6 +326,24 @@ config XMC4_USIC0_CHAN1_ISI2S endchoice # USIC0 Channel 1 Protocol +config XMC4_USIC0_CHAN0_TX_BUFFER_SIZE +

Re: [PR] arch/xmc4 : fix serial buffer size for unused channel [nuttx]

2025-08-27 Thread via GitHub
acassis commented on code in PR #16923: URL: https://github.com/apache/nuttx/pull/16923#discussion_r2305365839 ## arch/arm/src/xmc4/Kconfig: ## @@ -326,6 +326,24 @@ config XMC4_USIC0_CHAN1_ISI2S endchoice # USIC0 Channel 1 Protocol +config XMC4_USIC0_CHAN0_TX_BUFFER_SIZE +

Re: [I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
acassis commented on issue #16916: URL: https://github.com/apache/nuttx/issues/16916#issuecomment-3229179848 @keever50 Yes, the idea of GET_CAPS is very important, similar to FBIOGET_VIDEOINFO we have to fb drivers. Also some ADC needs to run calibration. The SAMD21 does it during the syste

Re: [PR] drivers/timers/capture: fix typo in capture.h [nuttx]

2025-08-27 Thread via GitHub
fdcavalcanti commented on code in PR #16925: URL: https://github.com/apache/nuttx/pull/16925#discussion_r2304883497 ## include/nuttx/timers/capture.h: ## @@ -45,14 +45,23 @@ #define CAPIOC_DUTYCYCLE _CAPIOC(1) -/* Command: CAPIOC_FREQUENCE +/* Command: CAPIOC_FREQUE

Re: [I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
keever50 commented on issue #16916: URL: https://github.com/apache/nuttx/issues/16916#issuecomment-3229017601 ### Design philosophy **Simple default path** It can be quite challenging to target all use cases at once. I think it would be reasonable to target about 80-90% of ADC

[PR] drivers/timers/capture: fix typo in capture.h [nuttx]

2025-08-27 Thread via GitHub
comejv opened a new pull request, #16925: URL: https://github.com/apache/nuttx/pull/16925 ## Summary This commit fixes a typo in the capture.h header file (fix #16835). Change: CAPIOC_FREQUENCE -> CAPIOC_FREQUENCY Added a compiler warning of the deprecation to the capture

[PR] tools/nix: move nix flakes to tools/ [nuttx]

2025-08-27 Thread via GitHub
comejv opened a new pull request, #16924: URL: https://github.com/apache/nuttx/pull/16924 ## Summary This commit moves the flake.lock and flake.nix files from root and Documentation/ to the tools/ directory, according to @anchao's suggestion in PR #16763. Updates documentation to

[PR] arch/xmc4 : fix serial buffer size for unused channel [nuttx]

2025-08-27 Thread via GitHub
adriendesp opened a new pull request, #16923: URL: https://github.com/apache/nuttx/pull/16923 ## Summary Fix the serial buffer size handling for USICx_CHAN1 when USICx_CHAN0 is not enabled. Now user can set the USICx_CHAN0_RX_BUFFER_SIZE and USICx_CHAN0_TX_BUFFER_SIZE even if channel

Re: [I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
nmaggioni commented on issue #16916: URL: https://github.com/apache/nuttx/issues/16916#issuecomment-3228526324 From my (quite limited) point of view, ADC interactions could be categorized like this: + Active - Infrequent reads - Frequent reads from a single thread - Fre

[PR] boards/arm/imxrt: CMake added imxrt1020-evk imxrt1050-evk boards [nuttx]

2025-08-27 Thread via GitHub
simbit18 opened a new pull request, #16922: URL: https://github.com/apache/nuttx/pull/16922 ## Summary Added CMake build for boards: imxrt1020-evk imxrt1050-evk ## Impact Impact on user: This PR adds imxrt1020-evk and imxrt1050-evk boards with CMake build

Re: [PR] sched/event: add nxevent_clear api [nuttx]

2025-08-27 Thread via GitHub
simbit18 commented on PR #16920: URL: https://github.com/apache/nuttx/pull/16920#issuecomment-3228232355 Hi @wangchdo, you also need to update sched/event/Make.defs https://github.com/apache/nuttx/blob/585c25bac0099367553a0c53ee5bbd011baf2b56/sched/event/Make.defs#L26 -- This is an au

[PR] Refactor Wi-Fi driver for ESP32-C3|C6 [nuttx]

2025-08-27 Thread via GitHub
fdcavalcanti opened a new pull request, #16921: URL: https://github.com/apache/nuttx/pull/16921 ## Summary This PR refactors the Wi-Fi driver for RISC-V Espressif devices, affecting ESP32-C3 and ESP32-C6. It now better implements the `netdev_ops` and `wireless_ops` as defined i

[PR] sched/event: add nxevent_clear api [nuttx]

2025-08-27 Thread via GitHub
wangchdo opened a new pull request, #16920: URL: https://github.com/apache/nuttx/pull/16920 Add nxevent_clear to clear event mask to an event object. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary

Re: [PR] net/netdev/netdev_ioctl.c: Add new ioctls for MMD register access [nuttx]

2025-08-27 Thread via GitHub
ppisa commented on PR #16911: URL: https://github.com/apache/nuttx/pull/16911#issuecomment-3228033786 @xiaoxiang781216 and @matiamic . I think that some flags or callback into [struct net_driver_s](https://github.com/apache/nuttx/blob/f4142626b9b4a161fc67791a9c09965da6fc6ab2/include/nuttx/

[PR] sched/init/nx_bringup.c: Add support for CONFIG_INIT_NONE in a flat build [nuttx]

2025-08-27 Thread via GitHub
wangchdo opened a new pull request, #16919: URL: https://github.com/apache/nuttx/pull/16919 In a flat build, a separate init thread should not be mandatory, users can create a user task in the board early initialization or late initialization hook. *Note: Please adhere to [Contri

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
acassis commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227842991 > Another small issue I noticed is the lack of color output for checkpatch.sh. Errors should be clearly displayed in red, and when everything is OK, we should print a green message. I don

[PR] boards/arm/imxrt: CMake added imxrt1060-evk imxrt1064-evk imxrt1170-evk boards [nuttx]

2025-08-27 Thread via GitHub
simbit18 opened a new pull request, #16918: URL: https://github.com/apache/nuttx/pull/16918 ## Summary Added CMake build for boards: - imxrt1060-evk - imxrt1064-evk - imxrt1170-evk ## Impact Impact on user: This PR adds imxrt1060-evk, imxrt1064-evk, and imxrt

Re: [I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
acassis commented on issue #16916: URL: https://github.com/apache/nuttx/issues/16916#issuecomment-3227820647 @nmaggioni @keever50 for visibility -- 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 th

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
acassis commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227814057 @cederom forcing people to include it twice will not work, you know that. Today they don't even put it in the commit, imagine asking them to put it in the commit and the include it in the

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on code in PR #16912: URL: https://github.com/apache/nuttx/pull/16912#discussion_r2303534468 ## tools/checkpatch.sh: ## @@ -279,12 +282,64 @@ check_patch() { } check_msg() { + first=$(head -n1 <<< "$msg") + signedoffby_found=0 + num_lines=0 + max_lin

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227669808 Another small issue I noticed is the lack of color output for checkpatch.sh. Errors should be clearly displayed in red, and when everything is OK, we should print a green message. I do

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227653005 @cederom > Three fields are required: 1. topic, 2. description, 3. signature (git commit -s). You are already checking the title and signature, very nice, would it be possible

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
simbit18 commented on code in PR #16912: URL: https://github.com/apache/nuttx/pull/16912#discussion_r2303521890 ## tools/checkpatch.sh: ## @@ -279,12 +282,64 @@ check_patch() { } check_msg() { + first=$(head -n1 <<< "$msg") + signedoffby_found=0 + num_lines=0 + max_line_

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227623028 I moved all checks to `tools/checkpatch.sh` so they can be run directly from `.github/workflows/check.yml`. This way you can easily test changes locally. -- This is an automated m

Re: [PR] boot/nxboot/loader/boot.c: avoid unwanted confirm on double update [nuttx-apps]

2025-08-27 Thread via GitHub
TimJTi commented on PR #3169: URL: https://github.com/apache/nuttx-apps/pull/3169#issuecomment-3227590009 @michallenc I have seen this behaviour (thanks to progress reporting lol) and did wonder. I presume, after this change, that if the first upload of an image is confirmed and vali

[PR] arch/tricore/src/common/tricore_irq.c: add up_affinity_irq [nuttx]

2025-08-27 Thread via GitHub
wangchdo opened a new pull request, #16917: URL: https://github.com/apache/nuttx/pull/16917 Add up_affinity_irq to tricore arch *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Add up_affinity_i

Re: [I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
michallenc commented on issue #16916: URL: https://github.com/apache/nuttx/issues/16916#issuecomment-3227345609 Looking at the ioctls, I'm not sure why `arch/risc-v/src/bl808/bl808_gpadc.c` implements `ANIOC_RESET_FIFO` and `ANIOC_SAMPLES_ON_READ` at all. These were intended to be common io

[PR] boot/nxboot/loader/boot.c: avoid unwanted confirm on double update [nuttx-apps]

2025-08-27 Thread via GitHub
michallenc opened a new pull request, #3169: URL: https://github.com/apache/nuttx-apps/pull/3169 ## Summary Following steps led to incorrect behavior: - upload update image - restart device and perform the update - upload the same update image again without confirming Th

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
simbit18 commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227225924 Hello @raiden00pl, I agree that this https://github.com/apache/nuttx/blob/master/.github/workflows/check.yml (tools/checkpatch.sh) is the most appropriate place for maintenance and opti

Re: [I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on issue #16916: URL: https://github.com/apache/nuttx/issues/16916#issuecomment-3227217358 To make things more difficult, some of ioctls are not even in `include/nuttx/analog/ioctl.h` as in the case of `arch/arm/src/stm32/stm32_adc.h:adc_io_cmds_e` :) -- This is an a

[I] [FEATURE] Analog (ADC/DAC) interfaces unification [nuttx]

2025-08-27 Thread via GitHub
raiden00pl opened a new issue, #16916: URL: https://github.com/apache/nuttx/issues/16916 ### Is your feature request related to a problem? Please describe. Currently, the analog interface is not very portable across different chips (uC or standalone chips). There are many dedicated IO

Re: [PR] arch/arm/stm32h5: ADC Watchdog Implementation [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on code in PR #16904: URL: https://github.com/apache/nuttx/pull/16904#discussion_r2303157398 ## arch/arm/src/stm32h5/stm32_adc.h: ## @@ -463,10 +463,88 @@ # endif #endif +/* IOCTL Support */ + +#define ANIOC_STM32H5_WDOG_CFG _ANIOC(AN_STM32H5_FIRS

Re: [PR] fix ld unrecognized option '-g3' [nuttx]

2025-08-27 Thread via GitHub
simbit18 commented on code in PR #16910: URL: https://github.com/apache/nuttx/pull/16910#discussion_r2303039336 ## arch/tricore/src/cmake/ToolchainTasking.cmake: ## @@ -83,7 +83,7 @@ add_compile_options(--tradeoff=2) if(CONFIG_DEBUG_SYMBOLS) add_compile_options(--debug-info=

Re: [PR] net/netdev/netdev_ioctl.c: Add new ioctls for MMD register access [nuttx]

2025-08-27 Thread via GitHub
matiamic commented on PR #16911: URL: https://github.com/apache/nuttx/pull/16911#issuecomment-3227135769 Thank you @ppisa for the detailed explanation and for correcting me on this. @xiaoxiang781216 Even though the responsibility is on the driver side, I skimmed through a dozen of net

Re: [PR] arch/arm/stm32h5: ADC Watchdog Implementation [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on code in PR #16904: URL: https://github.com/apache/nuttx/pull/16904#discussion_r2303081749 ## include/nuttx/analog/ioctl.h: ## @@ -131,6 +131,11 @@ #define AN_ADS7046_FIRST (AN_MCP47X6_FIRST + AN_MCP47X6_NCMDS) #define AN_ADS7046_NCMDS 3 +/* See arch

Re: [PR] [DRAFT] github: check git commit format [nuttx]

2025-08-27 Thread via GitHub
raiden00pl commented on PR #16912: URL: https://github.com/apache/nuttx/pull/16912#issuecomment-3227014130 I'm wondering if the entire checking logic shouldn't be moved to `tools/checkpatch.sh`. This way everything that check changes will be in one place, ease to use before creating PR. -