<p></p>
<p><b>@chrysn</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/12751#discussion_r518685911">boards/common/particle-mesh/bootloader.c</a>:</p>
<pre style='color:#555'>> +#endif
+#ifdef BOARD_PARTICLE_BORON
+    .platform_id = 13,
+#endif
+#ifdef BOARD_PARTICLE_XENON
+    .platform_id = 14,
+#endif
+
+    .module_index = 3, /* MOD_FUNC_MONO_FIRMWARE from dynalib/inc/module_info.h */
+};
+
+#else
+typedef int dont_be_pedantic;
+#endif
+
+/** @} */
</pre>
<p>Looks like it; the original code has a HAL with a <a href="https://github.com/particle-iot/device-os/blob/c21d5b8f39c8a013e19f904800808673f369c6e3/hal/src/nRF52840/core_hal.c#L457"><code>HAL_Core_Enter_Safe_Mode</code> function</a>. It'll need some expanding, but I think I can do that. (Which is nice given the reset procedure needs to fingers and some timing.).</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/12751#discussion_r518685911">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYH4YQFW5SRJN7LQ73DSOPLFZANCNFSM4JPRK5VA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYFJBU6QHWRGCK7S2GLSOPLFZA5CNFSM4JPRK5VKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOD5F5BHA.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/12751#discussion_r518685911",
"url": "https://github.com/RIOT-OS/RIOT/pull/12751#discussion_r518685911",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>