samples: tests: bluetooth: Add support for frdm_rw612

Adding bt_tester support.

Adding bt_tester app build
with Twister for frdm_rw612 board

Fix failing tests/samples due to unsufficent MPU ressources
by releasing unnecessary MPU regions.

Twister builds added on peripheral/central ht and
enabled Power manager on those examples to cover
the CI builds with PM enabled.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
This commit is contained in:
Yassine El Aissaoui 2024-06-05 14:06:49 +02:00 committed by Carles Cufí
commit bb770c5965
18 changed files with 213 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_PM=y

View file

@ -16,5 +16,6 @@ tests:
harness: bluetooth harness: bluetooth
platform_allow: platform_allow:
- rd_rw612_bga - rd_rw612_bga
- frdm_rw612
extra_configs: extra_configs:
- CONFIG_NXP_MONOLITHIC_BT=n - CONFIG_NXP_MONOLITHIC_BT=n

View file

@ -0,0 +1 @@
CONFIG_PM=y

View file

@ -28,5 +28,6 @@ tests:
harness: bluetooth harness: bluetooth
platform_allow: platform_allow:
- rd_rw612_bga - rd_rw612_bga
- frdm_rw612
extra_configs: extra_configs:
- CONFIG_NXP_MONOLITHIC_BT=n - CONFIG_NXP_MONOLITHIC_BT=n

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,6 @@
CONFIG_BT_MAX_CONN=16
# debug options
# CONFIG_UART_CONSOLE=y
# CONFIG_LOG=y
# CONFIG_LOG_DEFAULT_LEVEL=4

View file

@ -0,0 +1,15 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,uart-pipe = &flexcomm0;
};
};
&flexcomm0 {
status = "okay";
};

View file

@ -14,6 +14,7 @@ tests:
harness: bluetooth harness: bluetooth
platform_allow: platform_allow:
- rd_rw612_bga - rd_rw612_bga
- frdm_rw612
extra_configs: extra_configs:
- CONFIG_NXP_MONOLITHIC_BT=n - CONFIG_NXP_MONOLITHIC_BT=n
bluetooth.general.tester_le_audio: bluetooth.general.tester_le_audio:

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View file

@ -0,0 +1,17 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};