diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-02-25 09:49:34 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-02-25 14:38:59 +0100 |
commit | 715c07b06aa3462ceeef38b777e8526d3bffe472 (patch) | |
tree | d70433b2fb574adc20bd9cecfc1b3545cb6bcb7b /applications/freertos | |
parent | 81e01af108cd006e0e12aacd2b2a0bb1a0ce8684 (diff) | |
download | ethos-u-core-platform-715c07b06aa3462ceeef38b777e8526d3bffe472.tar.gz |
Adding CTest script21.02
Adding script to run CTest on the Corstone-300 FVP. The script will
detect which version of the FVP that is used and pass the correct
command line arguments.
Updating README with instructions how to run tests, either using
CTest or calling the FVP directly.
Update FreeRTOS example to exit with the status of the inference.
Minor adjustments are needed to the output vectors.
Change-Id: I8a1a740b0dec2ce35d95e5c5d91f4b57a2c8e1fa
Diffstat (limited to 'applications/freertos')
-rw-r--r-- | applications/freertos/main.cpp | 2 | ||||
-rw-r--r-- | applications/freertos/output.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/applications/freertos/main.cpp b/applications/freertos/main.cpp index 235936e..4e58646 100644 --- a/applications/freertos/main.cpp +++ b/applications/freertos/main.cpp @@ -143,7 +143,7 @@ void inferenceJobTask(void *pvParameters) { xQueueReceive(senderQueue, &j, portMAX_DELAY); printf("Received inference job response. status=%u\n", j->status); - exit(0); + exit(j->status); } } // namespace diff --git a/applications/freertos/output.h b/applications/freertos/output.h index d5b87eb..48380b4 100644 --- a/applications/freertos/output.h +++ b/applications/freertos/output.h @@ -46,7 +46,7 @@ uint8_t expectedData[1001] __attribute__((aligned(4), section("expected_output_d 0x42, 0x3f, 0x49, 0x3e, 0x4d, 0x4a, 0x48, 0x48, 0x3e, 0x41, 0x34, 0x39, 0x34, 0x41, 0x35, 0x39, 0x59, 0x4f, 0x3f, 0x40, 0x42, 0x32, 0x3d, 0x34, 0x3a, 0x34, 0x34, 0x33, 0x2e, 0x3a, 0x2e, 0x28, 0x28, 0x3b, 0x33, 0x33, - 0x32, 0x32, 0x32, 0x2d, 0x2b, 0x37, 0x3c, 0x39, 0x28, 0x39, 0x3a, 0x32, + 0x32, 0x32, 0x32, 0x2d, 0x2b, 0x37, 0x3c, 0x39, 0x28, 0x39, 0x39, 0x32, 0x39, 0x2b, 0x3d, 0x41, 0x44, 0x2d, 0x35, 0x45, 0x47, 0x2e, 0x2a, 0x37, 0x34, 0x34, 0x3c, 0x34, 0x30, 0x28, 0x27, 0x39, 0x2d, 0x34, 0x35, 0x2e, 0x2f, 0x2a, 0x3e, 0x3c, 0x2c, 0x2a, 0x3d, 0x45, 0x48, 0x35, 0x3e, 0x29, @@ -99,6 +99,6 @@ uint8_t expectedData[1001] __attribute__((aligned(4), section("expected_output_d 0x37, 0x47, 0x48, 0x45, 0x43, 0x44, 0x42, 0x42, 0x39, 0x37, 0x2d, 0x52, 0x38, 0x2d, 0x41, 0x32, 0x29, 0x30, 0x1f, 0x54, 0x41, 0x53, 0x3e, 0x2b, 0x74, 0x52, 0x52, 0x45, 0x41, 0x45, 0x4f, 0x53, 0x3a, 0x58, 0x4f, 0x32, - 0x53, 0x58, 0x50, 0x38, 0x3f, 0x40, 0x3d, 0x34, 0x43, 0x39, 0x3a, 0x26, + 0x53, 0x58, 0x50, 0x38, 0x3f, 0x40, 0x3d, 0x34, 0x43, 0x39, 0x39, 0x26, 0x2d, 0x3b, 0x2b, 0x37, 0x63 }; |