Skip to content

Commit 47c3917

Browse files
umbynosper1234
andcommitted
Apply suggestions from code review
Co-authored-by: per1234 <accounts@perglass.com>
1 parent 1d2e03e commit 47c3917

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/guides/secure-boot.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Secure Boot
1+
# Secure Boot
22

33
A ["secure boot"](https://www.keyfactor.com/blog/what-is-secure-boot-its-where-iot-security-starts/) capability may be
44
offered by Arduino boards platforms.
@@ -28,9 +28,10 @@ tools.imgtool.flags=sign --key "{build.keys.keychain}/{build.keys.sign_key}" --e
2828
2929
```
3030

31-
By having only `tools.TOOL_NAME.cmd` and `tools.TOOL_NAME.falgs`, we can customize the behavior with a
31+
By having only `tools.TOOL_NAME.cmd` and `tools.TOOL_NAME.flags`, we can customize the behavior with a
3232
[custom board option](../platform-specification.md#custom-board-options). Then in the
33-
[`boards.txt`](../platform-specification.md#boardstxt) we can define the new option to use a different `postbuild.cmd`:
33+
[`boards.txt`](../platform-specification.md#boardstxt) we can define the new option to use a different
34+
`build.postbuild.cmd`:
3435

3536
```
3637
[...]
@@ -56,7 +57,7 @@ The security keys can be added with:
5657
process.
5758

5859
It's suggested to use the property names mentioned before, because they can be overridden respectively with
59-
`--keys-keychain`, `--sign-key` and ``--encrypt-key` Arduino CLI [compile flags](../commands/arduino-cli_compile.md).
60+
`--keys-keychain`, `--sign-key` and `--encrypt-key` Arduino CLI [compile flags](../commands/arduino-cli_compile.md).
6061

6162
For example, by using the following command, the sketch is compiled and the resulting binary is signed and encrypted
6263
with the specified keys located in `/home/user/Arduino/keys` directory:

0 commit comments

Comments
 (0)