Skip to content

Commit 6291a57

Browse files
peter-mitsisaescolar
authored andcommitted
tests: latency_measure: Tidy up header inclusions
Moves the inclusion of the app_memdomain header file into the tests' utils.h so that any file that includes this can make use of the BENCH_BMEM macro. Signed-off-by: Peter Mitsis <[email protected]>
1 parent b3971d0 commit 6291a57

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

tests/benchmarks/latency_measure/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
#include <zephyr/kernel.h>
1414
#include <zephyr/timestamp.h>
15-
#include <zephyr/app_memory/app_memdomain.h>
1615
#include "utils.h"
1716
#include "timing_sc.h"
1817
#include <zephyr/tc_util.h>

tests/benchmarks/latency_measure/src/timing_sc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
*/
1212

1313
#include <zephyr/kernel.h>
14-
#include <zephyr/app_memory/app_memdomain.h>
1514
#include "utils.h"
1615
#include "timing_sc.h"
1716

tests/benchmarks/latency_measure/src/utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <zephyr/sys/printk.h>
1616
#include <stdio.h>
1717
#include <zephyr/timestamp.h>
18+
#include <zephyr/app_memory/app_memdomain.h>
1819

1920
#define START_STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE)
2021
#define ALT_STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE)

0 commit comments

Comments
 (0)