Re: Problem with exported lib

2023-01-09 Thread Gustavo Henrique Nihei
Hi Roberto, The "export" command packs header and object files generated during build, allowing the user to import them into custom applications and out-of-tree boards. Linker scripts and compiler/linker flags should not be exported because those, in general, are both board and application-specifi

Re: Problem with exported lib

2023-01-08 Thread Roberto Bucher
Thanks Gustavo sorry for late replay.. Why are not all these flags and the correct ld.tmp files exported when we generate the nuttx-export file? It will be corrected in the future or do we modify our files that automatically generate nuttx binaries to this? Thanks again Roberto On 1/5/2

Re: Problem with exported lib

2023-01-05 Thread Gustavo Henrique Nihei
Hi Roberto, Since https://github.com/apache/nuttx/pull/7208 the NuttX build system preprocesses every linker script file of a given configuration. We've recently updated the makefiles and linker scripts of every supported chip from the ESP32 family to benefit from this. So you may need to update y