this change allows to force the compiler to put the code of a functio…#11
Conversation
|
looking at this ive started to get confused how this all works. |
|
Yes, you can force the compiler to use thumb or arm with this update like THUMB_CODE u16 sum_function() {
u16 i;
u16 sum = 0;
for (i = 0 ; i < 10 ; i++) {
sum += 1;
}
return sum;
} |
How you use this |
|
It's |
^this is what i meant^ |
|
ah ok ! thanks ! |
|
it's better thanks. |
b68793f to
cb0bee7
Compare
this change allows to force the compiler to put the code of a function in thumb or arm mode.
cb0bee7 to
eda685a
Compare
Hello,
Sometimes, I need to change my code with thumb or arm mode for specific usage.
These attributes can help for us.
Regards,