Add nRF52840 support (PCA10056, nrf52840 PDK)
This commit is contained in:
parent
11c1af542c
commit
46e363393f
|
@ -164,13 +164,20 @@ bool nrf51_probe(target *t)
|
||||||
target_add_commands(t, nrf51_cmd_list, "nRF51");
|
target_add_commands(t, nrf51_cmd_list, "nRF51");
|
||||||
return true;
|
return true;
|
||||||
case 0x00AC: /* nRF52832 Preview QFAA BA0 */
|
case 0x00AC: /* nRF52832 Preview QFAA BA0 */
|
||||||
case 0x00C7: /* nRF52832 Revision 1 QFAA B00 */
|
case 0x00C7: /* nRF52832 Revision 1 QFAA B00 */
|
||||||
t->driver = "Nordic nRF52";
|
t->driver = "Nordic nRF52";
|
||||||
target_add_ram(t, 0x20000000, 64*1024);
|
target_add_ram(t, 0x20000000, 64*1024);
|
||||||
nrf51_add_flash(t, 0x00000000, 512*1024, NRF52_PAGE_SIZE);
|
nrf51_add_flash(t, 0x00000000, 512*1024, NRF52_PAGE_SIZE);
|
||||||
nrf51_add_flash(t, NRF51_UICR, 0x100, 0x100);
|
nrf51_add_flash(t, NRF51_UICR, 0x100, 0x100);
|
||||||
target_add_commands(t, nrf51_cmd_list, "nRF52");
|
target_add_commands(t, nrf51_cmd_list, "nRF52");
|
||||||
return true;
|
return true;
|
||||||
|
case 0x00EB: /* nRF52840 Preview QIAA AA0 */
|
||||||
|
t->driver = "Nordic nRF52";
|
||||||
|
target_add_ram(t, 0x20000000, 256*1024);
|
||||||
|
nrf51_add_flash(t, 0x00000000, 1024*1024, NRF52_PAGE_SIZE);
|
||||||
|
nrf51_add_flash(t, NRF51_UICR, 0x100, 0x100);
|
||||||
|
target_add_commands(t, nrf51_cmd_list, "nRF52");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue