Skip to content

Commit

Permalink
fixup! feat(core): Introduce unit test extension to prodtest CLI [no …
Browse files Browse the repository at this point in the history
…changelog]
  • Loading branch information
kopecdav committed Feb 22, 2025
1 parent fec458a commit cff37a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/embed/projects/prodtest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -793,4 +793,4 @@ Example:
# ut-pmic-battery - Test PMIC battery connection
# ut-pmic-init-deinit - Test PMIC driver initialization and deinitialization
OK
```
```
2 changes: 1 addition & 1 deletion core/embed/projects/prodtest/cmd/prodtest_unit_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ PRODTEST_CLI_CMD(
.func = prodtest_unit_test_run,
.info = "Run all registerd unit tests",
.args = ""
)
)
6 changes: 6 additions & 0 deletions core/embed/sys/linker/stm32f4/prodtest.ld
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ SECTIONS {
_prodtest_cli_cmd_section_start = .;
KEEP(*(.prodtest_cli_cmd))
_prodtest_cli_cmd_section_end = .;
. = ALIGN(4);

_prodtest_cli_ut_section_start = .;
KEEP(*(.prodtest_cli_ut))
_prodtest_cli_ut_section_end = .;


. = ALIGN(128K);
} >FLASH
Expand Down

0 comments on commit cff37a5

Please sign in to comment.