Skip to content

Commit 659af72

Browse files
aescolarkartben
authored andcommitted
tests: Stop using native_posix/sim transitional headers
As native_posix has been removed, these tests do not need to support anymore both native_sim and _posix targets, so we can stop using the transitional headers, and APIs. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent 8c8db7d commit 659af72

File tree

3 files changed

+4
-3
lines changed
  • tests

3 files changed

+4
-3
lines changed

tests/boards/native_sim/rtc/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#include <stdio.h>
1313
#include <time.h>
1414

15-
#include "timer_model.h"
15+
#include <nsi_hw_scheduler.h>
16+
#include <nsi_timer_model.h>
1617
#include "native_rtc.h"
1718

1819
#include <stdio.h>

tests/net/lib/coap_client/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <zephyr/misc/lorem_ipsum.h>
1010
#include <zephyr/ztest.h>
1111
#if defined(CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME)
12-
#include "timer_model.h"
12+
#include "nsi_timer_model.h"
1313
#endif
1414
#include "stubs.h"
1515

tests/net/lib/lwm2m/lwm2m_engine/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include "stubs.h"
1616
#if defined(CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME)
17-
#include "timer_model.h"
17+
#include "nsi_timer_model.h"
1818
#endif
1919

2020
#define LOG_LEVEL LOG_LEVEL_DBG

0 commit comments

Comments
 (0)