如何从 platformio 生成 Map 文件?框架是 mbed 的 stm32
我尝试以各种方式传递链接器标志,但出现各种错误
1. build_flags= -Wl, -Map=mapfile.map
2. build_flags= -Wl, Map=mapfile.map
因为1.我收到了错误消息arm-none-eabi-gcc: error: unrecognized command line option '-Map=mapfile.map'
因为2.我收到了链接器错误消息ld.exe: error: 'Map=mapfile.map' not found