[I] Math library header files are not exported [nuttx]

2023-11-20 Thread via GitHub
SPRESENSE opened a new issue, #11239: URL: https://github.com/apache/nuttx/issues/11239 When newlib, libmcs, or openlibm is selected as the math library, the required public header files are not exported by `make export`. * CONFIG_LIBM_NEWLIB * CONFIG_LIBM_LIBMCS *

Re: [PR] PoC: allow apps to customize NuttX build time variables [nuttx]

2023-11-20 Thread via GitHub
casaroli commented on code in PR #11202: URL: https://github.com/apache/nuttx/pull/11202#discussion_r1400149513 ## arch/arm/src/Makefile: ## @@ -18,7 +18,7 @@ # -include $(TOPDIR)/Make.defs

[PR] clock.h: add CONFIG_DEBUG_SYSTEM_TIME64_TEST, set init ticks to 0 [nuttx]

2023-11-20 Thread via GitHub
zhang-2019 opened a new pull request, #11238: URL: https://github.com/apache/nuttx/pull/11238 VELAPLATFO-21376 Change-Id: I5d3a79045277fb7722371dfb3d4592eaee294aec ## Summary ## Impact ## Testing -- This is an automated message from the Apache Git

Re: [PR] sim/macos:fix system bzero recursive call [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 commented on PR #11234: URL: https://github.com/apache/nuttx/pull/11234#issuecomment-1820354282 ``` 000100024574 <_bzero>: /bzero [3/19] 100024574: d10083ff sub sp, sp, #32 100024578: a9017bfd stp x29, x30, [sp, #16] 10002457c: f90007e0 str x0,

[PR] simwifi: Connect the wifi whose ssid contains the special charaters. [nuttx]

2023-11-20 Thread via GitHub
liqinhuixm opened a new pull request, #11237: URL: https://github.com/apache/nuttx/pull/11237 ## Summary When setting the ESSID that contains the special characters (\"'), we need to add an escape (\) for them. ## Impact N/A ## Testing If we want to connect the SSID that

[I] Fail to nxtask_delete by update of cancel point logic [nuttx]

2023-11-20 Thread via GitHub
SPRESENSE opened a new issue, #11236: URL: https://github.com/apache/nuttx/issues/11236 This pull request https://github.com/apache/nuttx/pull/11165 causes the task to fail to delete. There is a gnss sensor driver, which creates a task with `open()` and deletes it with `close()`.

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1820319742 @xiaoxiang781216 @masayuki2009 [pull11234](https://github.com/apache/nuttx/pull/11234) fix macos crash -- This is an automated message from the Apache Git Service. To respond to the

[PR] sim/macos:fix system bzero recursive call [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 opened a new pull request, #11234: URL: https://github.com/apache/nuttx/pull/11234 ## Summary sim/macos:fix system bzero recursive call ## Impact noting ## Testing sim:nsh There may be other functions where recursion occurs -- This is an automated

[PR] risc-v/mpfs/opensbi: update opensbi to version 1.3.1 [nuttx]

2023-11-20 Thread via GitHub
eenurkka opened a new pull request, #11233: URL: https://github.com/apache/nuttx/pull/11233 Version 1.3.1 is the latest tagged version as of November the 21st, 2023. This patch prepares the required changes to make v1.3.1 work. ## Summary Update OpenSBI ## Impact

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
GUIDINGLI commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1400051074 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
GUIDINGLI commented on PR #11226: URL: https://github.com/apache/nuttx/pull/11226#issuecomment-1820285832 And actually, there is another way to resolve this issue. We can do more things at Step 8 sched_unlcok, re-pick the task from ready-to-run list. Then the CPU1 will execute the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
GUIDINGLI commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1400051074 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
GUIDINGLI commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1400051074 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
GUIDINGLI commented on PR #11226: URL: https://github.com/apache/nuttx/pull/11226#issuecomment-1820221961 > @GUIDINGLI > > > The error is in step 6: > > Could you tell us how we can reproduce the error? Compile cmd: qemu-armv8a:nsh_smp change CONFIG_SMP_NCPUS to 2

[PR] [Don't submit]: add test for SMP bug [nuttx-apps]

2023-11-20 Thread via GitHub
GUIDINGLI opened a new pull request, #2208: URL: https://github.com/apache/nuttx-apps/pull/2208 ## Summary [Don't submit]: add test for SMP bug ## Impact test only ## Testing -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1820150262 @masayuki2009 ``` (base) ➜ nuttx git:(master) ✗ sudo lldb nuttx (lldb) target create "nuttx" Current executable set to

[PR] fs/tmpfs: fix an integer overflow [nuttx]

2023-11-20 Thread via GitHub
hujun260 opened a new pull request, #11232: URL: https://github.com/apache/nuttx/pull/11232 ## Summary fix an integer overflow ## Impact ## Testing -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[PR] sched_lock refine: remove sched_[un]lock in xxx_waitsample [nuttx]

2023-11-20 Thread via GitHub
hujun260 opened a new pull request, #11231: URL: https://github.com/apache/nuttx/pull/11231 ## Summary remove sched_[un]lock in xxx_waitsample ## Impact ## Testing -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [PR] driver/tee: add optee client driver module [nuttx]

2023-11-20 Thread via GitHub
xiaoxiang781216 commented on code in PR #11228: URL: https://github.com/apache/nuttx/pull/11228#discussion_r1399971713 ## drivers/misc/optee.c: ## @@ -0,0 +1,648 @@ +/ + * drivers/misc/optee.c + * + *

(nuttx-website) branch asf-site updated: Publishing web: 36ddd7c60a8230335eda886c909bc938739114a2 docs: 11b3adf17fd4e252d880bd9f4dcab54e42e990fe

2023-11-20 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 8c0976e8 Publishing web:

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399880424 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399880424 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399880424 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399880424 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399880424 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on PR #11226: URL: https://github.com/apache/nuttx/pull/11226#issuecomment-1819872293 What if multiple tasks running on different CPUs lock the scheduler? This is the legacy behavior. Seems to me that there is a hole in the logic for this case. We can't suspend the

Re: [I] gdb nsh:tcpblaster cannot access network [nuttx]

2023-11-20 Thread via GitHub
alandeassis commented on issue #11223: URL: https://github.com/apache/nuttx/issues/11223#issuecomment-1819847221 @maxmbed can you ping NuttX from your host? You need ICMP enabled on NuttX! -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on code in PR #11226: URL: https://github.com/apache/nuttx/pull/11226#discussion_r1399759336 ## sched/sched/sched_removereadytorun.c: ## @@ -194,22 +194,15 @@ bool nxsched_remove_readytorun(FAR struct tcb_s *rtcb, bool merge) * next tcb in the

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
patacongo commented on PR #11226: URL: https://github.com/apache/nuttx/pull/11226#issuecomment-1819814269 I am a little confused. sched_removereadytorun() is part of the level implementation of a context switch. High level checks such as if the scheduler is locked should have already

Re: [PR] driver/tee: add optee client driver module [nuttx]

2023-11-20 Thread via GitHub
hartmannathan commented on code in PR #11228: URL: https://github.com/apache/nuttx/pull/11228#discussion_r1399663567 ## drivers/misc/Kconfig: ## @@ -32,6 +32,28 @@ config DEV_RPMSG_SERVER default n depends on RPTUN +choice + prompt "Select optee dev

[I] Feature Request: Make C-header files compatible with C++ [nuttx]

2023-11-20 Thread via GitHub
danielappiagyei-bc opened a new issue, #11230: URL: https://github.com/apache/nuttx/issues/11230 Hi, In a previous email thread, @xiaoxiang781216, @pkarashchenko, and I discussed making C header files compatible with c++. This is necessary so a C++ application can `#include` C headers

Re: [PR] driver/tee: add optee client driver module [nuttx]

2023-11-20 Thread via GitHub
pkarashchenko commented on code in PR #11228: URL: https://github.com/apache/nuttx/pull/11228#discussion_r1399560883 ## drivers/misc/optee.c: ## @@ -0,0 +1,648 @@ +/ + * drivers/misc/optee.c + * + *

Re: [PR] PoC: allow apps to customize NuttX build time variables [nuttx]

2023-11-20 Thread via GitHub
xiaoxiang781216 commented on code in PR #11202: URL: https://github.com/apache/nuttx/pull/11202#discussion_r1399557908 ## arch/arm/src/Makefile: ## @@ -18,7 +18,7 @@ # -include $(TOPDIR)/Make.defs

[PR] Add support enconder to ESP32-2432S028 [nuttx]

2023-11-20 Thread via GitHub
halyssonJr opened a new pull request, #11229: URL: https://github.com/apache/nuttx/pull/11229 ## Summary Adding support to qenconder and defining GPIOs to external RGB LED. ## Impact None ## Testing

Re: [PR] PoC: allow apps to customize NuttX build time variables [nuttx]

2023-11-20 Thread via GitHub
casaroli commented on PR #11202: URL: https://github.com/apache/nuttx/pull/11202#issuecomment-1819479636 @xiaoxiang781216 do you think we can merge something like this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] LLVM libcxx upgrade from 12.0.0 to 15.0.7 [nuttx]

2023-11-20 Thread via GitHub
trns1997 commented on code in PR #8244: URL: https://github.com/apache/nuttx/pull/8244#discussion_r1399414555 ## tools/ci/testlist/arm-02.dat: ## @@ -1,4 +1,5 @@ /arm/[i-k]*,CONFIG_ARM_TOOLCHAIN_GNU_EABI +-sabre-6quad:libcxx Review Comment: @xiaoxiang781216 i have the

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1819264768 @masayuki2009 i used mac os get this ![image](https://github.com/apache/nuttx/assets/75056955/cd1e2035-b0df-4720-9678-5648754e17c6) This does not seem to be caused by this

Re: [PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
masayuki2009 commented on PR #11226: URL: https://github.com/apache/nuttx/pull/11226#issuecomment-1819151404 @GUIDINGLI >The error is in step 6: Could you tell us how we can reproduce the error? -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] testing/sd_*: Restrict function and variable scope to current file. [nuttx-apps]

2023-11-20 Thread via GitHub
davids5 commented on PR #2201: URL: https://github.com/apache/nuttx-apps/pull/2201#issuecomment-1819138950 Yokogawa 700937 > > Why not allocate these in a struct and reduce memory footprint that just including that app costs? > > Could you please expand more with maybe a kind

[PR] driver/tee: add optee client driver module [nuttx]

2023-11-20 Thread via GitHub
hujun260 opened a new pull request, #11228: URL: https://github.com/apache/nuttx/pull/11228 The driver's main purpose is to support the porting of the open source component optee_client (https://github.com/OP-TEE/optee_client) to nttux. The basic function of the driver module is to

[I] stringstream linker problem when Normal, Full Optimization Activated [nuttx]

2023-11-20 Thread via GitHub
trns1997 opened a new issue, #11227: URL: https://github.com/apache/nuttx/issues/11227 # Error ``` P:➜ nuttx git:(master) ✗ make -j8 LD: nuttx arm-none-eabi-ld: warning: /home/trns1997/nuttxspace/nuttx/nuttx has a LOAD segment with RWX permissions arm-none-eabi-ld:

[PR] libtest: add PRIVATE to CMakeLists.txt [nuttx-apps]

2023-11-20 Thread via GitHub
casaroli opened a new pull request, #2207: URL: https://github.com/apache/nuttx-apps/pull/2207 ## Summary It looks like this word is needed for this build to work with cmake ## Impact Fixes cmake build when `libtest` is enabled ## Testing -- This is an

Re: [PR] PoC: allow apps to customize NuttX build time variables [nuttx]

2023-11-20 Thread via GitHub
casaroli commented on PR #11202: URL: https://github.com/apache/nuttx/pull/11202#issuecomment-1819017850 It looks like cmake works and do not need this modification. However, in `libtest` we are missing the word `PRIVATE` in `target_sources`. I can do it in a separate PR -- This

(nuttx) 01/03: drivers/rtc: Return -ENOTTY if lower half doesn't implement the corresponding callback

2023-11-20 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit e6ebcb62b1ec52f86c2c7950f95f12badf831ef2 Author: Xiang Xiao AuthorDate: Sun Nov 19 23:24:46 2023 +0800

(nuttx) 03/03: drivers/rtc/rpmsg: Move clock_synchronize rpmsg_rtc_server_settime

2023-11-20 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 11b3adf17fd4e252d880bd9f4dcab54e42e990fe Author: Xiang Xiao AuthorDate: Sun Nov 19 23:39:47 2023 +0800

(nuttx) branch master updated (673cb18a7a -> 11b3adf17f)

2023-11-20 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from 673cb18a7a drivers/mmcsd: mmcsd_sdinitialize should save csd register into priv->csd new e6ebcb62b1

(nuttx) 02/03: drivers/rtc: Skip clock_synchronize if settime return positive value

2023-11-20 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 67bff06a24ffb82bfa711519b914d3ba3a706098 Author: Xiang Xiao AuthorDate: Sun Nov 19 23:36:27 2023 +0800

Re: [PR] RTC driver improvement [nuttx]

2023-11-20 Thread via GitHub
pkarashchenko merged PR #11222: URL: https://github.com/apache/nuttx/pull/11222 -- 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:

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
masayuki2009 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1818937546 @anjiahao1 >What configuration is running? I am using sim:nsh. I tried `sim:nsh` but the same crash also happened with `sim:smp`. -- This is an automated

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1818902277 > @anjiahao1 > > > @masayuki2009 i push newset patch,and test on qemu arm64 run ubuntu with arm64 sim. > > It seems that the build error has been resolved. However, it

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
masayuki2009 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1818897870 @anjiahao1 >@masayuki2009 i push newset patch,and test on qemu arm64 run ubuntu with arm64 sim. It seems that the build error has been resolved. However, it

Re: [PR] tcbinfo:remove total_num form tcbinfo. [nuttx]

2023-11-20 Thread via GitHub
anjiahao1 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1818883640 @masayuki2009 i push newset patch,and test on qemu arm64 run ubuntu with arm64 sim. ``` ajh@arm64-mikasa:~/work/nuttx$ gdb-multiarch nuttx -ex "source tools/gdb/__init__.py"

[PR] sched: delete check when pick nexttcb in readytorun list [nuttx]

2023-11-20 Thread via GitHub
GUIDINGLI opened a new pull request, #11226: URL: https://github.com/apache/nuttx/pull/11226 ## Summary sched: delete check when pick nexttcb in readytorun list CPU0 CPU1 1. feed0 thread feed1 thread (prio 1 affinity)(prio 1