MSP432: Warn when hardware version not supported.
This commit is contained in:
parent
7956fbc361
commit
60f39f55b4
|
@ -184,8 +184,10 @@ bool msp432_probe(target *t)
|
|||
return false;
|
||||
|
||||
/* Check for the right HW revision: at least C, as no flash support for B */
|
||||
if (target_mem_read32(t, HWREV_ADDR) < HWREV_MIN_VALUE)
|
||||
if (target_mem_read32(t, HWREV_ADDR) < HWREV_MIN_VALUE) {
|
||||
DEBUG("MSP432 Version not handled\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
/* If we got till this point, we are most probably looking at a real TLV */
|
||||
/* Device Information structure. Now check for the correct device */
|
||||
|
|
Loading…
Reference in New Issue