mirror of https://github.com/rusefi/bldc.git
Merge pull request #546 from powerdesigns/add_nRF51822_ID
Add new nRF51822 ID code for SWD connection
This commit is contained in:
commit
9fd67a2461
|
@ -127,6 +127,7 @@ static int idcode_to_device(uint32_t idcode) {
|
|||
case 0x0086: /* nRF51422 (rev 3) QFAC A1 */
|
||||
case 0x0087: /* nRF51822 (rev 3) CFAC A0 */
|
||||
case 0x0088: /* nRF51422 (rev 3) CFAC A0 */
|
||||
case 0x0169: /* nRF51822 (rev 3) Taiyo EYSGJNZWY*/
|
||||
ret = 4; break;
|
||||
case 0x00AC: /* nRF52832 Preview QFAA BA0 */
|
||||
case 0x00C7: /* nRF52832 (rev 1) QFAA B00 */
|
||||
|
|
|
@ -160,6 +160,7 @@ bool nrf51_probe(target *t)
|
|||
case 0x0086: /* nRF51422 (rev 3) QFAC A1 */
|
||||
case 0x0087: /* nRF51822 (rev 3) CFAC A0 */
|
||||
case 0x0088: /* nRF51422 (rev 3) CFAC A0 */
|
||||
case 0x0169: /* nRF51822 (rev 3) Taiyo EYSGJNZWY*/
|
||||
t->driver = "Nordic nRF51";
|
||||
target_add_ram(t, 0x20000000, 0x8000);
|
||||
nrf51_add_flash(t, 0x00000000, 0x40000, NRF51_PAGE_SIZE);
|
||||
|
|
Loading…
Reference in New Issue