[GitHub] [incubator-nuttx-testing] xiaoxiang781216 merged pull request #49: testlist/arm-07.dat: Add stm32/nucleo-f412zg boards to testlist

2020-07-01 Thread GitBox
xiaoxiang781216 merged pull request #49: URL: https://github.com/apache/incubator-nuttx-testing/pull/49 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[incubator-nuttx-testing] branch master updated: testlist/arm-07.dat: Add stm32/nucleo-f412zg board to testlist

2020-07-01 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-testing.git The following commit(s) were added to refs/heads/master by this push: new 03707e5

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #1312: libc: Replace nuttx/lib/math.h with math.h

2020-07-01 Thread GitBox
Ouss4 commented on pull request #1312: URL: https://github.com/apache/incubator-nuttx/pull/1312#issuecomment-652384926 @xiaoxiang781216 This change, and commit https://github.com/apache/incubator-nuttx/commit/d17b963bcab98e2d2f641623547837a8d3fe94cd breaks some default configurations, for

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #1321: libc: Refine the inline handling

2020-07-01 Thread GitBox
davids5 commented on a change in pull request #1321: URL: https://github.com/apache/incubator-nuttx/pull/1321#discussion_r448291057 ## File path: include/nuttx/compiler.h ## @@ -255,15 +255,6 @@ # undef CONFIG_PTR_IS_NOT_INT #endif -/* GCC supports inlined functions for

[GitHub] [incubator-nuttx-testing] jerpelea commented on pull request #49: testlist/arm-07.dat: Add stm32/nucleo-f412zg boards to testlist

2020-07-01 Thread GitBox
jerpelea commented on pull request #49: URL: https://github.com/apache/incubator-nuttx-testing/pull/49#issuecomment-652315886 thanks This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [incubator-nuttx-apps] jerpelea commented on pull request #315: apps: Make c++ examples/testing work with both uClibc++ and libcxx

2020-07-01 Thread GitBox
jerpelea commented on pull request #315: URL: https://github.com/apache/incubator-nuttx-apps/pull/315#issuecomment-652326090 please add commit message This is an automated message from the Apache Git Service. To respond to

[GitHub] [incubator-nuttx] davids5 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
davids5 commented on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652365645 @xiaoxiang781216 that seems limited to gnu and would not be in alignment with not using compiler specific macros in code other than compiler.h.

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #1345: make/export: enhance make export

2020-07-01 Thread GitBox
anchao commented on a change in pull request #1345: URL: https://github.com/apache/incubator-nuttx/pull/1345#discussion_r448308618 ## File path: tools/Makefile.unix ## @@ -421,7 +421,7 @@ ifeq ($(CONFIG_UBOOT_UIMAGE),y) cp -f uImage /tftpboot/uImage; \

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #1345: make/export: enhance make export

2020-07-01 Thread GitBox
anchao commented on a change in pull request #1345: URL: https://github.com/apache/incubator-nuttx/pull/1345#discussion_r448308618 ## File path: tools/Makefile.unix ## @@ -421,7 +421,7 @@ ifeq ($(CONFIG_UBOOT_UIMAGE),y) cp -f uImage /tftpboot/uImage; \

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652375887 > @xiaoxiang781216 that seems limited to gnu and would not be in alignment with not using compiler specific macros in code other than compiler.h.

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652375887 > @xiaoxiang781216 that seems limited to gnu and would not be in alignment with not using compiler specific macros in code other than compiler.h.

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 opened a new pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344 ## Summary ## Impact No, since nobody reference these variables. ## Testing This is an

[GitHub] [incubator-nuttx] anchao opened a new pull request #1345: make/export:

2020-07-01 Thread GitBox
anchao opened a new pull request #1345: URL: https://github.com/apache/incubator-nuttx/pull/1345 ## Summary 1. make/POSTBUILD: make BIN directory configurable enhance the post build can support configurable BIN directory 2. make/export: export post build script post

[GitHub] [incubator-nuttx] davids5 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
davids5 commented on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652353953 >nsh> cat /proc/version NuttX version 9.0.0 ac6183365a-dirty Jul 1 2020 18:33:52 nsh> uname -a NuttX 9.0.0 ac6183365a-dirty Jul 1 2020 18:33:34 sim sim

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #315: apps: Make c++ examples/testing work with both uClibc++ and libcxx

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #315: URL: https://github.com/apache/incubator-nuttx-apps/pull/315#issuecomment-652383413 @jerpelea done. This is an automated message from the Apache Git Service. To respond to the

[GitHub] [incubator-nuttx] davids5 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
davids5 commented on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652386557 @xiaoxiang781216 that make much more sense then your last suggestion. This is an automated message

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #1321: libc: Refine the inline handling

2020-07-01 Thread GitBox
xiaoxiang781216 commented on a change in pull request #1321: URL: https://github.com/apache/incubator-nuttx/pull/1321#discussion_r448336994 ## File path: include/nuttx/compiler.h ## @@ -255,15 +255,6 @@ # undef CONFIG_PTR_IS_NOT_INT #endif -/* GCC supports inlined

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #1345: make/export: enhance make export

2020-07-01 Thread GitBox
Ouss4 commented on a change in pull request #1345: URL: https://github.com/apache/incubator-nuttx/pull/1345#discussion_r448274174 ## File path: tools/Makefile.unix ## @@ -421,7 +421,7 @@ ifeq ($(CONFIG_UBOOT_UIMAGE),y) cp -f uImage /tftpboot/uImage; \

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652375887 > @xiaoxiang781216 that seems limited to gnu and would not be in alignment with not using compiler specific macros in code other than compiler.h. All

[incubator-nuttx] branch master updated (651eefc -> b84ce84)

2020-07-01 Thread aguettouche
This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. from 651eefc fs: Rename link to symlink add 3db090a S32K - Expand FlexTimer header file and add PWM

[GitHub] [incubator-nuttx] Ouss4 merged pull request #1339: S32K: Expand FlexTimer and add PWM support

2020-07-01 Thread GitBox
Ouss4 merged pull request #1339: URL: https://github.com/apache/incubator-nuttx/pull/1339 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] xiaoxiang781216 commented on pull request #1312: libc: Replace nuttx/lib/math.h with math.h

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1312: URL: https://github.com/apache/incubator-nuttx/pull/1312#issuecomment-652408911 But I can build stm32f4discovery:audio without any problem, here is my gcc version: ``` arm-none-eabi-gcc -v Using built-in specs.

[GitHub] [incubator-nuttx] davids5 edited a comment on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
davids5 edited a comment on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652353953 >nsh> cat /proc/version NuttX version 9.0.0 ac6183365a-dirty Jul 1 2020 18:33:52 nsh> uname -a NuttX 9.0.0 ac6183365a-dirty Jul 1 2020 18:33:34 sim

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652362444 > > nsh> cat /proc/version > > NuttX version 9.0.0 ac6183365a-dirty Jul 1 2020 18:33:52 > > nsh> uname -a > > NuttX 9.0.0 ac6183365a-dirty Jul

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652362444 > > nsh> cat /proc/version > > NuttX version 9.0.0 ac6183365a-dirty Jul 1 2020 18:33:52 > > nsh> uname -a > > NuttX 9.0.0 ac6183365a-dirty Jul 1 2020

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #1321: libc: Refine the inline handling

2020-07-01 Thread GitBox
davids5 commented on a change in pull request #1321: URL: https://github.com/apache/incubator-nuttx/pull/1321#discussion_r448307162 ## File path: include/nuttx/compiler.h ## @@ -255,15 +255,6 @@ # undef CONFIG_PTR_IS_NOT_INT #endif -/* GCC supports inlined functions for

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652375887 > @xiaoxiang781216 that seems limited to gnu and would not be in alignment with not using compiler specific macros in code other than compiler.h.

[incubator-nuttx-apps] branch master updated: import: add hex/raw binary support

2020-07-01 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-apps.git The following commit(s) were added to refs/heads/master by this push: new 989d1ae import: add hex/raw

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #313: import: add hex/raw binary support

2020-07-01 Thread GitBox
xiaoxiang781216 merged pull request #313: URL: https://github.com/apache/incubator-nuttx-apps/pull/313 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[incubator-nuttx-apps] branch master updated: make/import: add incdir into import build

2020-07-01 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-apps.git The following commit(s) were added to refs/heads/master by this push: new 51388de make/import: add

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #312: make/import: add incdir into import build

2020-07-01 Thread GitBox
xiaoxiang781216 merged pull request #312: URL: https://github.com/apache/incubator-nuttx-apps/pull/312 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [incubator-nuttx] jerpelea merged pull request #1343: fs: Rename link to symlink

2020-07-01 Thread GitBox
jerpelea merged pull request #1343: URL: https://github.com/apache/incubator-nuttx/pull/1343 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

[incubator-nuttx] branch master updated: fs: Rename link to symlink

2020-07-01 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea 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 651eefc fs: Rename link to symlink

[GitHub] [incubator-nuttx-apps] jerpelea merged pull request #317: nshlib: Call symlink if user pass -s for ln command

2020-07-01 Thread GitBox
jerpelea merged pull request #317: URL: https://github.com/apache/incubator-nuttx-apps/pull/317 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[incubator-nuttx-apps] branch master updated: nshlib: Call symlink if user pass -s for ln command

2020-07-01 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 95d7e9b nshlib: Call symlink

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1344: boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1344: URL: https://github.com/apache/incubator-nuttx/pull/1344#issuecomment-652339778 > @xiaoxiang781216 Should this be removed or used? > Printing the version of a compiler and the git hash allows us to due post postmortem debugging. > if

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #1312: libc: Replace nuttx/lib/math.h with math.h

2020-07-01 Thread GitBox
Ouss4 commented on pull request #1312: URL: https://github.com/apache/incubator-nuttx/pull/1312#issuecomment-652422093 For me it's gcc version 10.1.0 There are also the Github checks that aren't having any issue with this. So this might be my GCC version, I'll look into it.

[GitHub] [incubator-nuttx-apps] patacongo commented on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
patacongo commented on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652507257 @xiaoxiang781216 I will go ahead and merge this now. it still cannot pass the PR checks because some defconfig files set appliation C++ settings that no longer

[incubator-nuttx-apps] branch master updated: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread gnutt
This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new b217de7 apps: Remove all stuff

[GitHub] [incubator-nuttx] patacongo commented on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
patacongo commented on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652517087 I will be merging this change very early after a few checks succeed. That is because the PR checks are all broken without this change. [PS: I was producing

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652525167 > But I feel like we should figure out the cancellation stuff before I do any of that. > > > There is a complexity... pthread_exit() is also called from

[GitHub] [incubator-nuttx] anchao commented on pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
anchao commented on pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346#issuecomment-652428408 Related code involves macro definition of mixed case, I think we can ignore this check ```

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652442424 > > Look how I did the pthread startup function in PR #1328. This is EXACTLY the same issue. I created a user-space pthread_startup (NOT and OS startup

[GitHub] [incubator-nuttx-apps] patacongo merged pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
patacongo merged pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[incubator-nuttx] branch master updated: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread gnutt
This is an automated email from the ASF dual-hosted git repository. gnutt 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 49020ac boards: Remove the unused

[GitHub] [incubator-nuttx] patacongo merged pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
patacongo merged pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on a change in pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#discussion_r448365342 ## File path: sched/task/task_start.c ## @@ -138,13 +138,14 @@ void nxtask_start(void) if ((tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) !=

[GitHub] [incubator-nuttx] antmerlino edited a comment on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
antmerlino edited a comment on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652509617 > > There is a complexity... pthread_exit() is also called from within the OS from task_cancelpt.c, pthread_cancel.c, pthread_create.c, sig_default.c,

[GitHub] [incubator-nuttx] antmerlino commented on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
antmerlino commented on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652509617 > > There is a complexity... pthread_exit() is also called from within the OS from task_cancelpt.c, pthread_cancel.c, pthread_create.c, sig_default.c,

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652514559 @patacongo this is the final patch for FLAT/PROTECTED builtin constructor centralization. This

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652525167 > But I feel like we should figure out the cancellation stuff before I do any of that. > > > There is a complexity... pthread_exit() is also called from

[GitHub] [incubator-nuttx] anchao opened a new pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
anchao opened a new pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346 ## Summary sched/kthread: extend kthread_create() to support configurable stack Extended parameter to support configurable stack unify the semantics with nxthread_create() ##

[GitHub] [incubator-nuttx] patacongo commented on pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
patacongo commented on pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346#issuecomment-652467695 We have already gone throught this before with PR #1099 . I will not accept this change. The mechanism to provide a configurable status is already in place.

[GitHub] [incubator-nuttx] patacongo closed pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
patacongo closed pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
xiaoxiang781216 opened a new pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347 since cxx initialization is controlled by CONFIG_HAVE_CXXINITIALIZE now Signed-off-by: Xiang Xiao Change-Id: I39438dc3006d0a0b810052ecef50cd3c92f09d83 ## Summary

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652513951 Yes, here is the patch: https://github.com/apache/incubator-nuttx/pull/1347 This is an

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 edited a comment on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652528829 @davids5 the change is compatable as before since all config which utilize the global constructor should already define CONFIG_HAVE_CXXINITIALIZE. The

[GitHub] [incubator-nuttx] davids5 commented on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
davids5 commented on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652536203 @xiaoxiang781216 - there is still a lot of misleading documentation (some are past release notes.) but this is really wrong now

[GitHub] [incubator-nuttx] patacongo commented on pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652431823 > To follow the Linux approach, the major change is the build system: > 1.Statically link crt0.o into each ELF binary > 2.__start call constructors,

[GitHub] [incubator-nuttx-apps] patacongo commented on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
patacongo commented on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652508861 > This will break all all PR checks until all of the relevant defconfig files are updated in the incubator_nuttx repository. I will submit the the PR that

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on a change in pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#discussion_r448495517 ## File path: libs/libc/sched/task_startup.c ## @@ -39,19 +39,101 @@ #include +#include #include #include -#include +#ifndef

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652534830 Yes, you are right. I forget this file because this is a new board just upstreamed one month ago. The fix is here:

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652418299 > This should NOT me merged [apache/incubator-nuttx#1341](https://github.com/apache/incubator-nuttx/pull/1341) is stalled. It is the wrong approach .

[GitHub] [incubator-nuttx] patacongo commented on pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652442424 > > Look how I did the pthread startup function in PR #1328. This is EXACTLY the same issue. I created a user-space pthread_startup (NOT and OS startup function) in

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346#issuecomment-652467695 We have already gone throught this before with PR #1099 . I will not accept this change. The mechanism to provide a configurable status is already in place.

[GitHub] [incubator-nuttx] patacongo commented on pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652486768 @xiaoxiang781216 I think this change then resolves Issue #1265. Is that correct? If so then that issue should be closed.

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on a change in pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#discussion_r448451990 ## File path: libs/libxx/Kconfig ## @@ -22,6 +22,14 @@ config HAVE_CXX if HAVE_CXX +config HAVE_CXXINITIALIZE + bool "Have C++

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on a change in pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#discussion_r448451990 ## File path: libs/libxx/Kconfig ## @@ -22,6 +22,14 @@ config HAVE_CXX if HAVE_CXX +config HAVE_CXXINITIALIZE + bool "Have C++

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 edited a comment on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652418299 > This should NOT me merged [apache/incubator-nuttx#1341](https://github.com/apache/incubator-nuttx/pull/1341) is stalled. It is the wrong approach .

[GitHub] [incubator-nuttx-apps] davids5 commented on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
davids5 commented on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652522526 @xiaoxiang781216 would you be kind enough to fill in the #Impact section and give porting instruction?

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #316: apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #316: URL: https://github.com/apache/incubator-nuttx-apps/pull/316#issuecomment-652528829 @davids5 the change is compatable as before since all config which utilize the global constructor should already define CONFIG_HAVE_CXXINITIALIZE. The user

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #1348: board/olimex-stm32-p407: Remove CONFIG_SYSTEM_NSH_CXXINITIALIZE

2020-07-01 Thread GitBox
xiaoxiang781216 opened a new pull request #1348: URL: https://github.com/apache/incubator-nuttx/pull/1348 ## Summary forget in commit 49020acfdc2a846d0d2c8021b83a41ff9e6178c9 ## Impact ## Testing

[GitHub] [incubator-nuttx] patacongo merged pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo merged pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-nuttx] patacongo commented on pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo commented on pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652433392 I will go ahead and merge this change. I do not think it is a worthwhile change since it does not improve the OS architecture except in some special cases. So

[GitHub] [incubator-nuttx] davids5 commented on pull request #1340: lib/math: Remove float32 and float64 definition

2020-07-01 Thread GitBox
davids5 commented on pull request #1340: URL: https://github.com/apache/incubator-nuttx/pull/1340#issuecomment-652525636 @xiaoxiang781216 Any reason not to merge this it is breaking C++ build This is an automated message

[incubator-nuttx] branch master updated: board/olimex-stm32-p407: Remove CONFIG_SYSTEM_NSH_CXXINITIALIZE

2020-07-01 Thread gnutt
This is an automated email from the ASF dual-hosted git repository. gnutt 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 310b572 board/olimex-stm32-p407:

[GitHub] [incubator-nuttx] patacongo merged pull request #1348: board/olimex-stm32-p407: Remove CONFIG_SYSTEM_NSH_CXXINITIALIZE

2020-07-01 Thread GitBox
patacongo merged pull request #1348: URL: https://github.com/apache/incubator-nuttx/pull/1348 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #1331: make/version: correct the version generation

2020-07-01 Thread GitBox
davids5 commented on a change in pull request #1331: URL: https://github.com/apache/incubator-nuttx/pull/1331#discussion_r448361873 ## File path: tools/Makefile.unix ## @@ -31,7 +31,7 @@ endif # In case we cannot get version information from GIT -ifneq

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1341: Call c++ global variables in nxtask_startup

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1341: URL: https://github.com/apache/incubator-nuttx/pull/1341#issuecomment-652442424 > > Look how I did the pthread startup function in PR #1328. This is EXACTLY the same issue. I created a user-space pthread_startup (NOT and OS startup

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652518941 > I will be merging this change very early after a few checks succeed. That is because the PR checks are all broken without this change. > > [PS: I

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652518941 > machine mayn't faster than you, I made this path a few days before:). This is an

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346#issuecomment-652574377 > No.. no duplicate functionality If so, should we provide a patch to remove kthread_create and change all place to task_init/task_activate?

[GitHub] [incubator-nuttx] btashton commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
btashton commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448557702 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,101 @@ +#!/bin/bash + +URL=$1 + +function download_release() { Review comment:

[GitHub] [incubator-nuttx] adamfeuer commented on pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
adamfeuer commented on pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#issuecomment-652627665 @btashton @Ouss4 Thanks for the improvements! Here's what I did: * added the `set -e` * added the trap to remove the tempdir * added a license header *

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652639845 > > > @gregory-nutt > > I have some changes to what you have so far that address build issues. However, I can't open a PR against your branch on

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652639845 > > > @gregory-nutt > > I have some changes to what you have so far that address build issues. However, I can't open a PR against your branch on

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
xiaoxiang781216 edited a comment on pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346#issuecomment-652574377 > No.. no duplicate functionality If so, should we provide a patch to remove all kthread_create and change to task_init/task_activate?

[GitHub] [incubator-nuttx] antmerlino commented on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
antmerlino commented on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652611920 @gregory-nutt I have some changes to what you have so far that address build issues. However, I can't open a PR against your branch on your repo. Can

[GitHub] [incubator-nuttx] adamfeuer commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
adamfeuer commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448583054 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,101 @@ +#!/bin/bash + +URL=$1 + +function download_release() { Review comment:

[GitHub] [incubator-nuttx] adamfeuer commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
adamfeuer commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448586763 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,95 @@ +#!/bin/bash Review comment: @Ouss4 will fix

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1346: sched/kthread: extend kthread_create() to support configurable stack

2020-07-01 Thread GitBox
patacongo edited a comment on pull request #1346: URL: https://github.com/apache/incubator-nuttx/pull/1346#issuecomment-652567672 No.. no duplicate functionality. There is no functionality added by this PR that does not already exist in the OS. Perhaps you would would want your own

[GitHub] [incubator-nuttx] adamfeuer commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
adamfeuer commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448593346 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,101 @@ +#!/bin/bash + +URL=$1 + +function download_release() { Review comment:

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1347: boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y

2020-07-01 Thread GitBox
xiaoxiang781216 commented on pull request #1347: URL: https://github.com/apache/incubator-nuttx/pull/1347#issuecomment-652547462 OK, I will provide a patch clear the documentation, but keep ReleaseNotes as it since ReleaseNotes describe the history of software and should only be appended

[GitHub] [incubator-nuttx] btashton commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
btashton commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448559105 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,101 @@ +#!/bin/bash + +URL=$1 + +function download_release() { Review comment:

[GitHub] [incubator-nuttx] btashton commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
btashton commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448572250 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,101 @@ +#!/bin/bash + +URL=$1 + +function download_release() { Review comment:

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #1335: boards: arm: cxd56xx: enable basic snapshot camera example

2020-07-01 Thread GitBox
Ouss4 commented on pull request #1335: URL: https://github.com/apache/incubator-nuttx/pull/1335#issuecomment-652605913 I restarted the checks multiple times but the issue persists. I pulled this change locally, it builds cleanly. Also my refresh.sh does not produce a different

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
Ouss4 commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448582459 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,95 @@ +#!/bin/bash Review comment: License header missing.

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
Ouss4 commented on a change in pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#discussion_r448590103 ## File path: tools/check-nuttx-release.sh ## @@ -0,0 +1,96 @@ +#!/bin/bash +set -e + +URL=$1 +TEMPDIR="dist.apache.org" +ORIGINAL_DIR="$(pwd)"

[GitHub] [incubator-nuttx] adamfeuer edited a comment on pull request #1349: script to check NuttX release candidates (SHA512, GPG sigs, required files)

2020-07-01 Thread GitBox
adamfeuer edited a comment on pull request #1349: URL: https://github.com/apache/incubator-nuttx/pull/1349#issuecomment-652627665 @btashton @Ouss4 Thanks for the improvements! Here's what I did: * added the `set -e` * added the trap to remove the tempdir * added a license

[GitHub] [incubator-nuttx] patacongo commented on pull request #1328: [DRAFT] pthread_cleanup functions must be called from user space

2020-07-01 Thread GitBox
patacongo commented on pull request #1328: URL: https://github.com/apache/incubator-nuttx/pull/1328#issuecomment-652639845 > > > @gregory-nutt > > I have some changes to what you have so far that address build issues. However, I can't open a PR against your branch on your

  1   2   >