Commit 22e30e04 authored by Valerio Setti's avatar Valerio Setti Committed by Benjamin Cabé
Browse files

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: default avatarValerio Setti <vsetti@baylibre.com>
parent e3817d0f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
/ {
	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;
	};
};
+5 −0
Original line number Diff line number Diff line
/ {
	chosen {
		/delete-property/ zephyr,entropy;
	};
};
+5 −0
Original line number Diff line number Diff line
/ {
	chosen {
		/delete-property/ zephyr,entropy;
	};
};
+5 −0
Original line number Diff line number Diff line
/ {
	chosen {
		/delete-property/ zephyr,entropy;
	};
};
+5 −0
Original line number Diff line number Diff line
/ {
	chosen {
		/delete-property/ zephyr,entropy;
	};
};
Loading