Skip to content

Commit c1abdc9

Browse files
committed
NRF: Fix ThreadDebug on Nano 33
* ThreadDebug does Not work with the debugging monitor disabled. * Update the comment to reflect what this patch is doing exactly.
1 parent 56cc627 commit c1abdc9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

variants/ARDUINO_NANO33BLE/variant.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ void initVariant() {
140140
pinMode(LED_PWR, OUTPUT);
141141
digitalWrite(LED_PWR, HIGH);
142142

143-
// Errata Nano33BLE - I2C pullup is on SWO line, need to disable TRACE
144-
// was being enabled by nrfx_clock_anomaly_132
145-
CoreDebug->DEMCR = 0;
143+
// Errata Nano33BLE - I2C pullup is controlled by the SWO pin.
144+
// Configure the TRACEMUX to disable routing SWO signal to pin.
146145
NRF_CLOCK->TRACECONFIG = 0;
147146

148147
// FIXME: bootloader enables interrupt on COMPARE[0], which we don't handle

0 commit comments

Comments
 (0)