Skip to content

Commit 50ed198

Browse files
committed
[nrf noup] boards: native: nrf_bsim: apply coding style
This is a subset of upstream's commit: ccbc21b to prevent dependencies on other boards. Signed-off-by: Marcin Szymczyk <[email protected]>
1 parent 967532e commit 50ed198

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

boards/native/nrf_bsim/CMakeLists.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ find_package(BabbleSim)
77
zephyr_library()
88

99
if (CONFIG_BOARD_NRF54L15BSIM_NRF54L15_CPUFLPR)
10-
message(FATAL_ERROR "Targeting the nrf54l15bsim/nrf54l15/cpuflpr core is not yet supported")
10+
message(FATAL_ERROR "Targeting the nrf54l15bsim/nrf54l15/cpuflpr core is not yet supported")
1111
endif()
1212

1313
# Due to the BLE controller assumption about enum size
@@ -20,15 +20,15 @@ zephyr_compile_options(
2020
target_compile_options(native_simulator INTERFACE -fshort-enums)
2121

2222
zephyr_library_sources(
23-
irq_handler.c
24-
cpu_wait.c
25-
argparse.c
26-
nsi_if.c
27-
native_remap.c
28-
soc/nrfx_coredep.c
29-
common/bstests_entry.c
30-
common/cmsis/cmsis.c
31-
common/trace_hook.c
23+
irq_handler.c
24+
cpu_wait.c
25+
argparse.c
26+
nsi_if.c
27+
native_remap.c
28+
soc/nrfx_coredep.c
29+
common/bstests_entry.c
30+
common/cmsis/cmsis.c
31+
common/trace_hook.c
3232
)
3333

3434
# Include sync_rtc from real SOC code if enabled
@@ -37,18 +37,18 @@ zephyr_library_sources_ifdef(CONFIG_NRF53_SYNC_RTC
3737
)
3838

3939
target_sources(native_simulator INTERFACE
40-
common/bsim_args_runner.c
41-
common/bsim_extra_cpu_if_stubs.c
42-
common/phy_sync_ctrl.c
43-
common/runner_hooks.c
44-
common/posix_arch_if.c
45-
common/trace_hook.c
40+
common/bsim_args_runner.c
41+
common/bsim_extra_cpu_if_stubs.c
42+
common/phy_sync_ctrl.c
43+
common/runner_hooks.c
44+
common/posix_arch_if.c
45+
common/trace_hook.c
4646
)
4747

4848
if (CONFIG_IPC_SERVICE AND CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUAPP)
49-
zephyr_library_sources(
50-
ipc_backend.c
51-
)
49+
zephyr_library_sources(
50+
ipc_backend.c
51+
)
5252
endif()
5353

5454
zephyr_include_directories(
@@ -70,17 +70,17 @@ zephyr_library_include_directories(
7070

7171
set(libpath ${BSIM_OUT_PATH}/lib)
7272
set_property(TARGET native_simulator APPEND PROPERTY RUNNER_LINK_LIBRARIES
73-
${libpath}/libUtilv1.32.a
74-
${libpath}/libPhyComv1.32.a
75-
${libpath}/lib2G4PhyComv1.32.a
76-
${libpath}/libRandv2.32.a
73+
${libpath}/libUtilv1.32.a
74+
${libpath}/libPhyComv1.32.a
75+
${libpath}/lib2G4PhyComv1.32.a
76+
${libpath}/libRandv2.32.a
7777
)
7878

7979
target_compile_options(native_simulator INTERFACE
8080
"-DNSI_PRIMARY_MCU_N=${CONFIG_NATIVE_SIMULATOR_PRIMARY_MCU_INDEX}")
8181

8282
add_subdirectory(${ZEPHYR_BASE}/boards/native/common/extra_args/
83-
${CMAKE_CURRENT_BINARY_DIR}/extra_args
83+
${CMAKE_CURRENT_BINARY_DIR}/extra_args
8484
)
8585

8686
include(../common/natsim_config.cmake)

0 commit comments

Comments
 (0)