Hi all
I'm starting with KDS and I've found a problem on MQX Lite code. It's weird because this error is on PEx generated code (specifically on MQX Lite bean).
The error is at My_Project\MQXLITE\psp\cortex_m\core\M0\dispatch.S, in line 276, and have a error message "Type writing to APSR without specifying a bitmask is deprecated".
I've attached my project for references. Can someone help me?
Original Attachment has been moved to: KDS-problem.zip
解決済! 解決策の投稿を見る。
Hi Oliveira,
I see the error in your project as well....sort of.
The console tab indicates that it is a warning and the problems tab indicates it is an error.
Since the application elf file is generated and I can download and run the application I believe that the problem tab is lying to us (actually guessing this is a KDS issue).
I will submit this to the KDS team to investigate.
Regards,
David
It is the GCC compiler which issues this as a warning.
The thing is that ARM has depreciated some forms of inline assembly, where you can
Can anyone find me a link where the ARM definition for CPSR_c resides? | LinkedIn
I agree with this post above that this is badly documented in the ARM assembler reference manual.
But it means that going forward the new syntax with a bitmask should be used.
Regards,
Erich
Hi Oliveira,
I see the error in your project as well....sort of.
The console tab indicates that it is a warning and the problems tab indicates it is an error.
Since the application elf file is generated and I can download and run the application I believe that the problem tab is lying to us (actually guessing this is a KDS issue).
I will submit this to the KDS team to investigate.
Regards,
David
Hi David
It's true, even with the "error" I can download the program file on FRDM.
Thanks for help.
Regards.