[PR] crypto/mbedtls: fix kconfig typo [nuttx-apps]

2023-10-06 Thread via GitHub
Junbo-Zheng opened a new pull request, #2107: URL: https://github.com/apache/nuttx-apps/pull/2107 ## Summary crypto/mbedtls: fix kconfig typo Signed-off-by: Junbo Zheng ## Impact crypto/mbedtls ## Testing -- This is an automated message from

Re: [PR] Implement ticket spinlock [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on PR #10605: URL: https://github.com/apache/nuttx/pull/10605#issuecomment-1750117670 > please run './tools/refresh.sh qemu-armv8a/nsh_smp' to fix the ci error. Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log

[PR] UART needs to be disabled before changing setup [nuttx]

2023-10-06 Thread via GitHub
vermicelli opened a new pull request, #10865: URL: https://github.com/apache/nuttx/pull/10865 ## Summary As specified in STM32G4 series reference manual(RM0440 v7.0) page 1643, PS or PCE bit can only be modified when USART is disabled. ## Impact Disable USART before changing any con

Re: [PR] spinlock: Add spin_lock_init and spin_is_locked macro [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on code in PR #10861: URL: https://github.com/apache/nuttx/pull/10861#discussion_r1348452190 ## include/nuttx/spinlock.h: ## @@ -286,6 +304,7 @@ void spin_unlock_wo_note(FAR volatile spinlock_t *lock); /* bool spin_islocked(FAR spinlock_t lock); */

Re: [PR] max31865:RTD-to-Digital Converter [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on code in PR #10864: URL: https://github.com/apache/nuttx/pull/10864#discussion_r1348456190 ## drivers/sensors/max31865.c: ## @@ -0,0 +1,334 @@ +/ + * drivers/sensors/max31865.

Re: [PR] Implement ticket spinlock [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on code in PR #10605: URL: https://github.com/apache/nuttx/pull/10605#discussion_r1348459819 ## include/nuttx/spinlock.h: ## @@ -84,6 +107,10 @@ typedef uint8_t spinlock_t; # define __SP_UNLOCK_FUNCTION 1 #endif +#ifdef CONFIG_TICKET_SPINLOCK +# d

Re: [PR] Implement ticket spinlock [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on code in PR #10605: URL: https://github.com/apache/nuttx/pull/10605#discussion_r1348459819 ## include/nuttx/spinlock.h: ## @@ -84,6 +107,10 @@ typedef uint8_t spinlock_t; # define __SP_UNLOCK_FUNCTION 1 #endif +#ifdef CONFIG_TICKET_SPINLOCK +# d

Re: [PR] Implement ticket spinlock [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on PR #10605: URL: https://github.com/apache/nuttx/pull/10605#issuecomment-1750260049 The style need fix too: ``` ../nuttx/tools/checkpatch.sh -u -m -g 57bf9d44d2d93619616a4c87ce96b85986f96c65..HEAD Error: /home/runner/work/nuttx/nuttx/nuttx/sched/semaphore

Re: [PR] spinlock: Add spin_lock_init and spin_is_locked macro [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on PR #10861: URL: https://github.com/apache/nuttx/pull/10861#issuecomment-1750261212 @acassis done. -- 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

Re: [PR] lib/memfd: shm_unlink or unlink anonymous file [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on PR #10862: URL: https://github.com/apache/nuttx/pull/10862#issuecomment-1750264366 > @xiaoxiang781216 I read the link, but didn't see any comment about the the shm_unlink or unlink? Is it related with shared memory sealing. Please include more info in the Summar

[PR] testing: Swith up_perf_xxx to perf_xxx [nuttx-apps]

2023-10-06 Thread via GitHub
xiaoxiang781216 opened a new pull request, #2108: URL: https://github.com/apache/nuttx-apps/pull/2108 ## Summary follow up the the kernel change: https://github.com/apache/nuttx/pull/10834 ## Impact no ## Testing ci -- This is an automated message from

Re: [PR] Shm example [nuttx-apps]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #2105: URL: https://github.com/apache/nuttx-apps/pull/2105 -- 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-apps] branch master updated (b88057fff -> 06b4911db)

2023-10-06 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-apps.git from b88057fff examples/foc: support svm3 state with nxscope add 06b4911db add shm example using fs shm No new

Re: [PR] Add basic IEEE-1588 PTP server/client [nuttx-apps]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #2101: URL: https://github.com/apache/nuttx-apps/pull/2101 -- 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-apps] branch master updated (06b4911db -> 5a992d4e1)

2023-10-06 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-apps.git from 06b4911db add shm example using fs shm new c340d735e adjtime: Fix wrong printf format when using CONFIG_S

[nuttx-apps] 01/02: adjtime: Fix wrong printf format when using CONFIG_SYSTEM_TIME64

2023-10-06 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 commit c340d735eca8e6f6ea83cd3db2c9b0723717268e Author: Petteri Aimonen AuthorDate: Thu Sep 28 13:46:19 2023 +0300

[nuttx-apps] 02/02: Add basic IEEE-1588 PTP server/client

2023-10-06 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 commit 5a992d4e1882aa2988966ad5a1f19328376025f9 Author: Petteri Aimonen AuthorDate: Thu Sep 28 13:46:47 2023 +0300

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1348495710 ## sched/semaphore/spinlock.c: ## @@ -384,4 +389,149 @@ void spin_clrbit(FAR volatile cpu_set_t *set, unsigned int cpu, } #endif +#if defined(CONFIG_RW_SPI

Re: [PR] Implement ticket spinlock [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on PR #10605: URL: https://github.com/apache/nuttx/pull/10605#issuecomment-1750561428 > The style need fix too: > > ``` > ../nuttx/tools/checkpatch.sh -u -m -g 57bf9d44d2d93619616a4c87ce96b85986f96c65..HEAD > Error: /home/runner/work/nuttx/nuttx/nuttx/sched/se

Re: [PR] crypto/mbedtls: fix kconfig typo [nuttx-apps]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #2107: URL: https://github.com/apache/nuttx-apps/pull/2107 -- 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-apps] branch master updated: crypto/mbedtls: fix kconfig typo

2023-10-06 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 3177a9be8 crypto/mbedtls: fix kconfig typ

Re: [PR] UART needs to be disabled before changing setup [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #10865: URL: https://github.com/apache/nuttx/pull/10865 -- 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: UART needs to be disabled before changing setup

2023-10-06 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 7248b728bf UART needs to be disabled before ch

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1348687786 ## sched/semaphore/spinlock.c: ## @@ -32,6 +32,11 @@ #include #include +#ifdef CONFIG_RW_SPINLOCK +# include +const static rwlock_t zero = SP_UNLOCKED; Review

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1348707455 ## sched/semaphore/spinlock.c: ## @@ -32,6 +32,11 @@ #include #include +#ifdef CONFIG_RW_SPINLOCK +# include +const static rwlock_t zero = SP_UNLOCKED;

Re: [PR] max31865:RTD-to-Digital Converter [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #10864: URL: https://github.com/apache/nuttx/pull/10864 -- 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: max31865:RTD-to-Digital Converter

2023-10-06 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 aec0271e48 max31865:RTD-to-Digital Converter a

[nuttx] branch releases/12.3 updated: Documentation: add NuttX-12.3.0 release notes

2023-10-06 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch releases/12.3 in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/releases/12.3 by this push: new 1d349a2a32 Documentation: add Nut

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1348747696 ## sched/semaphore/spinlock.c: ## @@ -32,6 +32,11 @@ #include #include +#ifdef CONFIG_RW_SPINLOCK +# include +const static rwlock_t zero = SP_UNLOCKED; Review

[PR] Documentation: add NuttX-12.3.0 release notes [nuttx]

2023-10-06 Thread via GitHub
jerpelea opened a new pull request, #10866: URL: https://github.com/apache/nuttx/pull/10866 ## Summary Add release notes for 12.3.0 release ## Impact RELEASE ## Testing NONE -- This is an automated message from the Apache Git Service. To respond to the message, p

Re: [PR] Documentation: add NuttX-12.3.0 release notes [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #10866: URL: https://github.com/apache/nuttx/pull/10866 -- 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: Documentation: add NuttX-12.3.0 release notes

2023-10-06 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 643b9c1abf Documentation: add NuttX-12.3.0 rel

Re: [PR] Implement ticket spinlock [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 merged PR #10605: URL: https://github.com/apache/nuttx/pull/10605 -- 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: [I] Use fair spinlocks in SMP [nuttx]

2023-10-06 Thread via GitHub
xiaoxiang781216 closed issue #1488: Use fair spinlocks in SMP URL: https://github.com/apache/nuttx/issues/1488 -- 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

[nuttx] branch master updated: Feature: implement ticket spinlock

2023-10-06 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 ffba0d15a5 Feature: implement ticket spinlock

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on PR #10776: URL: https://github.com/apache/nuttx/pull/10776#issuecomment-1751203089 @xiaoxiang781216 Sorry, I have two questions. First, In current spin_lock_irqsave() and spin_lock_irqrestore(), it need to support global spinlock(g_irq_spin)? Linux kernel se

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1349168967 ## include/nuttx/spinlock.h: ## @@ -449,4 +453,98 @@ void spin_unlock_irqrestore_wo_note(FAR spinlock_t *lock, irqstate_t flags); # define spin_unlock_irqrestore_wo_

[PR] format: modify spin_lock_irqsave format [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu opened a new pull request, #10867: URL: https://github.com/apache/nuttx/pull/10867 spin_lock_irqsave() should be spin_lock_irqsave(NULL) ## Summary ## Impact None ## Testing CI -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] rw spinlock prototype [nuttx]

2023-10-06 Thread via GitHub
TaiJuWu commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1348747696 ## sched/semaphore/spinlock.c: ## @@ -32,6 +32,11 @@ #include #include +#ifdef CONFIG_RW_SPINLOCK +# include +const static rwlock_t zero = SP_UNLOCKED; Review

Re: [PR] format: modify spin_lock_irqsave format [nuttx]

2023-10-06 Thread via GitHub
acassis commented on PR #10867: URL: https://github.com/apache/nuttx/pull/10867#issuecomment-1751512733 Thanks @TaiJuWu -- 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

Re: [PR] format: modify spin_lock_irqsave format [nuttx]

2023-10-06 Thread via GitHub
acassis merged PR #10867: URL: https://github.com/apache/nuttx/pull/10867 -- 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: format: modify spin_lock_irqsave format

2023-10-06 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 1b843633e6 format: modify spin_lock_irqsave form

Re: [PR] lib/memfd: shm_unlink or unlink anonymous file [nuttx]

2023-10-06 Thread via GitHub
acassis merged PR #10862: URL: https://github.com/apache/nuttx/pull/10862 -- 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] spinlock: Add spin_lock_init and spin_is_locked macro [nuttx]

2023-10-06 Thread via GitHub
acassis merged PR #10861: URL: https://github.com/apache/nuttx/pull/10861 -- 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: lib/memfd: shm_unlink or unlink anonymous file

2023-10-06 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 aa0b3fcdf9 lib/memfd: shm_unlink or unlink anony

[nuttx] branch master updated (aa0b3fcdf9 -> c775ee1002)

2023-10-06 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 aa0b3fcdf9 lib/memfd: shm_unlink or unlink anonymous file new dfa0283d83 spinlock: Rename spin_islocked to spin_i

[nuttx] 02/02: spinlock: Add spin_lock_init macro like Linux

2023-10-06 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 c775ee1002497a4a5f51da0051b774fdddc0b859 Author: Xiang Xiao AuthorDate: Wed Oct 4 23:39:56 2023 +0800 spinlock: Add

[nuttx] 01/02: spinlock: Rename spin_islocked to spin_is_locked

2023-10-06 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 dfa0283d8316bb3796a9a2447638b98fd6bc639e Author: Xiang Xiao AuthorDate: Fri Oct 6 13:58:58 2023 +0800 spinlock: Ren

Re: [PR] CEVA: add ceva platform xc5 xm6 support [nuttx]

2023-10-06 Thread via GitHub
acassis commented on PR #5165: URL: https://github.com/apache/nuttx/pull/5165#issuecomment-1751516296 @GUIDINGLI I just noticed that this CEVA arch still missing some board inclusion to use it and catch some issues that could be introduced into it. Please consider adding some (low cost) boa

[nuttx-website] branch asf-site updated: Publishing web: 07abea83aab63736f2895f109c448ae631509f46 docs: c775ee1002497a4a5f51da0051b774fdddc0b859

2023-10-06 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 593f2ab5 Publishing web: 07abea83

[PR] sys/types: supporting 32-bit IDs for gid_t/uid_t [nuttx]

2023-10-06 Thread via GitHub
anchao opened a new pull request, #10869: URL: https://github.com/apache/nuttx/pull/10869 ## Summary sys/types: supporting 32-bit IDs for gid_t/uid_t ## Impact N/A ## Testing ci-check -- This is an automated message from the Apache Git Service. To respond

Re: [PR] sys/types: supporting 32-bit IDs for gid_t/uid_t [nuttx]

2023-10-06 Thread via GitHub
pkarashchenko commented on code in PR #10869: URL: https://github.com/apache/nuttx/pull/10869#discussion_r1349474468 ## include/sys/types.h: ## @@ -133,8 +133,8 @@ typedef _size_t rsize_t; * gid_t is used for group IDs. */ -typedef int16_t uid_t; -typedef int16_t

Re: [PR] sys/types: supporting 32-bit IDs for gid_t/uid_t [nuttx]

2023-10-06 Thread via GitHub
anchao commented on code in PR #10869: URL: https://github.com/apache/nuttx/pull/10869#discussion_r1349475963 ## include/sys/types.h: ## @@ -133,8 +133,8 @@ typedef _size_t rsize_t; * gid_t is used for group IDs. */ -typedef int16_t uid_t; -typedef int16_t g