-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable PSA tests for fastmodel #11589
Conversation
test results:
|
@jamesbeyond, thank you for your changes. |
*output_length = length; | ||
|
||
return 0; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style: Would recommend removing extra newline here.
int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_length) | ||
{ | ||
(void)obj; | ||
(void)output; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why cast output to void here? It looks like we are using output in the loop below. Which compiler warning are you trying to avoid with this cast? I am not sure it is necessary, but if it is necessary, I am curious which compiler is making the warning and what the warning says.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, missed that
@@ -8609,7 +8609,7 @@ | |||
"ARM_FM": { | |||
"inherits": ["Target"], | |||
"public": false, | |||
"extra_labels": ["ARM_FM"] | |||
"extra_labels": ["ARM_FM","PSA"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the PSA label requires that the target supports KVStore, due to how PSA storage is currently implemented in Mbed OS. Is KVStore supported with fast models?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, KVStore is supported by FastModels
@Patater thanks for the review, your comments been addressed. |
I run CI meanwhile |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
The failures seems not related, I'll restart the test |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK for this target to be used for testing.
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
ping @ARMmbed/mbed-os-maintainers , could you review see if this ready to merge ? |
@adbridge ready to merge? 😉 |
@jamesbeyond sorry things will be a bit slower over the next week as Martin is out so I am having to balance 2 jobs :) |
Description
Enable PSA test for Fastmodels
Pull request type
Reviewers
Release Notes