[GitHub] [incubator-nuttx] michi-jung opened a new pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
michi-jung opened a new pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470 ## Summary This is my current state of work on getting NuttX to run on STM32U5. I am especially interested in the TrustZone support of ARMV8-M. The 'nsh' configuration of the b-u585i

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
no1wudi commented on a change in pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470#discussion_r805138110 ## File path: arch/arm/src/stm32u5/Make.defs ## @@ -0,0 +1,106 @@ +##

[GitHub] [incubator-nuttx] michi-jung commented on a change in pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
michi-jung commented on a change in pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470#discussion_r805140534 ## File path: arch/arm/src/stm32u5/Make.defs ## @@ -0,0 +1,106 @@ +

[GitHub] [incubator-nuttx] michallenc opened a new pull request #5471: SAMv7: Added support for PWM driver

2022-02-12 Thread GitBox
michallenc opened a new pull request #5471: URL: https://github.com/apache/incubator-nuttx/pull/5471 ## Summary The first commit adds initial support for PWM driver to SAM MCU series. Only general PWM on PWMH output is currently supported, complementary output on PWML is not allowed. Th

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #5468: arch: Add xxx_tcbinfo.c to SoC level Make.defs

2022-02-12 Thread GitBox
masayuki2009 merged pull request #5468: URL: https://github.com/apache/incubator-nuttx/pull/5468 -- 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: c

[incubator-nuttx] branch master updated (271518a -> 95b0c85)

2022-02-12 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 271518a sim: detect clang native compiler on MacOS. add 95b0c85 arch: Add xxx_tcbinfo.c to SoC leve

[GitHub] [incubator-nuttx] zouboan opened a new pull request #5472: libdsp:add the calculate of duty now

2022-02-12 Thread GitBox
zouboan opened a new pull request #5472: URL: https://github.com/apache/incubator-nuttx/pull/5472 ## Summary Add duty_now in struct foc_data_f32_s and calculate it on foc_voltage_control for sensorless observer ## Impact Has no impact to other foc calculation ## Testing Teste

[GitHub] [incubator-nuttx] zouboan commented on pull request #5472: libdsp:add the calculate of duty now

2022-02-12 Thread GitBox
zouboan commented on pull request #5472: URL: https://github.com/apache/incubator-nuttx/pull/5472#issuecomment-1037268034 > Hi, I don't think it's a good place for this type of logic. The sensorless observer logic is completely optional and depends on application type. We should avoid the

[GitHub] [incubator-nuttx] raiden00pl commented on pull request #5472: libdsp:add the calculate of duty now

2022-02-12 Thread GitBox
raiden00pl commented on pull request #5472: URL: https://github.com/apache/incubator-nuttx/pull/5472#issuecomment-1037372954 There is nothing wrong with park_transform in other places. That's why it's available in dsp.h/dspb16.h. `v_dq_mod` is still application specific data which can be

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5471: SAMv7: Added support for PWM driver

2022-02-12 Thread GitBox
xiaoxiang781216 merged pull request #5471: URL: https://github.com/apache/incubator-nuttx/pull/5471 -- 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

[incubator-nuttx] branch master updated (95b0c85 -> 4236fa9)

2022-02-12 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/incubator-nuttx.git. from 95b0c85 arch: Add xxx_tcbinfo.c to SoC level Make.defs add 56b3fc0 arch/arm/src/samv7: added suppo

[incubator-nuttx] branch master updated (4236fa9 -> 774994b)

2022-02-12 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/incubator-nuttx.git. from 4236fa9 boards/arm/samv7/same70-xplained: added PWM support add 774994b net/tcp: support for FIN+A

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5469: net/tcp: support for FIN+ACK case in tcp send event handlers

2022-02-12 Thread GitBox
xiaoxiang781216 merged pull request #5469: URL: https://github.com/apache/incubator-nuttx/pull/5469 -- 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

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5459: mm/mm_heap: add mm_foreach to run handler for every memory node

2022-02-12 Thread GitBox
xiaoxiang781216 merged pull request #5459: URL: https://github.com/apache/incubator-nuttx/pull/5459 -- 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

[incubator-nuttx] branch master updated (774994b -> 12b256f)

2022-02-12 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/incubator-nuttx.git. from 774994b net/tcp: support for FIN+ACK case in tcp send event handlers add eba0323 mm/mm_heap: add m

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5171: semphore: release all semphores' holder that the task held when exit

2022-02-12 Thread GitBox
xiaoxiang781216 merged pull request #5171: URL: https://github.com/apache/incubator-nuttx/pull/5171 -- 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

[incubator-nuttx] branch master updated (12b256f -> fc4ab4f)

2022-02-12 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/incubator-nuttx.git. from 12b256f mm/mm_mallinfo: using mm_foreach to do mm_mallinfo add 5bf7c18 semphore: release all semph

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5473: arch/sim: Always typedef xcpt_reg_t to unsigned long

2022-02-12 Thread GitBox
xiaoxiang781216 opened a new pull request #5473: URL: https://github.com/apache/incubator-nuttx/pull/5473 ## Summary to simplify the code logic. See discussion here: https://github.com/apache/incubator-nuttx/pull/5382 ## Impact No, code refactor ## Testing sim:smp and

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5401: sim: initial support sim:nsh on MacOS M1 based hosts.

2022-02-12 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r805203341 ## File path: arch/sim/include/setjmp.h ## @@ -111,7 +145,8 @@ #ifndef __ASSEMBLY__ -#if defined(CONFIG_HOST_X86_64) && !defined(CONF

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5401: sim: initial support sim:nsh on MacOS M1 based hosts.

2022-02-12 Thread GitBox
xiaoxiang781216 commented on pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#issuecomment-1037471467 @ptka it's better that you could fix the stack alignment issue first. -- This is an automated message from the Apache Git Service. To respond to the message, p

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5401: sim: initial support sim:nsh on MacOS M1 based hosts.

2022-02-12 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r805203449 ## File path: arch/sim/src/sim/up_copyfullstate.c ## @@ -41,7 +41,8 @@ * *

[GitHub] [incubator-nuttx] ptka commented on a change in pull request #5401: sim: initial support sim:nsh on MacOS M1 based hosts.

2022-02-12 Thread GitBox
ptka commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r805203870 ## File path: arch/sim/include/setjmp.h ## @@ -111,7 +145,8 @@ #ifndef __ASSEMBLY__ -#if defined(CONFIG_HOST_X86_64) && !defined(CONFIG_SIM_M32)

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
xiaoxiang781216 commented on pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470#issuecomment-1037475506 @michi-jung I am interesting that have you run NuttX on the secure side? -- This is an automated message from the Apache Git Service. To respond to the message

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5474: libc: posix_openpty should use the absolute path("dev/ptmx")

2022-02-12 Thread GitBox
xiaoxiang781216 opened a new pull request #5474: URL: https://github.com/apache/incubator-nuttx/pull/5474 ## Summary Simple change ## Impact Minor ## Testing local test -- This is an automated message from the Apache Git Service. To respond to the message, pleas

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5475: drivers/pipe: Don't use shced_[lock|unlock] to do protection

2022-02-12 Thread GitBox
xiaoxiang781216 opened a new pull request #5475: URL: https://github.com/apache/incubator-nuttx/pull/5475 ## Summary since the sched lock can't work in SMP context ## Impact SMP ## Testing adb shell -- This is an automated message from the Apache Git Service. To

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5476: boards: Remove -fno-builtin

2022-02-12 Thread GitBox
xiaoxiang781216 opened a new pull request #5476: URL: https://github.com/apache/incubator-nuttx/pull/5476 ## Summary it's more efficient to generate the machine code directly if possible ## Impact ## Testing -- This is an automated message from the Apache Git Serv

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5477: arm/armv8-m: Handle the special irq correctly in up_secure_irq

2022-02-12 Thread GitBox
xiaoxiang781216 opened a new pull request #5477: URL: https://github.com/apache/incubator-nuttx/pull/5477 ## Summary ## Impact Call up_secure_irq witch the special irq ## Testing local config -- This is an automated message from the Apache Git Service. To respond t

[incubator-nuttx-website] branch asf-site updated: Publishing web: 1b39f27b512cbb1fc294b70e0e70a67d0092b98d docs: fc4ab4fd946ab37d0ad999be8ce7c162090f8c0c

2022-02-12 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/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 247dd1b Publishing web

[GitHub] [incubator-nuttx] ptka commented on a change in pull request #5401: sim: initial support sim:nsh on MacOS M1 based hosts.

2022-02-12 Thread GitBox
ptka commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r802166818 ## File path: libs/libc/machine/sim/arch_setjmp_arm64.S ## @@ -0,0 +1,92 @@ +/***

[GitHub] [incubator-nuttx] ptka commented on a change in pull request #5401: sim: initial support sim:nsh on MacOS M1 based hosts.

2022-02-12 Thread GitBox
ptka commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r802166818 ## File path: libs/libc/machine/sim/arch_setjmp_arm64.S ## @@ -0,0 +1,92 @@ +/***

[GitHub] [incubator-nuttx] zouboan commented on pull request #5472: libdsp:add the calculate of duty now

2022-02-12 Thread GitBox
zouboan commented on pull request #5472: URL: https://github.com/apache/incubator-nuttx/pull/5472#issuecomment-1037704840 Got it, I will improve design -- 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

[GitHub] [incubator-nuttx] zouboan closed pull request #5472: libdsp:add the calculate of duty now

2022-02-12 Thread GitBox
zouboan closed pull request #5472: URL: https://github.com/apache/incubator-nuttx/pull/5472 -- 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: commit

[GitHub] [incubator-nuttx] no1wudi opened a new pull request #5478: risc-v: Use _ebss instead of _default_stack_limit as idle stack base

2022-02-12 Thread GitBox
no1wudi opened a new pull request #5478: URL: https://github.com/apache/incubator-nuttx/pull/5478 ## Summary Unify the implementation to reduce extra symbol usage. ## Impact Refactor only ## Testing CI and K210 -- This is an automated message from the Apache Git Service

[GitHub] [incubator-nuttx] zouboan opened a new pull request #5479: lib_observer: add nolinear fluxlink observer

2022-02-12 Thread GitBox
zouboan opened a new pull request #5479: URL: https://github.com/apache/incubator-nuttx/pull/5479 ## Summary add nolinear fluxlink observer for sensorless foc ## Impact More choices for sensorless observer, and by testing, the performance of nolinear fluxlink observer is better tha

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5478: risc-v: Use _ebss instead of _default_stack_limit as idle stack base

2022-02-12 Thread GitBox
xiaoxiang781216 merged pull request #5478: URL: https://github.com/apache/incubator-nuttx/pull/5478 -- 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

[incubator-nuttx] branch master updated: risc-v: Use _ebss instead of _default_stack_limit as idle stack base

2022-02-12 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/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 64130b4 risc-v: Use _ebss instead o

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request #1000: Fix error: 'strncpy' specified bound 16 equals destination size

2022-02-12 Thread GitBox
xiaoxiang781216 opened a new pull request #1000: URL: https://github.com/apache/incubator-nuttx-apps/pull/1000 ## Summary Minor change ## Impact No ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [incubator-nuttx] michi-jung commented on pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
michi-jung commented on pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470#issuecomment-1037873160 @xiaoxiang781216 Thanks for the approval. I have TrustedFirmware-M running on the secure side and NuttX on the non-secure side. If you are interested in more detai

[GitHub] [incubator-nuttx] michi-jung edited a comment on pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
michi-jung edited a comment on pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470#issuecomment-1037873160 @xiaoxiang781216 Thanks for the approval. I have TrustedFirmware-M running on the secure side and NuttX on the non-secure side. If you are interested in mor

[GitHub] [incubator-nuttx] michi-jung edited a comment on pull request #5470: STM32U5 Architecture Support

2022-02-12 Thread GitBox
michi-jung edited a comment on pull request #5470: URL: https://github.com/apache/incubator-nuttx/pull/5470#issuecomment-1037873160 @xiaoxiang781216 Thanks for the approval. I have TrustedFirmware-M running on the secure side and NuttX on the non-secure side. If you are interested in mor