[I] Failed to build simulator [nuttx]

2023-11-09 Thread via GitHub
mildsky opened a new issue, #11163: URL: https://github.com/apache/nuttx/issues/11163 I tried to build simulator on my M2 MBA, It produce error like below. ` ➞ ./tools/configure.sh -m sim:nsh No configuration change. ➞ make clean ➞ make -j8 Create version.h CC:

Re: [PR] matter: add compile support for NuttX [nuttx-apps]

2023-11-09 Thread via GitHub
zhhyu7 commented on PR #2186: URL: https://github.com/apache/nuttx-apps/pull/2186#issuecomment-1805189284 > @zhhyu7 let's create a new patch to new ci on sim. OK. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[PR] libm/newlib: Change the download site to https [nuttx]

2023-11-09 Thread via GitHub
SPRESENSE opened a new pull request, #11162: URL: https://github.com/apache/nuttx/pull/11162 ## Summary Change newlib download site from ftp to more secure https. ## Impact None ## Testing Build pass with `CONFIG_LIBM_NEWLIB=y` -- This is an automated

Re: [PR] matter: add compile support for NuttX [nuttx-apps]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on PR #2186: URL: https://github.com/apache/nuttx-apps/pull/2186#issuecomment-1805129620 @zhhyu7 let's create a new patch to new ci on sim. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[PR] arch/textheap: add _heapmember declare for text and data heap [nuttx]

2023-11-09 Thread via GitHub
Donny9 opened a new pull request, #11160: URL: https://github.com/apache/nuttx/pull/11160 ## Summary arch/textheap: add _heapmember declare for text and data heap It was accidentally deleted on PR:#11043 ## Impact ## Testing local test -- This is an

[PR] matter: add compile support for NuttX [nuttx-apps]

2023-11-09 Thread via GitHub
zhhyu7 opened a new pull request, #2186: URL: https://github.com/apache/nuttx-apps/pull/2186 ## Summary A nuttx with the matter command can be compiled using cmake and enable CONFIG_MATTER option. The matter compiled by the current script is just a lighting example of a limited

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1388758955 ## fs/inode/fs_files.c: ## @@ -51,59 +52,118 @@ * Private Functions /

(nuttx) 02/07: esp32s3/wireless: Fix typo

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit c60d5c2ea13cebae3fbef6aea3771ec18f18 Author: Tiago Medicci Serrano AuthorDate: Mon Oct 9 17:13:13 2023 -0300

(nuttx) 07/07: esp32/ble: enable the BLE interrupt during a SPI flash operation

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 18718316dcddd93b0326da977acdabd9207f73b4 Author: Tiago Medicci Serrano AuthorDate: Wed Oct 11 16:10:07 2023 -0300

(nuttx) 01/07: esp32/ble: Lock the scheduler before creating pinned thread

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit fae075a7494848ce92703a2b9600a67da60c3ec7 Author: Tiago Medicci Serrano AuthorDate: Mon Oct 23 15:40:09 2023 +0200

(nuttx) 06/07: esp32s3/spiflash: Fix comment and remove unused variable

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit f94daf09b2cb505b2e0f62e3bf3027f207b7bf55 Author: Tiago Medicci Serrano AuthorDate: Tue Oct 10 11:30:51 2023 -0300

(nuttx) 05/07: esp32/spiflash: Make it similar to ESP32-S3 by removing cache state

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit b25793ebacc6f1f90e16506f0d95c67a160d7d14 Author: Tiago Medicci Serrano AuthorDate: Tue Oct 10 11:29:55 2023 -0300

(nuttx) branch master updated (9997a858e2 -> 18718316dc)

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git from 9997a858e2 xtensa/esp32s2: Add SPI slave support new fae075a749 esp32/ble: Lock the scheduler before creating

Re: [PR] esp32/ble: Enable the BLE interrupt during an SPI flash operation [nuttx]

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

(nuttx) 03/07: esp32/ble: fix saving/restoring the interrupt status flags

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 606190d9b311a440ce9b034d562624cdad799c2f Author: Tiago Medicci Serrano AuthorDate: Mon Oct 9 17:10:18 2023 -0300

(nuttx) 04/07: esp32/irq: Allow IRAM ISRs to run during SPI flash operation

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git commit 57b8fc99543c2de7b249bdc2c8eab419c7be6e0e Author: Tiago Medicci Serrano AuthorDate: Tue Oct 10 10:38:38 2023 -0300

(nuttx-website) branch asf-site updated: Publishing web: 36ddd7c60a8230335eda886c909bc938739114a2 docs: 9997a858e2ce0e3434bd7d26652f34b560404b59

2023-11-09 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 66d51a78 Publishing web:

Re: [I] Buggy handling of unsigned long in vsprintf_internal [nuttx]

2023-11-09 Thread via GitHub
acassis commented on issue #11155: URL: https://github.com/apache/nuttx/issues/11155#issuecomment-1804773409 @PwnVerse could you please submit a PR with the fix? If you are new to NuttX I suggested looking here first: https://nuttx.apache.org/docs/latest/contributing/index.html --

Re: [I] Failure in compilation of sim_hostusrsock.c due to improper handling of header inclusion for fd_set [nuttx]

2023-11-09 Thread via GitHub
acassis commented on issue #11159: URL: https://github.com/apache/nuttx/issues/11159#issuecomment-1804764162 @PwnVerse very nice! I hope you help to find issue on NuttX fuzzing it! ;-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [PR] Add LVGL defconfig [nuttx]

2023-11-09 Thread via GitHub
acassis commented on PR #11142: URL: https://github.com/apache/nuttx/pull/11142#issuecomment-1804684415 ``` src/esp32_backlight.c: In function 'esp32_set_backlight': Error: src/esp32_backlight.c:56:20: error: 'DISPLAY_BCKL' undeclared (first use in this function); did you mean

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
anchao commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1388412538 ## fs/inode/fs_files.c: ## @@ -51,14 +51,47 @@ * Private Functions /

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
anchao commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1388413063 ## fs/inode/fs_files.c: ## @@ -756,28 +714,18 @@ int nx_close_from_tcb(FAR struct tcb_s *tcb, int fd) /* Perform the protected close operation */ - ret =

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
anchao commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1388411771 ## fs/inode/fs_files.c: ## @@ -51,59 +51,118 @@ * Private Functions /

(nuttx) branch master updated: xtensa/esp32s2: Add SPI slave support

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 9997a858e2 xtensa/esp32s2: Add SPI slave

Re: [PR] xtensa/esp32s2: Add SPI slave support [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 merged PR #11138: URL: https://github.com/apache/nuttx/pull/11138 -- 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] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1388243823 ## fs/inode/fs_files.c: ## @@ -51,59 +51,118 @@ * Private Functions /

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1388243823 ## fs/inode/fs_files.c: ## @@ -51,59 +51,118 @@ * Private Functions /

Re: [I] Failure in compilation of sim_hostusrsock.c due to improper handling of header inclusion for fd_set [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on issue #11159: URL: https://github.com/apache/nuttx/issues/11159#issuecomment-1804130262 could you provide a patch to fix. -- 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

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1387461674 ## fs/inode/fs_files.c: ## @@ -756,28 +714,18 @@ int nx_close_from_tcb(FAR struct tcb_s *tcb, int fd) /* Perform the protected close operation */ - ret

[I] Failure in compilation of sim_hostusrsock.c due to improper handling of header inclusion for fd_set [nuttx]

2023-11-09 Thread via GitHub
PwnVerse opened a new issue, #11159: URL: https://github.com/apache/nuttx/issues/11159 Compilation failure may result due to missing header which defines the fd_set structure in

(nuttx) branch master updated: sama5d2-xult: add support for QSPI flash and nxffs

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 7f48c185c8 sama5d2-xult: add support for QSPI

Re: [PR] sama5d2-xult: add support for QSPI flash and nxffs [nuttx]

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

(nuttx) branch master updated: xtensa/esp32s2: Add rtc heap support

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 77df430f30 xtensa/esp32s2: Add rtc heap

Re: [PR] xtensa/esp32s2: Add rtc heap support [nuttx]

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

(nuttx-apps) branch master updated: testing: Fix cmocka_driver_block give more than once

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 07bbbd541 testing: Fix

Re: [PR] testing: Fix cmocka_driver_block give more than once [nuttx-apps]

2023-11-09 Thread via GitHub
xiaoxiang781216 merged PR #2182: URL: https://github.com/apache/nuttx-apps/pull/2182 -- 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: [I] FS_LARGEFILE config disabled is causing issue with df -h output. [nuttx]

2023-11-09 Thread via GitHub
PetervdPerk-NXP commented on issue #8933: URL: https://github.com/apache/nuttx/issues/8933#issuecomment-1804062917 @davids5 FS_LARGEFILE is for files not for partition size although it bugs out the partition size display value. -- This is an automated message from the Apache Git Service.

Re: [PR] lte/lapi: Remove the PIN feature [nuttx-apps]

2023-11-09 Thread via GitHub
hartmannathan commented on PR #2184: URL: https://github.com/apache/nuttx-apps/pull/2184#issuecomment-1803951314 I noticed the APIs do not have docstrings. Perhaps as @cederom and @raiden00pl suggest, don't delete the APIs? Instead, consider adding a comment block before the functions,

(nuttx-apps) branch master updated: Fix #2181 : LELYCANOPEN_UNPACKNAME comes from extracted tarball directory

2023-11-09 Thread raiden00
This is an automated email from the ASF dual-hosted git repository. raiden00 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 679829412 Fix #2181 :

Re: [I] Compilation failure due to improper handling of CAN utils lely-core package [nuttx-apps]

2023-11-09 Thread via GitHub
raiden00pl closed issue #2181: Compilation failure due to improper handling of CAN utils lely-core package URL: https://github.com/apache/nuttx-apps/issues/2181 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] Fix Compilation failure due to improper handling of extracted directory of lely-core package [nuttx-apps]

2023-11-09 Thread via GitHub
raiden00pl merged PR #2183: URL: https://github.com/apache/nuttx-apps/pull/2183 -- 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:

(nuttx) branch master updated: boards/esp32s3: Link stack checking function and data to SRAM when enable flash or PSRAM driver

2023-11-09 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/nuttx.git The following commit(s) were added to refs/heads/master by this push: new c655870b22 boards/esp32s3: Link stack checking

Re: [PR] boards/esp32s3: Link stack checking function and data to SRAM when enable flash or PSRAM driver [nuttx]

2023-11-09 Thread via GitHub
jerpelea merged PR #11156: URL: https://github.com/apache/nuttx/pull/11156 -- 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] Note flatten [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on code in PR #11153: URL: https://github.com/apache/nuttx/pull/11153#discussion_r1387921013 ## drivers/note/note_driver.c: ## @@ -580,8 +558,7 @@ static void note_record_taskname(pid_t pid, FAR const char *name) ti = (FAR struct

Re: [I] Why kasan.c cannot use to stack overflow check ? the algorithm limit it ? [nuttx]

2023-11-09 Thread via GitHub
xiaoxiang781216 commented on issue #11158: URL: https://github.com/apache/nuttx/issues/11158#issuecomment-1803716138 Since the current implementation doesn't support the stack variables yet, patch is welcome. -- This is an automated message from the Apache Git Service. To respond to the

(nuttx-apps) branch master updated: lte/alt1250: Fix some bugs in alt1250 daemon

2023-11-09 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new efdbaaefd lte/alt1250: Fix some bugs in

Re: [PR] lte/alt1250: Fix some bugs in alt1250 daemon [nuttx-apps]

2023-11-09 Thread via GitHub
xiaoxiang781216 merged PR #2185: URL: https://github.com/apache/nuttx-apps/pull/2185 -- 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:

[I] Why kasan.c cannot use to stack overflow check ? the algorithm limit it ? [nuttx]

2023-11-09 Thread via GitHub
CallonHuang opened a new issue, #11158: URL: https://github.com/apache/nuttx/issues/11158 I try to use "--param asan-stack=1" to the kernel code, but it crashed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] Add Settings Utility and Example App [nuttx-apps]

2023-11-09 Thread via GitHub
TimJTi commented on code in PR #2178: URL: https://github.com/apache/nuttx-apps/pull/2178#discussion_r1387868147 ## examples/settings/Kconfig: ## @@ -0,0 +1,53 @@ +# +# For a description of the syntax of this configuration file, +# see the file kconfig-language.txt in the NuttX

Re: [PR] xtensa/esp32s3: Support multiple PHY init data bin [nuttx]

2023-11-09 Thread via GitHub
tmedicci commented on PR #11157: URL: https://github.com/apache/nuttx/pull/11157#issuecomment-1803631104 I'm running some local testing. Please don't merge it yet. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
raiden00pl commented on PR #11140: URL: https://github.com/apache/nuttx/pull/11140#issuecomment-1803541935 BTW this PR quite drastically reduces the maximum control loop duration for FOC (tested with stm32f405rb which I currently have on the bench). Before this PR: 5502 cycles, with this

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
anchao commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1387776392 ## fs/inode/fs_files.c: ## @@ -278,10 +316,28 @@ void files_releaselist(FAR struct filelist *list) } kmm_free(list->fl_files); +} - /* Destroy the mutex */

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
anchao commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1387776079 ## fs/inode/fs_files.c: ## @@ -51,59 +51,118 @@ * Private Functions /

Re: [PR] Note flatten [nuttx]

2023-11-09 Thread via GitHub
Gary-Hobson commented on code in PR #11153: URL: https://github.com/apache/nuttx/pull/11153#discussion_r1387712727 ## drivers/note/note_driver.c: ## @@ -580,8 +558,7 @@ static void note_record_taskname(pid_t pid, FAR const char *name) ti = (FAR struct

Re: [PR] fs/inode: improve the performance of get file pointer [nuttx]

2023-11-09 Thread via GitHub
raiden00pl commented on code in PR #11140: URL: https://github.com/apache/nuttx/pull/11140#discussion_r1387687536 ## fs/inode/fs_files.c: ## @@ -51,59 +51,118 @@ * Private Functions /

Re: [PR] lte/lapi: Remove the PIN feature [nuttx-apps]

2023-11-09 Thread via GitHub
raiden00pl commented on PR #2184: URL: https://github.com/apache/nuttx-apps/pull/2184#issuecomment-1803388298 Isn't it the user's responsibility to use the API correctly? If the API is dangerous for some reason, it is better to hide it behind an Kconfig option than to remove it completely.