File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,15 @@ common:
6
6
- intel_socfpga_agilex_socdk
7
7
tests :
8
8
sample.subsys.sip_svc :
9
- tags : subsys
9
+ tags :
10
+ - sipsvc
11
+ platform_allow :
12
+ - intel_socfpga_agilex_socdk
13
+ integration_platforms :
14
+ - intel_socfpga_agilex_socdk
10
15
harness : console
11
16
harness_config :
12
17
type : one_line
13
18
ordered : true
14
19
regex :
15
20
- " Got response of transaction id 0x[0-9a-f][0-9a-f] and voltage is [0-9].[0-9]+v"
16
- filter : CONFIG_ARM_SIP_SVC_HAS_INTEL_SDM_MAILBOX_FIFO
17
- integration_platforms :
18
- - intel_socfpga_agilex_socdk
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ int main(void)
104
104
/* Voltage is retrieved as a fixed point number with 16 bits below binary point */
105
105
voltage = ((float )priv .voltage_channel0 / 65536 );
106
106
107
- printk ("Got response of transaction id 0x%02x and voltage is %fv\n" , trans_id ,
108
- voltage );
107
+ printk ("Got response of transaction id 0x%02x and voltage is %fv\n" ,
108
+ trans_id , ( double ) voltage );
109
109
110
110
err = sip_svc_close (mb_smc_ctrl , mb_c_token , NULL );
111
111
__ASSERT (err != SIP_SVC_ID_INVALID , "Failed to close with sip_svc" );
You can’t perform that action at this time.
0 commit comments