aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorLasse Dalegaard <dalegaard@gmail.com>2021-07-04 10:24:29 +0200
committerKevin O'Connor <kevin@koconnor.net>2021-07-04 12:43:45 -0400
commitba958468b7a98e3a61bc0e5cbe30686abe6e16aa (patch)
treeb1515bf1e97de7b677c6852e45f1354d0d4bcec5 /src/command.c
parent0597210cb9f550cd2f410214ec8b48503ce94c81 (diff)
downloadkutter-ba958468b7a98e3a61bc0e5cbe30686abe6e16aa.tar.gz
kutter-ba958468b7a98e3a61bc0e5cbe30686abe6e16aa.tar.xz
kutter-ba958468b7a98e3a61bc0e5cbe30686abe6e16aa.zip
rp2040: add chipid support
The rp2040 doesn't have a chip ID, but the flash chip connected does. We can get this ID by asking the flash chip directly, but doing so requires disengaging the XIP layer, performing the interrogation of the flash chip, and then re-enabling the XIP layer. This gives us a 64-bit unique ID that we can use as our USB serial number. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
Diffstat (limited to 'src/command.c')
0 files changed, 0 insertions, 0 deletions