Re: [I] Simulator export fails [nuttx]

2024-03-18 Thread via GitHub
nicolas71640 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-2003221901 All right ! Well, thank you @xiaoxiang781216. I think we are going to follow your advice ! Closing this issue then ;) -- This is an automated message from the Apache

Re: [I] Simulator export fails [nuttx]

2024-03-18 Thread via GitHub
nicolas71640 closed issue #11863: Simulator export fails URL: https://github.com/apache/nuttx/issues/11863 -- 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,

Re: [I] Simulator export fails [nuttx]

2024-03-16 Thread via GitHub
xiaoxiang781216 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-2001980752 Qemu may better than sim in this case, because both toolchain and export/import is same as the real device. Most arch (Cortex-A/M/R, ARM64, RISCV32/64 and XTENSA) has the

Re: [I] Simulator export fails [nuttx]

2024-03-16 Thread via GitHub
nicolas71640 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-2001893218 We wanted to use the simulator for test purposes. We thought it would be a simple way to have our application packaged with nuttx in a very testable/instrumentable environment

Re: [I] Simulator export fails [nuttx]

2024-03-15 Thread via GitHub
xiaoxiang781216 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-2001587439 > @nicolas71640 I think your assumptions/findings are mostly corrects. > Yes, sim has verry special linking process, which isn't fit well with the current

Re: [I] Simulator export fails [nuttx]

2024-03-15 Thread via GitHub
acassis commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-183272 @nicolas71640 I think your assumptions/findings are mostly corrects. @xiaoxiang781216 @anchao any idea how to make the simulator to export the symbols correctly? -- This is

Re: [I] Simulator export fails [nuttx]

2024-03-15 Thread via GitHub
nicolas71640 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1999881291 Hi everyone ! After a bit of investigation, I'm beginning to understand how the simulator work, and therefore how it compiled/linked. If you allow me, I'll sum up what

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
nicolas71640 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991933886 I'm not using cmake. I'm using make targets "export" and "import". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
xiaoxiang781216 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991901900 we export and import only with make, not try export with make and build with cmake. Your usage doesn't coverage by daily ci or even mention in document. -- This is an

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
nicolas71640 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991822092 @xiaoxiang781216 What do you mean by "only for Makefile" ? as said I said here : https://github.com/apache/nuttx/issues/11863#issuecomment-1991042732 without any cmake

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
xiaoxiang781216 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991447885 Yes, but only for Makefile -- 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

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
acassis commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991238357 @nicolas71640 I got same errors you got: ``` LD: nuttx ld --entry=__start -Wl,--gc-sections -Wl,-Ttext-segment=0x40 -Wl,-Map=/home/alan/nuttxspace/nuttx/nuttx.map

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
nicolas71640 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991042732 Thank you all for your help. As I understand it, @acassis and @xuxin930 you suggest to use the export AND Import script to us the Makefile to build the final binary. I

Re: [I] Simulator export fails [nuttx]

2024-03-12 Thread via GitHub
leducp commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1990998302 I think there is a quiproquo here: we are using CMake as our project tool, but we build NuttX with Make file. The exported CMake toolchain file is based on the export.sh script and I

Re: [I] Simulator export fails [nuttx]

2024-03-11 Thread via GitHub
xuxin930 commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1989772048 hi @acassis @nicolas71640 Thank you for your reminder  The current CMake base does not support the `import` `export` feat. We considered using `cmake install `during the

Re: [I] Simulator export fails [nuttx]

2024-03-11 Thread via GitHub
acassis commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1989058094 @xuxin930 since you are fixing the CMake, could you please take a look? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [I] Simulator export fails [nuttx]

2024-03-07 Thread via GitHub
acassis commented on issue #11863: URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1983670449 Hi @nicolas71640 do you need to use CMakefile? Maybe the export building using Makefile still working. There is an old Documentation (that didn't migrate to our new Documentation/)