[PATCH] libdebugger: Fix ARMv7-M with -O0

Chris Johns chrisj at rtems.org
Fri Mar 20 21:23:32 UTC 2020


> On 20 Mar 2020, at 4:49 pm, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>> On 20/03/2020 05:15, Chris Johns wrote:
>>> On 19/3/20 7:52 pm, Sebastian Huber wrote:
>>> The ARMv7-M architecture has no CP-15.  The inline assembly for the
>>> CP-15 access leads to assembler errors if compiled with -O0.
>> I would like to understand this one in detail to see why there is cp15 in the build.
> In ARMv7-M the system registers are memory mapped.
> If I compile a Cortex-M based BSP with -O0, then I get:
> 
BSP?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200321/1e3391da/attachment-0001.html>


More information about the devel mailing list