diff --git a/subsys/sal/sid_pal/src/CMakeLists.txt b/subsys/sal/sid_pal/src/CMakeLists.txt index 8b8295157..2a0550dfc 100644 --- a/subsys/sal/sid_pal/src/CMakeLists.txt +++ b/subsys/sal/sid_pal/src/CMakeLists.txt @@ -52,11 +52,11 @@ zephyr_library_sources_ifdef(CONFIG_SIDEWALK_CRITICAL_REGION sid_critical_region zephyr_library_sources_ifdef(CONFIG_SIDEWALK_GPIO sid_gpio.c sid_gpio_utils.c) -if(CONFIG_SOC_SERIES_NRF53X) +if(CONFIG_HAS_HW_NRF_TEMP) +zephyr_library_sources_ifdef(CONFIG_SIDEWALK_TEMPERATURE sid_temperature.c) +else() zephyr_library_sources_ifdef(CONFIG_SIDEWALK_TEMPERATURE sid_temperature_mock.c) message("Note: Sidewalk uses MOCK temperature implementation") -else() -zephyr_library_sources_ifdef(CONFIG_SIDEWALK_TEMPERATURE sid_temperature.c) endif() # CONFIG_SOC_SERIES_NRF53X zephyr_library_sources_ifdef(CONFIG_SIDEWALK_SW_INTERRUPTS sid_sw_interrupts.c) diff --git a/tests_new/integration/temperature/testcase.yaml b/tests_new/integration/temperature/testcase.yaml index aa1c2bfb4..64ad33a8a 100644 --- a/tests_new/integration/temperature/testcase.yaml +++ b/tests_new/integration/temperature/testcase.yaml @@ -3,12 +3,14 @@ tests: sysbuild: true tags: Sidewalk platform_allow: + - native_sim - nrf52840dk/nrf52840 - nrf5340dk/nrf5340/cpuapp - nrf54l15dk/nrf54l15/cpuapp - nrf54l15dk/nrf54l15/cpuapp/ns - nrf54l15dk/nrf54l10/cpuapp integration_platforms: + - native_sim - nrf52840dk/nrf52840 - nrf5340dk/nrf5340/cpuapp - nrf54l15dk/nrf54l15/cpuapp