Skip to content

Commit

Permalink
Added support for another NRF52832 revision
Browse files Browse the repository at this point in the history
  • Loading branch information
vedderb committed Dec 30, 2020
1 parent 8f36f6c commit e419bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions blackmagic/bm_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ static int idcode_to_device(uint32_t idcode) {
case 0x00E3: /* nRF52832 (rev 1) CIAA B?? */
case 0x0139: /* nRF52832 (rev 2) ??AA B?0 */
case 0x014F: /* nRF52832 (rev 2) CIAA E1 */
case 0x0141: /* nRF52832 ?? */
ret = 7; break;
case 0x00EB: /* nRF52840 Preview QIAA AA0 */
case 0x0150: /* nRF52840 QIAA C0 */
Expand Down
1 change: 1 addition & 0 deletions blackmagic/target/nrf51.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ bool nrf51_probe(target *t)
case 0x00E3: /* nRF52832 (rev 1) CIAA B?? */
case 0x0139: /* nRF52832 (rev 2) ??AA B?0 */
case 0x014F: /* nRF52832 (rev 2) CIAA E1 */
case 0x0141: /* nRF52832 ?? */
t->driver = "Nordic nRF52";
target_add_ram(t, 0x20000000, 64*1024);
nrf51_add_flash(t, 0x00000000, 512*1024, NRF52_PAGE_SIZE);
Expand Down

0 comments on commit e419bb7

Please sign in to comment.