<h3>Contribution description</h3>
<p>This PR attempts to add riotboot support to the nrf52 class mcu's. Unfortunately currently not compatible with the <code>nordic_softdevice_ble</code> package.</p>
<h3>Testing procedure</h3>
<p>the default example (with and without bootloader) and the <code>tests/riotboot</code> test should both work with this PR</p>
<h3>Issues/PRs references</h3>
<p>None</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/11126'>https://github.com/RIOT-OS/RIOT/pull/11126</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>nrf52: use cortexm.ld script when applicable</li>
  <li>nrf52: include riotboot feature when possible</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11126/files#diff-0">boards/common/nrf52/Makefile.features</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11126/files#diff-1">boards/common/nrf52/Makefile.include</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11126/files#diff-2">cpu/nrf52/Makefile.include</a>
    (13)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11126/files#diff-3">cpu/nrf52/ldscripts/nrf52832xxaa.ld</a>
    (31)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11126/files#diff-4">cpu/nrf52/ldscripts/nrf52840xxaa.ld</a>
    (27)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11126.patch'>https://github.com/RIOT-OS/RIOT/pull/11126.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11126.diff'>https://github.com/RIOT-OS/RIOT/pull/11126.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11126">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YEfyD5L9OcgPSeShaKI56QOSKv7dks5vURU1gaJpZM4bjMbG">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YPCpsKFcQj9OoQrSLbmsSPFPoyGIks5vURU1gaJpZM4bjMbG.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"nrf52: Add riotboot support (#11126)"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11126"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11126",
"url": "https://github.com/RIOT-OS/RIOT/pull/11126",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>