<p>From a first quick look, I think the <code>symlinks</code> could be removed.<br>
It is not a pattern we use that much in RIOT.</p>
<p>The easy ones are:</p>
<ul>
<li><code>INCLUDES += -I$(RIOTBOARD)/bluepill/include</code> for the headers</li>
<li><code>export OPENOCD_CONFIG = $(RIOTBOARD)/common/stm32f103c8/dist/openocd.cfg</code></li>
</ul>
<p>For <code>board.c</code>, I can think of another hack to still use the <code>bluepill</code> board.<br>
I did one in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="491199371" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/12183" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/12183/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/12183">#12183</a> for the <code>tests/external_board_native/external_boards/native/Makefile</code> file.<br>
Defining the <code>bluepill-128k/Makefile</code> that it is defining the <code>boards_bluepill_128k</code> module and set <code>DIRS</code> to go in the <code>bluepill</code>.</p>

<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/12169?email_source=notifications&email_token=ABE7WYGWORCTTJCNEGCVAC3QIZ5BTA5CNFSM4ITRZXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IJD3Y#issuecomment-529568239">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYGKAV55TVY6AQOFIN3QIZ5BTANCNFSM4ITRZXPQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYBJYU6OK5HXTJDVLTTQIZ5BTA5CNFSM4ITRZXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IJD3Y.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/12169?email_source=notifications\u0026email_token=ABE7WYGWORCTTJCNEGCVAC3QIZ5BTA5CNFSM4ITRZXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IJD3Y#issuecomment-529568239",
"url": "https://github.com/RIOT-OS/RIOT/pull/12169?email_source=notifications\u0026email_token=ABE7WYGWORCTTJCNEGCVAC3QIZ5BTA5CNFSM4ITRZXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IJD3Y#issuecomment-529568239",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>