We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7765d39 commit 29dfab9Copy full SHA for 29dfab9
tools/test/config/config_test.py
@@ -252,3 +252,16 @@ def test_parameters_and_config_macros_to_macros():
252
253
macro_list = Config._parameters_and_config_macros_to_macros(params, macros)
254
assert macro_list == ["CUSTOM_MACRO_NAME=1"]
255
+
256
257
+@pytest.mark.parametrize("target_start_size", [
258
+ ("CY8CKIT_062_WIFI_BT_PSA", 0x10040000, 0xB8000),
259
+ ("CY8CKIT_062_WIFI_BT_M0_PSA", 0x10000000, 0x40000)
260
+])
261
+def test_PSA_overrides(target_start_size):
262
+ target, start, size = target_start_size
263
+ set_targets_json_location()
264
+ config = Config(target)
265
+ roms = config.get_all_active_memories(ROM_ALL_MEMORIES)
266
+ assert("ROM" in roms)
267
+ assert(roms["ROM"] == [start, size])
0 commit comments