Skip to content

Commit 275e2fd

Browse files
authored
Merge pull request #141 from iabdalkader/nrf_debug_fix
NRF: Fix ThreadDebug on Nano 33
2 parents 56cc627 + c1abdc9 commit 275e2fd

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)