Re: [PR] mempool:change sq to dq,free to head, alloc form tail [nuttx]

2023-12-12 Thread via GitHub
anchao commented on code in PR #11351: URL: https://github.com/apache/nuttx/pull/11351#discussion_r1423605797 ## mm/mempool/mempool.c: ## @@ -46,43 +46,56 @@ * Private Functions / -static inline FA

Re: [PR] mempool:change sq to dq,free to head, alloc form tail [nuttx]

2023-12-12 Thread via GitHub
anchao commented on code in PR #11351: URL: https://github.com/apache/nuttx/pull/11351#discussion_r1423605797 ## mm/mempool/mempool.c: ## @@ -46,43 +46,56 @@ * Private Functions / -static inline FA

Re: [PR] mempool:change sq to dq,free to head, alloc form tail [nuttx]

2023-12-12 Thread via GitHub
anchao commented on code in PR #11351: URL: https://github.com/apache/nuttx/pull/11351#discussion_r1423614992 ## mm/mempool/mempool.c: ## @@ -46,43 +46,56 @@ * Private Functions / -static inline FA

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pussuw commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1423646862 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RISCV_PCRE

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pussuw commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1423646862 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RISCV_PCRE

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

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on PR #11202: URL: https://github.com/apache/nuttx/pull/11202#issuecomment-1851858276 > I found another shorter solution to the problem and I will push it in a separate draft PR for your evaluation @acassis @xiaoxiang781216 @casaroli do you have any update?

[PR] nshlib/ifconfig: Add error print for `inet_pton` fail [nuttx-apps]

2023-12-12 Thread via GitHub
wengzhe opened a new pull request, #2230: URL: https://github.com/apache/nuttx-apps/pull/2230 ## Summary nshlib/ifconfig: Add error print for `inet_pton` fail ## Impact ifconfig ## Testing manually: ``` > ifconfig wlan0 inet6 add fb nsh: ifconfig: argument inv

[PR] change gd32f470z board code [nuttx]

2023-12-12 Thread via GitHub
GD32-MCU opened a new pull request, #11373: URL: https://github.com/apache/nuttx/pull/11373 ## Summary ## Impact ## Testing -- 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 t

Re: [I] esp32s3: support lowpower mode? [nuttx-apps]

2023-12-12 Thread via GitHub
tmedicci commented on issue #2219: URL: https://github.com/apache/nuttx-apps/issues/2219#issuecomment-1851929380 Hi @dapeng0512, this feature is in our backlog but we have no due date for it to be delivered. If you can contribute to this implementation, we'll be glad to help you throughout

Re: [PR] change gd32f470z board code [nuttx]

2023-12-12 Thread via GitHub
acassis commented on PR #11373: URL: https://github.com/apache/nuttx/pull/11373#issuecomment-1851980227 Hi @GD32-MCU nice work! Please include a proper commit log message saying the improvements your patch is adding to mainline code. -- This is an automated message from the Apache Git Ser

Re: [PR] change gd32f470z board code [nuttx]

2023-12-12 Thread via GitHub
acassis commented on PR #11373: URL: https://github.com/apache/nuttx/pull/11373#issuecomment-1851983295 @GD32-MCU also please include documentation about your board and a picture. It seems empty: https://nuttx.apache.org/docs/latest/platforms/arm/gd32f4/index.html -- This is an automated

Re: [PR] arch/riscv: Add support for Bouffalo Lab BL808 SoC (T-Head C906) [nuttx]

2023-12-12 Thread via GitHub
acassis commented on code in PR #11371: URL: https://github.com/apache/nuttx/pull/11371#discussion_r1423963947 ## arch/risc-v/src/bl808/Kconfig: ## @@ -0,0 +1,21 @@ +# +# For a description of the syntax of this configuration file, +# see the file kconfig-language.txt in the Nutt

Re: [PR] mempool:change sq to dq,free to head, alloc form tail [nuttx]

2023-12-12 Thread via GitHub
acassis commented on PR #11351: URL: https://github.com/apache/nuttx/pull/11351#issuecomment-1852008610 > dq_for_every is a new macro added in this patch: https://private-user-images.githubusercontent.com/18066964/289719895-d4ecccbc-cd69-4258-8b2a-cf1d962a3507.png?jwt=eyJhbGciOiJIUzI1NiIsInR5

Re: [PR] boards/stm32h7/h747ai: Support for generic STM32H747AI MCU [nuttx]

2023-12-12 Thread via GitHub
acassis commented on code in PR #11291: URL: https://github.com/apache/nuttx/pull/11291#discussion_r1423978662 ## boards/arm/stm32h7/heliguy_fmu-h747ai/configs/nsh_cm7_rptun/defconfig: ## @@ -9,6 +9,7 @@ # CONFIG_NSH_DISABLE_PS is not set # CONFIG_STANDARD_SERIAL is not set #

Re: [PR] Add loading of ET_DYN shared object test to sotest [nuttx-apps]

2023-12-12 Thread via GitHub
acassis commented on PR #2026: URL: https://github.com/apache/nuttx-apps/pull/2026#issuecomment-1852030002 > Also, as far as I can tell the following archs can support sotest (i.e. it's a selectable Kconfig option): > > 1. ./boards/xtensa/esp32/esp32-devkitc/configs/sotest/defconf

Re: [PR] arch/riscv: Add support for Bouffalo Lab BL808 SoC (T-Head C906) [nuttx]

2023-12-12 Thread via GitHub
lupyuen commented on code in PR #11371: URL: https://github.com/apache/nuttx/pull/11371#discussion_r1424012546 ## arch/risc-v/src/bl808/Kconfig: ## @@ -0,0 +1,21 @@ +# +# For a description of the syntax of this configuration file, +# see the file kconfig-language.txt in the Nutt

[PR] riscv_pmp.c: Revert LOG2_CEIL back to run-time log2ceil function [nuttx]

2023-12-12 Thread via GitHub
pussuw opened a new pull request, #11374: URL: https://github.com/apache/nuttx/pull/11374 ## Summary The macro LOG2_CEIL is intended to be used in the pre-processor phase. If used run-time it will generate a massive amount of extra code (~3.5K) which is a problem, as the PMP configuratio

[PR] cmake: fix NUTTX_COMMON_DIR [nuttx]

2023-12-12 Thread via GitHub
raiden00pl opened a new pull request, #11375: URL: https://github.com/apache/nuttx/pull/11375 ## Summary - cmake: NUTTX_COMMON_DIR must be set after .config definitions are included otherwise NUTTX_COMMON_DIR is empty if CONFIG_ARCH_BOARD_COMMON is set from menuconfig ## Imp

Re: [PR] net/udp: Add check when sending too big packet without IP frag [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 merged PR #11372: URL: https://github.com/apache/nuttx/pull/11372 -- 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: commits-unsubscr...@nu

(nuttx) branch master updated: net/udp: Add check when sending too big packet without IP frag

2023-12-12 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 22b6076f26 net/udp: Add check when sending too

Re: [PR] net: Support multiple IPv6 address per netdev [nuttx]

2023-12-12 Thread via GitHub
PetteriAimonen commented on PR #11054: URL: https://github.com/apache/nuttx/pull/11054#issuecomment-1852235025 @wengzhe I'm having some trouble getting this to work on my system. The NuttX device is responding to Neighbor Solicitation only on the first interface address. I think this is bec

Re: [PR] cmake: fix NUTTX_COMMON_DIR [nuttx]

2023-12-12 Thread via GitHub
hartmannathan commented on code in PR #11375: URL: https://github.com/apache/nuttx/pull/11375#discussion_r1424175290 ## CMakeLists.txt: ## @@ -388,6 +379,15 @@ include(FetchContent) set(FETCHCONTENT_QUIET OFF) +# Board common direcotry ##

Re: [PR] cmake: fix NUTTX_COMMON_DIR [nuttx]

2023-12-12 Thread via GitHub
raiden00pl commented on code in PR #11375: URL: https://github.com/apache/nuttx/pull/11375#discussion_r1424181167 ## CMakeLists.txt: ## @@ -388,6 +379,15 @@ include(FetchContent) set(FETCHCONTENT_QUIET OFF) +# Board common direcotry #

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
fjpanag commented on PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#issuecomment-1852331724 @TimJTi If you need to reduce the memory use of the map, why don't you try to use an [RLE](https://en.wikipedia.org/wiki/Run-length_encoding) or a [KVL](https://en.wikipedia.org/wiki/K

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
fjpanag commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424132629 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424248218 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424253039 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424254866 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424261309 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424266413 ## system/settings/storage_eeprom.c: ## @@ -0,0 +1,408 @@ +/ + * apps/system/settings/stor

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424268982 ## system/settings/storage_eeprom.c: ## @@ -0,0 +1,408 @@ +/ + * apps/system/settings/stor

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424273313 ## include/system/storage.h: ## @@ -0,0 +1,66 @@ +/ Review Comment: Yes, agreed. Over-

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424277974 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424275728 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424282005 ## system/settings/storage_eeprom.c: ## @@ -0,0 +1,408 @@ +/ + * apps/system/settings/stor

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424295571 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_R

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#issuecomment-1852420562 > @TimJTi If you need to reduce the memory use of the map, why don't you try to use an [RLE](https://en.wikipedia.org/wiki/Run-length_encoding) or a [KVL](https://en.wikipedia.org/wiki/

Re: [PR] arch/riscv: Add support for Bouffalo Lab BL808 SoC (T-Head C906) [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 merged PR #11371: URL: https://github.com/apache/nuttx/pull/11371 -- 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: commits-unsubscr...@nu

Re: [PR] riscv_pmp.c: Revert LOG2_CEIL back to run-time log2ceil function [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 merged PR #11374: URL: https://github.com/apache/nuttx/pull/11374 -- 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: commits-unsubscr...@nu

(nuttx) branch master updated: riscv_pmp.c: Revert LOG2_CEIL back to run-time log2ceil function

2023-12-12 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 7bcbaa5dc7 riscv_pmp.c: Revert LOG2_CEIL back

(nuttx) branch master updated: arch/riscv: Add support for Bouffalo Lab BL808 SoC (T-Head C906)

2023-12-12 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 614570cdcb arch/riscv: Add support for Bouffal

Re: [PR] riscv_pmp.c: Revert LOG2_CEIL back to run-time log2ceil function [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on code in PR #11374: URL: https://github.com/apache/nuttx/pull/11374#discussion_r1424301435 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -89,6 +88,32 @@ typedef struct pmp_entry_s pmp_entry_t; * Private Functions ***

Re: [PR] riscv_pmp.c: Revert LOG2_CEIL back to run-time log2ceil function [nuttx]

2023-12-12 Thread via GitHub
pussuw commented on code in PR #11374: URL: https://github.com/apache/nuttx/pull/11374#discussion_r1424306398 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -89,6 +88,32 @@ typedef struct pmp_entry_s pmp_entry_t; * Private Functions

Re: [PR] Add loading of ET_DYN shared object test to sotest [nuttx-apps]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on PR #2026: URL: https://github.com/apache/nuttx-apps/pull/2026#issuecomment-1852438267 Yes, or even better to move to Toolchain.defs, so it could be shared between boards -- This is an automated message from the Apache Git Service. To respond to the message, pl

Re: [PR] riscv_pmp.c: Revert LOG2_CEIL back to run-time log2ceil function [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on code in PR #11374: URL: https://github.com/apache/nuttx/pull/11374#discussion_r1424314871 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -89,6 +88,32 @@ typedef struct pmp_entry_s pmp_entry_t; * Private Functions ***

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424329448 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424330938 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424335532 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424341724 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] upgrade llvm version to 17.0.6 [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on PR #11301: URL: https://github.com/apache/nuttx/pull/11301#issuecomment-1852490307 @trns1997 I have your patch which could pass ci now. sim:matter is disabled because CMake script need be modified to work with new libcxx. @zhhyu7 and @xuxin930 will fix it tomor

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424386549 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424386549 ## system/settings/settings.c: ## @@ -0,0 +1,1717 @@ +/ + * apps/system/settings/settings.

Re: [PR] cmake: fix NUTTX_COMMON_DIR [nuttx]

2023-12-12 Thread via GitHub
acassis merged PR #11375: URL: https://github.com/apache/nuttx/pull/11375 -- 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: commits-unsubscr...@nuttx.apac

(nuttx) branch master updated: cmake: NUTTX_COMMON_DIR must be set after .config definitions are included

2023-12-12 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis 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 267d039295 cmake: NUTTX_COMMON_DIR must be set a

Re: [PR] Add Settings Utility and example app [nuttx-apps]

2023-12-12 Thread via GitHub
TimJTi commented on code in PR #2228: URL: https://github.com/apache/nuttx-apps/pull/2228#discussion_r1424512060 ## include/system/settings.h: ## @@ -0,0 +1,346 @@ +/ + * apps/include/system/settings.h +

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424526580 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pussuw commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424557387 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RISCV_PCRE

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pussuw commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424558244 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RISCV_PCRE

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pkarashchenko commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424584855 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RIS

Re: [PR] Add loading of ET_DYN shared object test to sotest [nuttx-apps]

2023-12-12 Thread via GitHub
nealef commented on PR #2026: URL: https://github.com/apache/nuttx-apps/pull/2026#issuecomment-1853036847 > Yes, or even better to move to Toolchain.defs, so it could be shared between boards sim doesn't have `Toolchain.defs` so I used: `boards/sim/sim/sim/scripts/Make.defs`. For RIS

(nuttx-website) branch asf-site updated: Publishing web: 36ddd7c60a8230335eda886c909bc938739114a2 docs: 267d039295cd76fc44a93a30fa94d48bc9cf07e2

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

(nuttx) branch master updated: riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly

2023-12-12 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 996625ec58 riscv/arch_elf.c: Handle PCREL_HI20

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 merged PR #11322: URL: https://github.com/apache/nuttx/pull/11322 -- 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: commits-unsubscr...@nu

[PR] boards/riscv: Add support for PINE64 Ox64 BL808 SBC [nuttx]

2023-12-12 Thread via GitHub
lupyuen opened a new pull request, #11377: URL: https://github.com/apache/nuttx/pull/11377 ## Summary This PR adds support for PINE64 Ox64 64-bit RISC-V SBC, based on Bouffalo Lab BL808 SoC (T-Head C906 Core). Most of the code is derived from NuttX for Star64 JH7110. [The source file

Re: [I] cxxfilt was included in official NuttX documentation install but is not present on Ubuntu [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on issue #11376: URL: https://github.com/apache/nuttx/issues/11376#issuecomment-1853131100 I am using Ubuntu 22.04, the installation run without problem. @Gary-Hobson do you encounter the similar problem? -- This is an automated message from the Apache Git Servic

Re: [I] cxxfilt was included in official NuttX documentation install but is not present on Ubuntu [nuttx]

2023-12-12 Thread via GitHub
Gary-Hobson commented on issue #11376: URL: https://github.com/apache/nuttx/issues/11376#issuecomment-1853176664 I am using ubuntu 22.04, but I reproduced this problem in docker I found the reason and solution on stackoverflow: https://stackoverflow.com/questions/75602063/pip-install-

Re: [PR] mempool:change sq to dq,free to head, alloc form tail [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 commented on code in PR #11351: URL: https://github.com/apache/nuttx/pull/11351#discussion_r1424795529 ## mm/mempool/mempool.c: ## @@ -46,43 +46,56 @@ * Private Functions / -static

Re: [PR] xtensa/esp32s3: Tasks use SPIRAM as stack can do SPI flash read/write/erase/map/unmap [nuttx]

2023-12-12 Thread via GitHub
cwespressif commented on code in PR #11340: URL: https://github.com/apache/nuttx/pull/11340#discussion_r1424811783 ## arch/xtensa/src/esp32s3/esp32s3_spiflash_mtd.c: ## @@ -194,9 +367,20 @@ static int esp32s3_erase(struct mtd_dev_s *dev, off_t startblock, return ret;

Re: [PR] net: Support multiple IPv6 address per netdev [nuttx]

2023-12-12 Thread via GitHub
wengzhe commented on PR #11054: URL: https://github.com/apache/nuttx/pull/11054#issuecomment-1853225126 > @wengzhe I'm having some trouble getting this to work on my system. The NuttX device is responding to Neighbor Solicitation only on the first interface address. I think this is because

[PR] netdev/ipv6: Move `xxx_ipv6multicast` from arch to common code [nuttx]

2023-12-12 Thread via GitHub
wengzhe opened a new pull request, #11378: URL: https://github.com/apache/nuttx/pull/11378 ## Summary ## Impact ## Testing -- 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 th

[PR] arch/risc-v: Initial support for CanMV-k230 board [nuttx]

2023-12-12 Thread via GitHub
yf13 opened a new pull request, #11379: URL: https://github.com/apache/nuttx/pull/11379 The code is mainly derived from the NuttX qemu-rv/rv-virt codebase. Major changes: - boards/Kconfig: add new BOARD_K230_CANMV - arch/risc-v/Kconfig: add new CHIP_K230 - arch/risc

Re: [PR] net: Support multiple IPv6 address per netdev [nuttx]

2023-12-12 Thread via GitHub
wengzhe commented on PR #11054: URL: https://github.com/apache/nuttx/pull/11054#issuecomment-1853277974 Hi @PetteriAimonen , I created a PR for this case: https://github.com/apache/nuttx/pull/11378, could you please have a try? But there's one thing I'm not sure: now I add `g_ipv6_ethallnod

Re: [PR] xtensa/esp32s3: Tasks use SPIRAM as stack can do SPI flash read/write/erase/map/unmap [nuttx]

2023-12-12 Thread via GitHub
xiaoxiang781216 merged PR #11340: URL: https://github.com/apache/nuttx/pull/11340 -- 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: commits-unsubscr...@nu

(nuttx) branch master updated: xtensa/esp32s3: Tasks use SPIRAM as stack can do SPI flash read/write/erase/map/unmap

2023-12-12 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 62a6a0ab4d xtensa/esp32s3: Tasks use SPIRAM as

(nuttx-apps) branch master updated: nshlib/ifconfig: Add error print for `inet_pton` fail

2023-12-12 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new b7c5bdbdc nshlib/ifconfig: Add error prin

Re: [PR] nshlib/ifconfig: Add error print for `inet_pton` fail [nuttx-apps]

2023-12-12 Thread via GitHub
xiaoxiang781216 merged PR #2230: URL: https://github.com/apache/nuttx-apps/pull/2230 -- 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: commits-unsubscr...

Re: [PR] riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly [nuttx]

2023-12-12 Thread via GitHub
pussuw commented on code in PR #11322: URL: https://github.com/apache/nuttx/pull/11322#discussion_r1424930414 ## libs/libc/machine/risc-v/arch_elf.c: ## @@ -317,58 +396,101 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym, break; case R_RISCV_PCRE