<h3>Contribution description</h3>
<p>Similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="624865754" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/14145" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/14145/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/14145">#14145</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="624850857" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/14144" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/14144/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/14144">#14144</a>, this PR restores the GPIO structure in the stm32f1 CMSIS headers and adapter the GPIO driver accordingly.</p>

<h3>Testing procedure</h3>
<ul>
<li>A green Murdock</li>
<li>Code size should remain the same</li>
<li>No functional regression</li>
</ul>
<p>I tested <code>examples/default</code> on iotlab-m3 and could send MAC layer packets between 2 motes.</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/14147'>https://github.com/RIOT-OS/RIOT/pull/14147</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>cpu/stm32f1: restore gpio struct to default in CMSIS header</li>
  <li>cpu/stm32f1: adapt gpio driver and usage to CMSIS struct</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/14147/files#diff-2f3259384ba0f43683301be7832a409c">cpu/stm32/cpu_init.c</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/14147/files#diff-ecf2d6ac9ed5342bdb83c5fda7a824dd">cpu/stm32/include/vendor/stm32f103xb.h</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/14147/files#diff-6e1454db48cafbd5b6f53206be12dec6">cpu/stm32/include/vendor/stm32f103xe.h</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/14147/files#diff-cc4a27a122db5256007f6a5f8236b12e">cpu/stm32/periph/gpio_f1.c</a>
    (12)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/14147.patch'>https://github.com/RIOT-OS/RIOT/pull/14147.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/14147.diff'>https://github.com/RIOT-OS/RIOT/pull/14147.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/14147">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBOA4T2Q6KMW3YAI7DRTPHBBANCNFSM4NKLQYPQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYH4T2CWUA7WFRWXIHLRTPHBBA5CNFSM4NKLQYP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JJ7U66Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/14147",
"url": "https://github.com/RIOT-OS/RIOT/pull/14147",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>