tests: disable NRF5 entropy driver on some bsim/qemu tests

CONFIG_ENTROPY_GENERATOR is now enabled by default as soon as
"zephyr,entropy" is set in the device-tree. Since the sub-Kconfig
CONFIG_ENTROPY_NRF5_RNG is also enabled by default on nrf boards,
this means that the driver is pulled in the build and intialized
at boot. This might cause runtime issues during some IRQ/kernel
tests, so it's better to remove "zephyr,entropy" on these tests.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
Valerio Setti 2024-12-05 07:02:40 +01:00 committed by Benjamin Cabé
commit 22e30e04f5
9 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/ {
chosen {
/* The test is setting up a custom interrupt table which only allows a very
* limited number of platform IRQs and that is not the "standard" table generated
* by CONFIG_GEN_ISR_TABLES. The problem is that NRF5 entropy driver would enable
* an IRQ which is not in this list, therefore causing a runtime crash in the
* test. As a consequence we need to disable this driver.
*/
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};

View file

@ -0,0 +1,5 @@
/ {
chosen {
/delete-property/ zephyr,entropy;
};
};