Hmm I'll give that a try for nodemcu thanks
1)
You might be able to override the linker flags in the F4 "project properties". See "extra flags link"
-Wl,-Map,YourProject.map -Wl,--cref
2)
or you can add the linker flags by overriding the default build properties. Notice in your verbose output the property compiler.c.elf.flags=. I think that's what you want.
A. Either edit the platforms.txt file directly. You can find that location by hovering the mover over the tool chain in board manager and clicking the "View source" link that appears in the preview at the bottom of board manager. normally c:\users\yourname\appdata\local\arduino15\packages\esp....\ver
B Or create a board.txt in your project and add the command to that. The board.txt overrides the core. This is is how might look, notice I have added YOUR_FLAGS to the end
compiler.c.elf.flags=compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start {build.float} -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-L{compiler.libc.path}/lib" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read YOUR_FLAGS
If you have copy output to intermediate enabled then the output should end up in project property pages>intermediate_folder\config_name
C:\Users\YOUR_NAME\Documents\Visual Studio 2017\Projects\Tracker1.0\Release
but in any case it will be in the temp build folder
e
All of this can be seen in the verbose output should you want to delve in.