@@ -39,16 +39,16 @@ static void test_irq_callback(const struct device *dev, void *user_data)
39
39
/* Check that the function and its call stack are in RAM */
40
40
zassert_true (func_addr >= CONFIG_SRAM_BASE_ADDRESS &&
41
41
func_addr <= CONFIG_SRAM_BASE_ADDRESS + CONFIG_SRAM_SIZE * 1024 ,
42
- "%s is not in RAM! Address: 0x%x " , __func__ , func_addr );
42
+ "%s is not in RAM! Address: 0x%lx " , __func__ , func_addr );
43
43
44
44
zassert_true (driver_isr_addr >= CONFIG_SRAM_BASE_ADDRESS &&
45
45
driver_isr_addr <= CONFIG_SRAM_BASE_ADDRESS + CONFIG_SRAM_SIZE * 1024 ,
46
- "fake_driver_isr is not in RAM! Address: 0x%x " , driver_isr_addr );
46
+ "fake_driver_isr is not in RAM! Address: 0x%lx " , driver_isr_addr );
47
47
48
48
zassert_true (arch_isr_wrapper_addr >= CONFIG_SRAM_BASE_ADDRESS &&
49
49
arch_isr_wrapper_addr <=
50
50
CONFIG_SRAM_BASE_ADDRESS + CONFIG_SRAM_SIZE * 1024 ,
51
- "arch_isr_wrapper_addr is not in RAM! Address: 0x%x " , arch_isr_wrapper_addr );
51
+ "arch_isr_wrapper_addr is not in RAM! Address: 0x%lx " , arch_isr_wrapper_addr );
52
52
53
53
TC_PRINT ("Callback function address: 0x%lx\n" , func_addr );
54
54
TC_PRINT ("Driver ISR address: 0x%lx\n" , driver_isr_addr );
@@ -63,7 +63,7 @@ ZTEST(ram_context_for_isr, test_fake_driver_in_ram)
63
63
64
64
zassert_true (dev_addr >= CONFIG_SRAM_BASE_ADDRESS &&
65
65
dev_addr <= CONFIG_SRAM_BASE_ADDRESS + CONFIG_SRAM_SIZE * 1024 ,
66
- "fake driver device is not in RAM! Address: 0x%x " , dev_addr );
66
+ "fake driver device is not in RAM! Address: 0x%lx " , dev_addr );
67
67
68
68
TC_PRINT ("Fake driver device address: 0x%lx\n" , dev_addr );
69
69
0 commit comments