We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92a77f commit 710c2dcCopy full SHA for 710c2dc
supervisor/shared/safe_mode.c
@@ -151,9 +151,13 @@ void print_safe_mode_message(safe_mode_t reason) {
151
case GC_ALLOC_OUTSIDE_VM:
152
serial_write_compressed(translate("Attempted heap allocation when MicroPython VM not running."));
153
break;
154
+#ifdef SOFTDEVICE_PRESENT
155
+ // defined in ports/nrf/bluetooth/bluetooth_common.mk
156
+ // will print "Unknown reason" if somehow encountered on other ports
157
case NORDIC_SOFT_DEVICE_ASSERT:
158
serial_write_compressed(translate("Nordic Soft Device failure assertion."));
159
160
+#endif
161
case FLASH_WRITE_FAIL:
162
serial_write_compressed(translate("Failed to write internal flash."));
163
0 commit comments