<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 02/04/2020 08:46, Chris Johns wrote:<br>
</p>
<blockquote type="cite"
cite="mid:a10a7ae6-e16a-8f34-f1c9-e93ea2e19220@rtems.org">On
2020-04-02 16:53, Sebastian Huber wrote:
<br>
<blockquote type="cite" style="color: #000000;">Hallo Chris,
<br>
On 21/03/2020 07:45, Sebastian Huber wrote:
<br>
<blockquote type="cite" style="color: #000000;">On 20/03/2020
22:23, Chris Johns wrote:
<br>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">On 20 Mar
2020, at 4:49 pm, Sebastian Huber <a
class="moz-txt-link-rfc2396E"
href="mailto:sebastian.huber@embedded-brains.de"
moz-do-not-send="true"><sebastian.huber@embedded-brains.de></a>
wrote:
<br>
<br>
On 20/03/2020 05:15, Chris Johns wrote:
<br>
<br>
<blockquote type="cite" style="color: #000000;">On 19/3/20
7:52 pm, Sebastian Huber wrote:
<br>
<blockquote type="cite" style="color: #000000;">The
ARMv7-M architecture has no CP-15. The inline
assembly for the
<br>
CP-15 access leads to assembler errors if compiled
with -O0.
<br>
</blockquote>
I would like to understand this one in detail to see why
there is cp15 in the build.
<br>
</blockquote>
In ARMv7-M the system registers are memory mapped.
<br>
<br>
If I compile a Cortex-M based BSP with -O0, then I get:
<br>
<br>
</blockquote>
BSP?
<br>
</blockquote>
For example the atsamv BSP.
<br>
</blockquote>
could you please have a look at this. Being able to build with
-O0 is quite helpful during BSP development.
<br>
</blockquote>
<br>
Is this important for 5.1.0?
</blockquote>
<p>It is not absolutely necessary, but I regularly had to fix this
locally. We have several ARMv7-M based BSPs. This was my first
attempt to address this issue:<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://lists.rtems.org/pipermail/devel/2019-February/024914.html">https://lists.rtems.org/pipermail/devel/2019-February/024914.html</a><br>
</p>
</body>
</html>