Re: Integrating NuttX to existing C++23 multiplatform application

2025-07-25 Thread Bartek22
Xiang or Masayuki do you have any experience with that and tips? > Wiadomość napisana przez Alan C. Assis w dniu 25 lip > 2025, o godz. 17:29: > > I don't know, I don't use C++ !!! > > Maybe Xiang or Masayuki has some suggestions, because they use it with > NuttX! > > BR, > > Alan > >>

Re: Integrating NuttX to existing C++23 multiplatform application

2025-07-25 Thread Alan C. Assis
I don't know, I don't use C++ !!! Maybe Xiang or Masayuki has some suggestions, because they use it with NuttX! BR, Alan On Fri, Jul 25, 2025 at 12:14 PM Bartek22 wrote: > Thanks for reply, so what is the solution in that case and how can I use > libc++ from arm toolchain to avoid this issue

Re: Integrating NuttX to existing C++23 multiplatform application

2025-07-25 Thread Bartek22
Thanks for reply, so what is the solution in that case and how can I use libc++ from arm toolchain to avoid this issue? Best regards, Bartek > Wiadomość napisana przez Alan C. Assis w dniu 25 lip > 2025, o godz. 16:57: > > Hi Bart, > > You cannot replace NuttX libc with another external l

Re: Integrating NuttX to existing C++23 multiplatform application

2025-07-25 Thread Alan C. Assis
Hi Bart, You cannot replace NuttX libc with another external libc because the kernel is tightly coupled to it. Some functions could work fine, but others will create issues. In the past all kernel libc used the same name as these libc functions for applications, not when a function is kernel spec

Re: Integrating NuttX to existing C++23 multiplatform application

2025-07-25 Thread Bartek22
I tried to compile simple app from NuttX with standard library from toolchain and I'm getting this errors: arm-none-eabi/include/stdlib.h:39:3: error: conflicting declaration 'typedef struct div_t div_t' 39 | } div_t; | ^ Because it sees definitions from NuttX and toolchain library, I'm using l

Integrating NuttX to existing C++23 multiplatform application

2025-07-25 Thread Bartek22
I’m working on integrating NuttX into an existing C++ project, but I’m facing several issues. Background Initially, I tried using symbolic links to connect my application to NuttX apps/external and build everything with CMake. However, since NuttX does not fully support CMake, I changed my approac