Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 63713

Forum Post: RE: No __NOP in C++ for MSP432 with latest CMSIS update??

$
0
0
[quote user="Andreas Terstegge"]But I noticed that the __NOP definition does not produce an error (in contrast to __nop, __wfi and __wfe when being used in C++ mode.[/quote]That is because the TI ARM compiler has the lower case __nop, __wfi and __wfe as intrinsics, but not the upper case __NOP. [I see as of ARM Optimizing C/C++ Compiler v15.12.0.LTS User's Guide SPNU151L the __nop, __wfi and __wfe intrinsics are now documented, whereas when the problem was first found when the v5.2.x compiler was released the intrinsics were missing from the documentation.] [quote user="Andreas Terstegge"]Could this be a solution to the problem?[/quote]Yes, moving the upper case __NOP inline outside of the #ifndef __cplusplus block could be a solution to the problem.

Viewing all articles
Browse latest Browse all 63713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>