[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5506: arch/armv7-a/r: unify switch context from software interrupt

2022-02-15 Thread GitBox
masayuki2009 commented on pull request #5506: URL: https://github.com/apache/incubator-nuttx/pull/5506#issuecomment-1041201987 @anchao I tried this PR with sabre-6quad:netnsh_smp (QEMU) and sabre-6quad:smp (Dev board) and confirmed both works. However, sabre-6quad:netknsh (QEMU) whic

[incubator-nuttx] branch master updated (5f67662 -> 1d89d9a)

2022-02-15 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 5f67662 libc/sim: Rename arch_setjmp[64].S to arch_setjmp_x86[_64].S add 1d89d9a libc.csv: Add pth

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5509: libc.csv: Add pthread_setname_np and pthread_getname_np

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5509: URL: https://github.com/apache/incubator-nuttx/pull/5509 -- 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] no1wudi commented on a change in pull request #5498: sched: Implement task local storage

2022-02-15 Thread GitBox
no1wudi commented on a change in pull request #5498: URL: https://github.com/apache/incubator-nuttx/pull/5498#discussion_r807604891 ## File path: sched/task/task_tls_alloc.c ## @@ -0,0 +1,113 @@ +/ + *

[GitHub] [incubator-nuttx] no1wudi opened a new pull request #5510: vncserver: Fix dead lock on re-connect

2022-02-15 Thread GitBox
no1wudi opened a new pull request #5510: URL: https://github.com/apache/incubator-nuttx/pull/5510 ## Summary `vnc_remove_queue` would waiting for new frame update request forever even if the connection is lost, the updater thread wouldn't exit. But the server thread will join update

[GitHub] [incubator-nuttx] yamt commented on pull request #5486: sim: Fix a build with clang on linux

2022-02-15 Thread GitBox
yamt commented on pull request #5486: URL: https://github.com/apache/incubator-nuttx/pull/5486#issuecomment-1041131247 @xiaoxiang781216 i changed it as you prefer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the U

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5496: Remove duplicate linker script definitions

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5496: URL: https://github.com/apache/incubator-nuttx/pull/5496#discussion_r807529757 ## File path: arch/common/src/Makefile ## @@ -0,0 +1,27 @@ + +

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5496: Remove duplicate linker script definitions

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5496: URL: https://github.com/apache/incubator-nuttx/pull/5496#discussion_r807529757 ## File path: arch/common/src/Makefile ## @@ -0,0 +1,27 @@ + +

[GitHub] [incubator-nuttx] yamt commented on pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
yamt commented on pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507#issuecomment-1041094156 > > i tested this. sim:ostest on macOS (intel) just crashed immediately. EXC_I386_GPFLT in printf, a common symptom of misaligned stack. > > you test on x86, not x64

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507#issuecomment-1041093008 > i tested this. sim:ostest on macOS (intel) just crashed immediately. EXC_I386_GPFLT in printf, a common symptom of misaligned stack. you test on x86, no

[incubator-nuttx] branch master updated (5f50547 -> 5f67662)

2022-02-15 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 5f50547 libdsp: cosmetics changes from code review add 5f67662 libc/sim: Rename arch_setjmp[64].S

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5508: libc/sim: Rename arch_setjmp[64].S to arch_setjmp_x86[_64].S

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5508: URL: https://github.com/apache/incubator-nuttx/pull/5508 -- 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] yamt opened a new pull request #5509: libc.csv: Add pthread_setname_np and pthread_getname_np

2022-02-15 Thread GitBox
yamt opened a new pull request #5509: URL: https://github.com/apache/incubator-nuttx/pull/5509 ## Summary a followup fix for https://github.com/apache/incubator-nuttx/pull/5417 ## Impact ## Testing -- This is an automated message from the Apache Git Service. To respon

[GitHub] [incubator-nuttx] anchao commented on pull request #5506: arch/armv7-a/r: unify switch context from software interrupt

2022-02-15 Thread GitBox
anchao commented on pull request #5506: URL: https://github.com/apache/incubator-nuttx/pull/5506#issuecomment-1041045520 > @anchao Let me confirm the intention of this PR. I know that Cortex-M uses a software interrupt-based context switch. So, are you going to apply the same approach to a

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #5503: sched/clock: Remove CLOCK_MONOTONIC option from Kconfig

2022-02-15 Thread GitBox
xiaoxiang781216 edited a comment on pull request #5503: URL: https://github.com/apache/incubator-nuttx/pull/5503#issuecomment-1040337193 > Same question I raised at nuttx-apps: @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the

[GitHub] [incubator-nuttx] zhuyanlinzyl commented on pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
zhuyanlinzyl commented on pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#issuecomment-1041040646 @Ouss4 : but ESP32 chip only have two swi interrupt: ``` #define ESP32_CPUINT_SOFTWARE0 7 #define ESP32_CPUINT_SOFTWARE1 29 ``` only `E

[GitHub] [incubator-nuttx] yamt edited a comment on pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
yamt edited a comment on pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507#issuecomment-1040928306 i tested this. sim:ostest on macOS (intel) just crashed immediately. EXC_I386_GPFLT in printf, a common symptom of misaligned stack. -- This is an automated

[GitHub] [incubator-nuttx] yamt commented on pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
yamt commented on pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507#issuecomment-1040928306 i tested this. sim:ostest on macOS just crashed immediately. EXC_I386_GPFLT in printf, a common symptom of misaligned stack. -- This is an automated message from th

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

2022-02-15 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 b606cfa 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-15 Thread GitBox
ptka commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r807420665 ## File path: arch/sim/src/sim/up_initialstate.c ## @@ -84,10 +97,10 @@ void up_initial_state(struct tcb_s *tcb) * the return address. */ -

[GitHub] [incubator-nuttx] ptka edited a comment on pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
ptka edited a comment on pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507#issuecomment-1040920309 I tested this change together with https://github.com/apache/incubator-nuttx/pull/5401 on MacBook Air M1 2020 running Monterey 12.2.1. Executed test: sim:nsh with a

[GitHub] [incubator-nuttx] ptka commented on pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
ptka commented on pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507#issuecomment-1040920309 I tested this change together with https://github.com/apache/incubator-nuttx/pull/5401 on MacBook Air M1 2020 running Monterey 12.2.1. Executed test: sim:nsh with addition

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5506: arch/armv7-a/r: unify switch context from software interrupt

2022-02-15 Thread GitBox
masayuki2009 commented on pull request #5506: URL: https://github.com/apache/incubator-nuttx/pull/5506#issuecomment-1040891612 ``` Configuration/Tool: sama5d2-xult/nsh,CONFIG_ARMV7M_TOOLCHAIN_GNU_EABI

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5506: arch/armv7-a/r: unify switch context from software interrupt

2022-02-15 Thread GitBox
masayuki2009 commented on pull request #5506: URL: https://github.com/apache/incubator-nuttx/pull/5506#issuecomment-1040884808 @anchao Let me confirm the intention of this PR. I know that Cortex-M uses a software interrupt-based context switch. So, are you going to apply the same a

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5508: libc/sim: Rename arch_setjmp[64].S to arch_setjmp_x86[_64].S

2022-02-15 Thread GitBox
xiaoxiang781216 opened a new pull request #5508: URL: https://github.com/apache/incubator-nuttx/pull/5508 Signed-off-by: Xiang Xiao ## Summary to follow other arch/x86 arch/x86_64 convention: https://github.com/apache/incubator-nuttx/pull/5188 ## Impact Refactor o

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

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5401: URL: https://github.com/apache/incubator-nuttx/pull/5401#discussion_r807272886 ## File path: arch/sim/src/sim/up_initialstate.c ## @@ -84,10 +97,10 @@ void up_initial_state(struct tcb_s *tcb) * the return address.

[incubator-nuttx] branch master updated (fd8b087 -> 5f50547)

2022-02-15 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 fd8b087 Fix JLinkGDBServer crash attaching to target add 26f1be2 libdsp/lib_observer.c: separate a

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5483: libdsp: improvements for lib_observer.c

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5483: URL: https://github.com/apache/incubator-nuttx/pull/5483#issuecomment-1040693268 > LGTM! > > But seems that CI fails because of some Beta feature "Unchanged files with check annotations" This is because this patch doesn't rebase

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5483: libdsp: improvements for lib_observer.c

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5483: URL: https://github.com/apache/incubator-nuttx/pull/5483 -- 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 opened a new pull request #5507: arch: Handle the stack alignment correctly

2022-02-15 Thread GitBox
xiaoxiang781216 opened a new pull request #5507: URL: https://github.com/apache/incubator-nuttx/pull/5507 ## Summary since the stack alignment handle correctly on sim now, we can remove the hack from sim's up_initial_state. ## Impact Fix the stack alignment on arm, lm32, minerv

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5503: sched/clock: Remove CLOCK_MONOTONIC option from Kconfig

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5503: URL: https://github.com/apache/incubator-nuttx/pull/5503#issuecomment-1040337193 > Same question I raised at nuttx-apps: @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the time/d

[GitHub] [incubator-nuttx] acassis commented on a change in pull request #5498: sched: Implement task local storage

2022-02-15 Thread GitBox
acassis commented on a change in pull request #5498: URL: https://github.com/apache/incubator-nuttx/pull/5498#discussion_r806862494 ## File path: sched/task/task_tls_alloc.c ## @@ -0,0 +1,113 @@ +/ + *

[GitHub] [incubator-nuttx] michi-jung commented on a change in pull request #5505: Fix JLinkGDBServer crash attaching to target

2022-02-15 Thread GitBox
michi-jung commented on a change in pull request #5505: URL: https://github.com/apache/incubator-nuttx/pull/5505#discussion_r806862156 ## File path: tools/jlink-nuttx.c ## @@ -424,6 +449,11 @@ struct symbols_s *RTOS_GetSymbols(void) uint32_t RTOS_GetNumThreads(void) { + if

[GitHub] [incubator-nuttx-apps] acassis commented on pull request #1005: Remove CONFIG_CLOCK_MONOTONIC special code

2022-02-15 Thread GitBox
acassis commented on pull request #1005: URL: https://github.com/apache/incubator-nuttx-apps/pull/1005#issuecomment-1040326632 @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the time/date and CLOCK_MONOTONIC is not. Isn't goin

[GitHub] [incubator-nuttx-apps] hartmannathan commented on pull request #1005: Remove CONFIG_CLOCK_MONOTONIC special code

2022-02-15 Thread GitBox
hartmannathan commented on pull request #1005: URL: https://github.com/apache/incubator-nuttx-apps/pull/1005#issuecomment-1040526737 > @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the time/date and CLOCK_MONOTONIC is not. Is

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5503: sched/clock: Remove CLOCK_MONOTONIC option from Kconfig

2022-02-15 Thread GitBox
pkarashchenko commented on pull request #5503: URL: https://github.com/apache/incubator-nuttx/pull/5503#issuecomment-1040370659 I didn't have time to take a look to this change today. I will review it and provide feedback asap -- This is an automated message from the Apache Git Service.

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #5503: sched/clock: Remove CLOCK_MONOTONIC option from Kconfig

2022-02-15 Thread GitBox
xiaoxiang781216 edited a comment on pull request #5503: URL: https://github.com/apache/incubator-nuttx/pull/5503#issuecomment-1040337193 -- 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 specif

[GitHub] [incubator-nuttx] acassis commented on pull request #5475: drivers/pipe: Don't use shced_[lock|unlock] to do protection

2022-02-15 Thread GitBox
acassis commented on pull request #5475: URL: https://github.com/apache/incubator-nuttx/pull/5475#issuecomment-1040315890 @xiaoxiang781216 please fix the commit text: Don't use shced_[lock|unlock] to do protection -> Don't use sched_[lock|unlock] to do protection -- This is an automat

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5505: Fix JLinkGDBServer crash attaching to target

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5505: URL: https://github.com/apache/incubator-nuttx/pull/5505#discussion_r806858785 ## File path: tools/jlink-nuttx.c ## @@ -424,6 +449,11 @@ struct symbols_s *RTOS_GetSymbols(void) uint32_t RTOS_GetNumThreads(void) { +

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5505: Fix JLinkGDBServer crash attaching to target

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5505: URL: https://github.com/apache/incubator-nuttx/pull/5505 -- 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] acassis commented on pull request #5503: sched/clock: Remove CLOCK_MONOTONIC option from Kconfig

2022-02-15 Thread GitBox
acassis commented on pull request #5503: URL: https://github.com/apache/incubator-nuttx/pull/5503#issuecomment-1040327353 Same question I raised at nuttx-apps: @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the time/date and

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5500: Remove -D__NuttX__ from Makefile

2022-02-15 Thread GitBox
pkarashchenko merged pull request #5500: URL: https://github.com/apache/incubator-nuttx/pull/5500 -- 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] masayuki2009 commented on a change in pull request #5485: boards: sabre-6quad: Add -fno-common to Make.defs

2022-02-15 Thread GitBox
masayuki2009 commented on a change in pull request #5485: URL: https://github.com/apache/incubator-nuttx/pull/5485#discussion_r806327482 ## File path: arch/arm/src/rtl8720c/Toolchain.defs ## @@ -50,8 +50,8 @@ ifneq ($(CONFIG_ARMV8M_STACKCHECK),y) endif endif -ARCHCFLAGS = -

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5475: drivers/pipe: Don't use sched_[lock|unlock] to do protection

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5475: URL: https://github.com/apache/incubator-nuttx/pull/5475#issuecomment-1040341915 > @xiaoxiang781216 please fix the commit text: Don't use shced_[lock|unlock] to do protection -> Don't use sched_[lock|unlock] to do protection @acassis,

[GitHub] [incubator-nuttx] hartmannathan commented on pull request #5503: sched/clock: Remove CLOCK_MONOTONIC option from Kconfig

2022-02-15 Thread GitBox
hartmannathan commented on pull request #5503: URL: https://github.com/apache/incubator-nuttx/pull/5503#issuecomment-1040528269 > > Same question I raised at nuttx-apps: @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the time/d

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
pkarashchenko merged pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495 -- 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] Ouss4 commented on a change in pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
Ouss4 commented on a change in pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#discussion_r806687930 ## File path: arch/xtensa/include/syscall.h ## @@ -29,10 +29,34 @@ * Included Files

[GitHub] [incubator-nuttx] zhuyanlinzyl commented on pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
zhuyanlinzyl commented on pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#issuecomment-1039995268 -- 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

[GitHub] [incubator-nuttx] AlanRosenthal commented on a change in pull request #5375: Generate $(SCRIPTOUT) during the build phase

2022-02-15 Thread GitBox
AlanRosenthal commented on a change in pull request #5375: URL: https://github.com/apache/incubator-nuttx/pull/5375#discussion_r806261705 ## File path: boards/arm/samv7/common/scripts/flat.memory ## @@ -22,10 +22,6 @@ include $(TOPDIR)/.config include $(TOPDIR)/tools/Config.mk

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #5490: risc-v: Let g_cpu_basestack determined at compile time

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

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5490: risc-v: Let g_cpu_basestack determined at compile time

2022-02-15 Thread GitBox
masayuki2009 commented on pull request #5490: URL: https://github.com/apache/incubator-nuttx/pull/5490#issuecomment-1039662198 > @masayuki2009 could you try the new approach? @no1wudi @xiaoxiang781216 Thanks, the new approach works. -- This is an automated message from the

[GitHub] [incubator-nuttx-apps] pkarashchenko merged pull request #1000: Fix error: 'strncpy' specified bound 16 equals destination size

2022-02-15 Thread GitBox
pkarashchenko merged pull request #1000: URL: https://github.com/apache/incubator-nuttx-apps/pull/1000 -- 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-m

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5498: sched: Implement task local storage

2022-02-15 Thread GitBox
no1wudi commented on a change in pull request #5498: URL: https://github.com/apache/incubator-nuttx/pull/5498#discussion_r806781547 ## File path: libs/libc/tls/Kconfig ## @@ -54,4 +54,14 @@ config TLS_NELEM NOTE that the special value of CONFIG_TLS_NELEM disable

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#discussion_r806175553 ## File path: tools/jlink-nuttx.c ## @@ -72,7 +72,7 @@ enum symbol_e NSYMBOLS }; -__attribute__ ((packed)) struct tcbinfo_s +struct __

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5500: Remove -D__NuttX__ from Makefile

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5500: URL: https://github.com/apache/incubator-nuttx/pull/5500#issuecomment-1040253066 > @xiaoxiang781216 please take a look at the conflict. Done. -- This is an automated message from the Apache Git Service. To respond to the message, ple

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5347: register_driver: fix driver modes accross the code

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5347: URL: https://github.com/apache/incubator-nuttx/pull/5347#discussion_r806208692 ## File path: arch/arm/src/cxd56xx/cxd56_sph.c ## @@ -240,7 +240,7 @@ static inline int cxd56_sphdevinit(FAR const char *devname, int num)

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#issuecomment-1040168590 I fine with either if both side is sync. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and us

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #4995: mtd/filemtd: improve write and erase access

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #4995: URL: https://github.com/apache/incubator-nuttx/pull/4995 -- 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] pkarashchenko merged pull request #5492: stm32h7:Fix build for all config {R|T}XDMA states

2022-02-15 Thread GitBox
pkarashchenko merged pull request #5492: URL: https://github.com/apache/incubator-nuttx/pull/5492 -- 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 #5497: drivers: wireless: Fix gs2200m_ioctl_accept()

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5497: URL: https://github.com/apache/incubator-nuttx/pull/5497 -- 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] zhuyanlinzyl commented on a change in pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
zhuyanlinzyl commented on a change in pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#discussion_r806730263 ## File path: arch/xtensa/include/syscall.h ## @@ -29,10 +29,34 @@ * Included Files *

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#discussion_r806395702 ## File path: tools/jlink-nuttx.c ## @@ -72,7 +72,7 @@ enum symbol_e NSYMBOLS }; -__attribute__ ((packed)) struct tcbinfo_s +struct

[GitHub] [incubator-nuttx] raiden00pl commented on pull request #5483: libdsp: improvements for lib_observer.c

2022-02-15 Thread GitBox
raiden00pl commented on pull request #5483: URL: https://github.com/apache/incubator-nuttx/pull/5483#issuecomment-1039260056 -- 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.

[GitHub] [incubator-nuttx] yamt commented on pull request #5476: boards: Remove -fno-builtin

2022-02-15 Thread GitBox
yamt commented on pull request #5476: URL: https://github.com/apache/incubator-nuttx/pull/5476#issuecomment-1039809571 -- 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 un

[GitHub] [incubator-nuttx] yamt commented on a change in pull request #5382: Run sim:ostest on the CI

2022-02-15 Thread GitBox
yamt commented on a change in pull request #5382: URL: https://github.com/apache/incubator-nuttx/pull/5382#discussion_r806330264 ## File path: tools/ci/testlist/sim-02.dat ## @@ -1,5 +1,8 @@ /sim/*/*/*/[o-z]* +# heavy test, moved to a separate set +-sim:ostest Review commen

[GitHub] [incubator-nuttx] Ouss4 edited a comment on pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
Ouss4 edited a comment on pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#issuecomment-1040222128 Note that enabling a CPU interrupt must be done from the specific CPU. We cannot enable CPU1's interrupts from CPU0. In this case then, I believe we need: 1.

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5485: boards: sabre-6quad: Add -fno-common to Make.defs

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5485: URL: https://github.com/apache/incubator-nuttx/pull/5485#discussion_r806135123 ## File path: arch/arm/src/rtl8720c/Toolchain.defs ## @@ -50,8 +50,8 @@ ifneq ($(CONFIG_ARMV8M_STACKCHECK),y) endif endif -ARCHCFLAGS =

[GitHub] [incubator-nuttx] davids5 commented on pull request #5493: stm32h7:Flash fixes from 328374f4658d11655f268f968f4c6c7a3942f320

2022-02-15 Thread GitBox
davids5 commented on pull request #5493: URL: https://github.com/apache/incubator-nuttx/pull/5493#issuecomment-1039317266 @acassis - please merge -- 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

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5382: Run sim:ostest on the CI

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5382: URL: https://github.com/apache/incubator-nuttx/pull/5382#discussion_r806410039 ## File path: tools/ci/testlist/sim-02.dat ## @@ -1,5 +1,8 @@ /sim/*/*/*/[o-z]* +# heavy test, moved to a separate set +-sim:ostest Re

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5485: boards: sabre-6quad: Add -fno-common to Make.defs

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5485: URL: https://github.com/apache/incubator-nuttx/pull/5485#issuecomment-1039826690 -- 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 comm

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5502: arch: armv7-a: Add debug messages for addrenv

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5502: URL: https://github.com/apache/incubator-nuttx/pull/5502 -- 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] pkarashchenko commented on a change in pull request #5375: Generate $(SCRIPTOUT) during the build phase

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5375: URL: https://github.com/apache/incubator-nuttx/pull/5375#discussion_r806215491 ## File path: boards/arm/samv7/common/scripts/flat.memory ## @@ -22,10 +22,6 @@ include $(TOPDIR)/.config include $(TOPDIR)/tools/Config.mk

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #5500: Remove -D__NuttX__ from Makefile

2022-02-15 Thread GitBox
Ouss4 commented on pull request #5500: URL: https://github.com/apache/incubator-nuttx/pull/5500#issuecomment-1040230136 @xiaoxiang781216 please take a look at the conflict. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5504: mm: handle take mm sem in IRQ

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5504: URL: https://github.com/apache/incubator-nuttx/pull/5504#discussion_r806748839 ## File path: mm/mm_heap/mm_sem.c ## @@ -104,9 +104,23 @@ bool mm_takesemaphore(FAR struct mm_heap_s *heap) #if defined(CONFIG_BUILD_FLAT)

[GitHub] [incubator-nuttx] michi-jung commented on a change in pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
michi-jung commented on a change in pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#discussion_r806181491 ## File path: tools/jlink-nuttx.c ## @@ -72,7 +72,7 @@ enum symbol_e NSYMBOLS }; -__attribute__ ((packed)) struct tcbinfo_s +struct __att

[GitHub] [incubator-nuttx] zhuyanlinzyl edited a comment on pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
zhuyanlinzyl edited a comment on pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#issuecomment-1040176487 @Ouss4 I think I have find the reason: CPU1 have not generate swi interrupt at all. As esp32 only have two software interrupt bit: `#de

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5490: risc-v: Let g_cpu_basestack determined at compile time

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5490: URL: https://github.com/apache/incubator-nuttx/pull/5490#discussion_r806133654 ## File path: arch/risc-v/src/k210/k210_head.S ## @@ -53,6 +53,13 @@ __start: j2f 1: + /* In case of single CPU config, stop here

[GitHub] [incubator-nuttx-apps] freakishness closed pull request #1004: Add EPSON RX8010SJ RTC timer support

2022-02-15 Thread GitBox
freakishness closed pull request #1004: URL: https://github.com/apache/incubator-nuttx-apps/pull/1004 -- 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-ma

[GitHub] [incubator-nuttx] AlanRosenthal commented on a change in pull request #5496: Remove duplicate linker script definitions

2022-02-15 Thread GitBox
AlanRosenthal commented on a change in pull request #5496: URL: https://github.com/apache/incubator-nuttx/pull/5496#discussion_r806283845 ## File path: tools/Config.mk ## @@ -548,3 +548,11 @@ else ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include$(DELI

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5473: arch/sim: Always typedef xcpt_reg_t to unsigned long

2022-02-15 Thread GitBox
pkarashchenko merged pull request #5473: URL: https://github.com/apache/incubator-nuttx/pull/5473 -- 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] pkarashchenko commented on a change in pull request #5473: arch/sim: Always typedef xcpt_reg_t to unsigned long

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5473: URL: https://github.com/apache/incubator-nuttx/pull/5473#discussion_r806139302 ## File path: arch/sim/src/sim/up_vfork.c ## @@ -93,8 +93,8 @@ pid_t up_vfork(const xcpt_reg_t *context) xcpt_reg_t stackutil; sinfo

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5485: boards: sabre-6quad: Add -fno-common to Make.defs

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5485: URL: https://github.com/apache/incubator-nuttx/pull/5485#discussion_r806405475 ## File path: arch/arm/src/rtl8720c/Toolchain.defs ## @@ -50,8 +50,8 @@ ifneq ($(CONFIG_ARMV8M_STACKCHECK),y) endif endif -ARCHCFLAGS

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5496: Remove duplicate linker script definitions

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5496: URL: https://github.com/apache/incubator-nuttx/pull/5496#discussion_r806270884 ## File path: boards/arm/samv7/common/scripts/flat.memory ## @@ -22,10 +22,6 @@ include $(TOPDIR)/.config include $(TOPDIR)/tools/Config.mk

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #5477: arm/armv8-m: Handle the special irq correctly in up_secure_irq

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

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5363: add phyplus_rel_1.4

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5363: URL: https://github.com/apache/incubator-nuttx/pull/5363 -- 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] pkarashchenko commented on a change in pull request #5498: sched: Implement task local storage

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5498: URL: https://github.com/apache/incubator-nuttx/pull/5498#discussion_r806720452 ## File path: libs/libc/tls/Kconfig ## @@ -54,4 +54,14 @@ config TLS_NELEM NOTE that the special value of CONFIG_TLS_NELEM d

[GitHub] [incubator-nuttx] michi-jung commented on pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
michi-jung commented on pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#issuecomment-1039928286 Current GCC documentation states: > packed - This attribute, attached to a struct, union, or C++ class type definition, specifies that each of its members (oth

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5495: Fix jlink-nuttx build with GCC 10.2

2022-02-15 Thread GitBox
pkarashchenko commented on pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#issuecomment-1039744199 -- 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 commen

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5485: boards: sabre-6quad: Add -fno-common to Make.defs

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5485: URL: https://github.com/apache/incubator-nuttx/pull/5485 -- 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 #5493: stm32h7:Flash fixes from 328374f4658d11655f268f968f4c6c7a3942f320

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5493: URL: https://github.com/apache/incubator-nuttx/pull/5493 -- 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] Ouss4 commented on pull request #5336: xtensa: use swint to swith context

2022-02-15 Thread GitBox
Ouss4 commented on pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#issuecomment-1040217940 -- 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 u

[GitHub] [incubator-nuttx] AlanRosenthal commented on pull request #5375: Generate $(SCRIPTOUT) during the build phase

2022-02-15 Thread GitBox
AlanRosenthal commented on pull request #5375: URL: https://github.com/apache/incubator-nuttx/pull/5375#issuecomment-1039572920 To make this PR easier to review, I moved a lot of the changes to #5496 -- This is an automated message from the Apache Git Service. To respond to the message, p

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5499: Add EPSON RX8010SJ I2C RTC timer support

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5499: URL: https://github.com/apache/incubator-nuttx/pull/5499#issuecomment-1040020296 @freakishness please fix the style issue report here: https://github.com/apache/incubator-nuttx/runs/5194562951?check_suite_focus=true you can check locall

[GitHub] [incubator-nuttx] zhuyanlinzyl commented on pull request #5407: arch/xtensa/esp32: Remove the QEMU special case when initializing the heap.

2022-02-15 Thread GitBox
zhuyanlinzyl commented on pull request #5407: URL: https://github.com/apache/incubator-nuttx/pull/5407#issuecomment-1039800932 @Ouss4 It's my mistake. qemu-system-xtensa work now. Thanks for you advice. -- This is an automated message from the Apache Git Service. To respond t

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5473: arch/sim: Always typedef xcpt_reg_t to unsigned long

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5473: URL: https://github.com/apache/incubator-nuttx/pull/5473#discussion_r806427648 ## File path: arch/sim/src/sim/up_vfork.c ## @@ -93,8 +93,8 @@ pid_t up_vfork(const xcpt_reg_t *context) xcpt_reg_t stackutil; sin

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5496: Remove duplicate linker script definitions

2022-02-15 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5496: URL: https://github.com/apache/incubator-nuttx/pull/5496#discussion_r806410593 ## File path: arch/arm/src/Makefile ## @@ -19,6 +19,7 @@

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5501: boards/sim: Add adb config for test

2022-02-15 Thread GitBox
xiaoxiang781216 commented on pull request #5501: URL: https://github.com/apache/incubator-nuttx/pull/5501#issuecomment-1039965544 > mention it in boards/sim/sim/sim/README.txt? otherwise lgtm Done. -- This is an automated message from the Apache Git Service. To respond to the messa

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5494: tools/Unix.mk: silence output from version.sh

2022-02-15 Thread GitBox
xiaoxiang781216 merged pull request #5494: URL: https://github.com/apache/incubator-nuttx/pull/5494 -- 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] pkarashchenko commented on a change in pull request #5483: libdsp: improvements for lib_observer.c

2022-02-15 Thread GitBox
pkarashchenko commented on a change in pull request #5483: URL: https://github.com/apache/incubator-nuttx/pull/5483#discussion_r806142300 ## File path: include/dsp.h ## @@ -529,31 +535,32 @@ void foc_vdq_mag_max_get(FAR struct foc_data_f32_s *foc, FAR float *max); /* BLDC/P

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #5504: mm: handle take mm sem in IRQ

2022-02-15 Thread GitBox
davids5 commented on a change in pull request #5504: URL: https://github.com/apache/incubator-nuttx/pull/5504#discussion_r806782591 ## File path: mm/mm_heap/mm_sem.c ## @@ -104,9 +104,23 @@ bool mm_takesemaphore(FAR struct mm_heap_s *heap) #if defined(CONFIG_BUILD_FLAT) || def

  1   2   >