samples/bluetooth/hap_ha: Enable in native_sim

Enable this test in the native_sim target

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-10 13:56:26 +01:00 committed by Johan Hedberg
commit e444f49540
2 changed files with 19 additions and 4 deletions

View file

@ -0,0 +1,7 @@
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_BT_TINYCRYPT_ECC=y
# For LE-audio at 10ms intervals we need the tick counter to occur more frequently
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

View file

@ -4,25 +4,33 @@ sample:
tests: tests:
sample.bluetooth.hap_ha.monaural: sample.bluetooth.hap_ha.monaural:
harness: bluetooth harness: bluetooth
platform_allow: native_posix platform_allow:
- native_posix
- native_sim
tags: bluetooth tags: bluetooth
build_only: true build_only: true
sample.bluetooth.hap_ha.monaural_no_presets: sample.bluetooth.hap_ha.monaural_no_presets:
harness: bluetooth harness: bluetooth
platform_allow: native_posix platform_allow:
- native_posix
- native_sim
tags: bluetooth tags: bluetooth
build_only: true build_only: true
extra_configs: extra_configs:
- CONFIG_BT_HAS_PRESET_COUNT=0 - CONFIG_BT_HAS_PRESET_COUNT=0
sample.bluetooth.hap_ha.banded: sample.bluetooth.hap_ha.banded:
harness: bluetooth harness: bluetooth
platform_allow: native_posix platform_allow:
- native_posix
- native_sim
tags: bluetooth tags: bluetooth
extra_args: OVERLAY_CONFIG="banded.conf" extra_args: OVERLAY_CONFIG="banded.conf"
build_only: true build_only: true
sample.bluetooth.hap_ha.binaural: sample.bluetooth.hap_ha.binaural:
harness: bluetooth harness: bluetooth
platform_allow: native_posix platform_allow:
- native_posix
- native_sim
tags: bluetooth tags: bluetooth
extra_args: OVERLAY_CONFIG="binaural.conf" extra_args: OVERLAY_CONFIG="binaural.conf"
build_only: true build_only: true