We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello There's one source file which contais several functions. Some of functions should be generated ARM mode code and the other functions should be generated thumb code. I read the examples of interworking in the Keil MDK and I found that it is easy to set all the functions in one file to generate ARM code. But I didn't found how to set part of the functions to generate ARM code. In IAR, there's a keyword named __arm which sets the function to generate ARM code. Is there a similar keyword in Keil MDK? Who can tell me how to do it? Thanks.
There are two pragmas (described in the user manual):
#pragma arm #pragma thumb