fdcavalcanti commented on issue #17809: URL: https://github.com/apache/nuttx/issues/17809#issuecomment-3841510863
> > Do you run on a custom board? This could explain linker script issues. > > No, my board only have a esp32 module and an imu, this is my way to get linker script: > > 1. Edit .config by menuconfig. (Bluetooth status, mcu boot status etc.. Making it is same with defconfig in px4) > > 2. Make > > 3. Ctrl c to stop linking just before ld finished > > 4. Copy all required *.ld.tmp (files path can be seen in terminal ) to px4 board definition. > > 5. Edit CMakeLists in px4 to add these linker script. Yeah this seems sketchy and could be introducting some issues. Read the content of the linker script on `boards/xtensa/esp32/esp32-devkitc/scripts/Make.defs`, as it should point out to the proper scripts on `boards/xtensa/esp32/common/scripts`. Why don't you simply add the PX4 board definition to NuttX board? Or use it as an external board? Sorry if this sound basic but I'm not familiar with PX4. By the way, I mentioned before, during the many changes we did, there were lots of things changed on the Make build system and we do not support CMake right now. There is a chance your CMake setup is missing some stuff. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
