|
|||||||||||
|
Technical Support Support Resources
Product Information |
C166: Serial Example in Getting Started Book failsInformation in this article applies to:
QUESTIONI'm trying to use the serial example in the Getting Started and Creating Applications with µVision and the 166/ST10 manual. The following code:
generates the following warnings and errors.
How can I fix this? ANSWERWarning 140 indicates that the specified function is undefined. In this case, the _testbit_ function. This was a misprint which should have been _testset_. Error 185 indicates that the code in the atomic section is more than 4 instructions. Change the program code for this example function to read as follows:
This solves the warning and error that you received. MORE INFORMATION
SEE ALSO
Last 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.