sbfreddie
Well-known member
All PlatformIO users:
This trick will save you a lot of typing when you get an address from the output of the crashReport.
Here is the method I use to generate a list file (.lst) in the same build folder as all the other files that the Compiler generates.
In your Platformio.ini file insert these lines:
extra_scripts =
post_build_ListFile.py
Then place in your main window some where close to the platformio.ini file this file:
View attachment post_build_ListFile.py.pdf
Please remove the .pdf from the end of the attached file before you place it in your main window.
The next time your build your project the list file will be in the build folder with all the other files generated by the build system.
Make sure you do not use spaces in the file name of the project or any other file in your source code as this will cause the post_build_ListFile.py to issue errors as the objdump program does not like spaces in the file name.
Regards,
Ed
This trick will save you a lot of typing when you get an address from the output of the crashReport.
Here is the method I use to generate a list file (.lst) in the same build folder as all the other files that the Compiler generates.
In your Platformio.ini file insert these lines:
extra_scripts =
post_build_ListFile.py
Then place in your main window some where close to the platformio.ini file this file:
View attachment post_build_ListFile.py.pdf
Please remove the .pdf from the end of the attached file before you place it in your main window.
The next time your build your project the list file will be in the build folder with all the other files generated by the build system.
Make sure you do not use spaces in the file name of the project or any other file in your source code as this will cause the post_build_ListFile.py to issue errors as the objdump program does not like spaces in the file name.
Regards,
Ed