|
|||||||||||
Technical Support Support Resources
Product Information |
BL51: SFRs Listed for Each Source FileInformation in this article applies to:
QUESTIONWhen I create a program with many files, I define all of my SFRs in a header file that is included in all files in my project. In the linker .M51 file, all definitions of the SFRs are included. This makes it difficult to find my REAL variables versus the SFRs. See how P0 is listed 2 times in the following:
Is there a way around this? ANSWERUnfortunately, the way the linker lists the global symbols is by source file. So, SFRs that are declared in multiple modules will be listed multiple times. One thing you may want to try is using the Source Browser in µVision. You may enable it from the Project Options - Output dialog. Then, from the View menu, select Source Browser. You can use all kinds of filters to locate variables, #defines, SFRs, functions, and so on. The source browser also shows where the symbol is defined and where it is used. You can double-click to go to that line in the source. MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.