Skip to content

Commit fe0f951

Browse files
committed
Merge pull request #235 from gamnes/master
Include support for nRF52 board ID 1101
2 parents 6872bbc + c24e54c commit fe0f951

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

binaries/l1_nrf52-dk.bin

2 KB
Binary file not shown.

pyOCD/board/mbed_board.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def __init__(self, name, target, binary):
5353
"0400": BoardInfo( "maxwsnenv", "maxwsnenv", "l1_maxwsnenv.bin", ),
5454
"0405": BoardInfo( "max32600mbed", "max32600mbed", "l1_max32600mbed.bin", ),
5555
"1100": BoardInfo( "nRF51-DK", "nrf51", "l1_nrf51-dk.bin", ),
56+
"1101": BoardInfo( "nRF52-DK", "nrf52", "l1_nrf52-dk.bin", ),
5657
"2201": BoardInfo( "WIZwik_W7500", "w7500", "l1_w7500mbed.bin", ),
5758
"9900": BoardInfo( "Microbit", "nrf51", "l1_microbit.bin", ),
5859
"1114": BoardInfo("mbed LPC1114FN28", "lpc11xx_32", "l1_mbed_LPC1114FN28.bin",),

pyOCD/target/target_nrf52.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
from .memory_map import (FlashRegion, RamRegion, MemoryMap)
2020
import logging
2121

22-
# NRF52 specific registers
23-
RESET = 0x40000544
24-
RESET_ENABLE = (1 << 0)
25-
2622
class NRF52(CortexM):
2723

2824
memoryMap = MemoryMap(
@@ -38,9 +34,4 @@ def resetn(self):
3834
reset a core. After a call to this function, the core
3935
is running
4036
"""
41-
#Regular reset will kick NRF out of DBG mode
42-
logging.debug("target_nrf52.reset: enable reset pin")
43-
self.writeMemory(RESET, RESET_ENABLE)
44-
#reset
45-
logging.debug("target_nrf52.reset: trigger nRST pin")
4637
CortexM.reset(self)

0 commit comments

Comments
 (0)