samples/tests: bluetooth: Remove qemu_cortex_m3

Remove qemu_cortex_m3 from various bluetooth tests and samples since
they enable NVS which requires CONFIG_FLASH_PAGE_LAYOUT which is
not supported on qemu_cortex_m3 since there is no flash driver.

We get build failures with the arm-clang compiler because nvs.c
is referencing z_impl_flash_get_page_info_by_offs which does not
exist.

Switch to qemu_x86 as the integration_platforms if it was
qemu_cortex_m3 before.

Removed the bluetooth.mesh.mesh_shell.reduced_legacy as this was
added specifically for building on qemu_cortex_m3.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
Kumar Gala 2023-04-11 09:42:36 -05:00 committed by Carles Cufí
parent 2615241de3
commit dca600bd19
10 changed files with 16 additions and 33 deletions

View file

@ -4,7 +4,7 @@ sample:
tests:
sample.bluetooth.central_iso:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86
platform_allow: qemu_x86
integration_platforms:
- qemu_cortex_m3
- qemu_x86
tags: bluetooth

View file

@ -3,7 +3,7 @@ sample:
tests:
sample.bluetooth.direct_adv:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86
platform_allow: qemu_x86
integration_platforms:
- qemu_cortex_m3
- qemu_x86
tags: bluetooth

View file

@ -3,7 +3,7 @@ sample:
tests:
sample.bluetooth.mesh_provisioner:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86 nrf52840dk_nrf52840
platform_allow: qemu_x86 nrf52840dk_nrf52840
integration_platforms:
- qemu_cortex_m3
- qemu_x86
tags: bluetooth

View file

@ -4,9 +4,9 @@ sample:
tests:
sample.bluetooth.peripheral:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86 nucleo_wb55rg
platform_allow: qemu_x86 nucleo_wb55rg
integration_platforms:
- qemu_cortex_m3
- qemu_x86
tags: bluetooth
sample.bluetooth.peripheral.x_nucleo_idb05a1_shield:
harness: bluetooth

View file

@ -3,5 +3,5 @@ sample:
tests:
sample.bluetooth.peripheral_accept_list:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86
platform_allow: qemu_x86
tags: bluetooth

View file

@ -4,15 +4,15 @@ sample:
tests:
sample.bluetooth.peripheral_hids:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86
platform_allow: qemu_x86
tags: bluetooth
integration_platforms:
- qemu_cortex_m3
- qemu_x86
sample.bluetooth.peripheral_hids.no_authentication:
harness: bluetooth
extra_configs:
- CONFIG_SAMPLE_BT_USE_AUTHENTICATION=n
platform_allow: qemu_cortex_m3 qemu_x86
platform_allow: qemu_x86
tags: bluetooth
integration_platforms:
- qemu_cortex_m3
- qemu_x86

View file

@ -4,7 +4,7 @@ sample:
tests:
sample.bluetooth.peripheral_iso:
harness: bluetooth
platform_allow: qemu_cortex_m3 qemu_x86
platform_allow: qemu_x86
tags: bluetooth
integration_platforms:
- qemu_cortex_m3
- qemu_x86

View file

@ -1,14 +0,0 @@
CONFIG_BT_EXT_ADV=n
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_BT_SETTINGS=n
CONFIG_FLASH=n
CONFIG_FLASH_PAGE_LAYOUT=n
CONFIG_FLASH_MAP=n
CONFIG_NVS=n
CONFIG_SETTINGS=n
CONFIG_BT_MESH_LOW_POWER=n
CONFIG_BT_MESH_FRIEND=n
CONFIG_BT_MESH_PB_GATT=n
CONFIG_BT_MESH_GATT_PROXY=n

View file

@ -7,6 +7,3 @@ tests:
integration_platforms:
- qemu_x86
platform_exclude: nrf52dk_nrf52810
bluetooth.mesh.mesh_shell.reduced_legacy:
platform_allow: qemu_cortex_m3
extra_args: OVERLAY_CONFIG=reduced_legacy.conf

View file

@ -2,7 +2,7 @@ tests:
bluetooth.shell.main:
extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
platform_allow: qemu_cortex_m3 qemu_x86 native_posix native_posix_64 nrf52840dk_nrf52840
platform_allow: qemu_x86 native_posix native_posix_64 nrf52840dk_nrf52840
integration_platforms:
- qemu_x86
platform_exclude: nrf52dk_nrf52810