chore: fix typos

This commit is contained in:
bunnie 2022-12-13 22:36:47 +08:00
parent e930d88563
commit 1d94968b2f
3 changed files with 6 additions and 6 deletions

View file

@ -866,7 +866,7 @@ fn wrapped_main() -> ! {
write!(
&mut battstats_tv,
"{}",
ssid.name.as_str().unwrap_or("UTF-8 Erorr"),
ssid.name.as_str().unwrap_or("UTF-8 Error"),
).unwrap();
} else {
if wifi_status.link_state == com_rs_ref::LinkState::ResetHold {

View file

@ -278,7 +278,7 @@ def get_usb_interface(config=False, peek=None, override_csr=None, force=False):
"LOC_PDDB" : [0x01D80000, "pass"],
}
else:
print("SoC is from an unknow rev '{}', use --force to continue anyways with v0.9 firmware offsets".format(pc_usb.load_csrs()))
print("SoC is from an unknown rev '{}', use --force to continue anyways with v0.9 firmware offsets".format(pc_usb.load_csrs()))
exit(1)
return (locs, pc_usb)
@ -417,7 +417,7 @@ def main():
retry_usb = False
while True:
if retry_usb:
print("Trying to re-aquire Precursor device...")
print("Trying to re-acquire Precursor device...")
try:
(locs, pc_usb) = get_usb_interface(args.config, args.peek, args.override_csr, args.force)
except Exception as e:

View file

@ -424,10 +424,10 @@ Hardware images:
app-image Precursor user image. [cratespecs] are apps
perf-image Precursor user image, with performance profiling. [cratespecs] are apps
tts builds an image with text to speech support via externally linked C executable. [cratespecs] are apps
usbdev minimal, insecure build for new USB core bringup. [cratespecs] are services
usbdev minimal, insecure build for new USB core bring-up. [cratespecs] are services
trng-test automation framework for TRNG testing (CPRNG seeded by RO^AV). [cratespecs] ignored.
ro-test automation framework for TRNG testing (RO directly, no CPRNG). [cratespecs] ignored.
av-test automation framework for TRNG testing (AV dircetly, no CPRNG). [cratespecs] ignored.
av-test automation framework for TRNG testing (AV directly, no CPRNG). [cratespecs] ignored.
tiny Precursor tiny image. For testing with services built out-of-tree.
Hosted emulation:
@ -435,7 +435,7 @@ Hosted emulation:
pddb-ci PDDB config for CI testing (eg: TRNG->deterministic for reproducible errors). [cratespecs] ignored.
pddb-btest PDDB stress tester for secret basis creation/deletion [cratespecs] ignored.
hosted-debug Run user image in hosted mode with debug flags. [cratespecs] are apps
gfx-dev Testing mode for graphics primitves. [cratespecs] are services
gfx-dev Testing mode for graphics primitives. [cratespecs] are services
pddb-dev Testing for compilation errors on hardware targets on the PDDB.
Renode emulation: