Skip to content

Commit

Permalink
tests: drivers: sdp_asm: Fix build error
Browse files Browse the repository at this point in the history
Twister is unable to build tests/drivers/sdp_asm.
However, issue is not observed when test is compiled
with 'west build'.

Signed-off-by: Sebastian Głąb <[email protected]>
  • Loading branch information
nordic-segl committed Jan 24, 2025
1 parent ee36525 commit 6052fe6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions tests/drivers/sdp_asm/pytest/test_sdp_asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def test_sdp_asm(dut: DeviceAdapter):
execute_shell_cmd(cmd, f"{BUILD_DIR}")

logger.info("# Reflash")
cmd = ['west', 'flash', '--erase']
execute_shell_cmd(cmd, f"{BUILD_DIR}")
dut._flash_and_run()

logger.info("# Get output from serial port")
output = "\n".join(dut.readlines_until(regex='Test completed', timeout=5.0))
Expand Down
2 changes: 1 addition & 1 deletion tests/drivers/sdp_asm/src/add_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/kernel.h>
#include <stdint.h>

extern volatile uint8_t arg_uint8_t;
extern volatile uint16_t arg_uint16_t;
Expand Down
2 changes: 1 addition & 1 deletion tests/drivers/sdp_asm/src/add_10.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/kernel.h>
#include <stdint.h>

extern volatile uint8_t arg_uint8_t;
extern volatile uint16_t arg_uint16_t;
Expand Down
2 changes: 1 addition & 1 deletion tests/drivers/sdp_asm/src/add_100.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/kernel.h>
#include <stdint.h>

extern volatile uint8_t arg_uint8_t;
extern volatile uint16_t arg_uint16_t;
Expand Down
1 change: 1 addition & 0 deletions tests/drivers/sdp_asm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/kernel.h>
#include <stdio.h>
#include "./add_1.h"
#include "./add_10.h"
Expand Down

0 comments on commit 6052fe6

Please sign in to comment.