File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed 
tests/benchmarks/multicore/idle_flpr Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,3 @@ CONFIG_NCS_BOOT_BANNER=n
44CONFIG_LOG=y
55CONFIG_ASSERT=y
66CONFIG_GPIO=y
7- 
8- CONFIG_NRF_REGTOOL_VERBOSITY=1
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ project(remote)
1111
1212target_sources (app PRIVATE  src/main.c)
1313
14- if (DEFINED   CONFIG_SOC_NRF54H20_CPUFLPR)
15- 	 message (STATUS  "Power Mode handler for RISC V is included." )
16- 	 target_sources (app PRIVATE  ../../common/power_off.c)
14+ if (CONFIG_SOC_NRF54H20_CPUFLPR)
15+    message (STATUS  "Power Mode handler for RISC V is included." )
16+    target_sources (app PRIVATE  ../../common/power_off.c)
1717endif ()
Original file line number Diff line number Diff line change 1- CONFIG_LOG=y 
1+ CONFIG_LOG=n 
22CONFIG_CONSOLE=n
33CONFIG_UART_CONSOLE=n
44CONFIG_SERIAL=n
@@ -7,5 +7,3 @@ CONFIG_NCS_BOOT_BANNER=n
77CONFIG_PRINTK=n
88
99CONFIG_ASSERT=y
10- 
11- CONFIG_NRF_REGTOOL_VERBOSITY=1
Original file line number Diff line number Diff line change @@ -46,11 +46,12 @@ int main(void)
4646	while  (1 ) {
4747		timer_expired  =  false;
4848
49+ 		/* Turn ON LED */ 
50+ 		ret  =  gpio_pin_set_dt (& led , 1 );
51+ 
4952		/* start a one-shot timer that expires after 1 second */ 
5053		k_timer_start (& my_timer , K_MSEC (1000 ), K_NO_WAIT );
5154
52- 		/* Turn ON LED */ 
53- 		ret  =  gpio_pin_set_dt (& led , 1 );
5455		if  (ret  <  0 ) {
5556			LOG_ERR ("Unable to turn on LED" );
5657		}
@@ -62,16 +63,16 @@ int main(void)
6263			k_yield ();
6364		}
6465
66+ 		LOG_INF ("Run %d" , counter );
67+ 		counter ++ ;
68+ 
6569		/* Turn OFF LED */ 
6670		ret  =  gpio_pin_set_dt (& led , 0 );
6771		if  (ret  <  0 ) {
6872			LOG_ERR ("Unable to turn off LED" );
6973		}
7074		__ASSERT (ret  ==  0 , "Unable to turn off LED\n" );
7175
72- 		LOG_INF ("Run %d" , counter );
73- 		counter ++ ;
74- 
7576		/* Sleep / enter low power state */ 
7677		k_msleep (CONFIG_TEST_SLEEP_DURATION_MS );
7778	}
Original file line number Diff line number Diff line change 2626  benchmarks.multicore.idle_flpr.idle_retained :
2727    tags : ppk_power_measure 
2828    extra_args :
29+       - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y 
2930      - idle_flpr_CONF_FILE=prj_s2ram.conf 
3031      - remote_flpr_CONF_FILE=prj_s2ram.conf 
3132      - idle_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500 
4041  benchmarks.multicore.idle_flpr.idle :
4142    tags : ppk_power_measure 
4243    extra_args :
44+       - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y 
4345      - idle_flpr_CONF_FILE=prj_s2ram.conf 
4446      - remote_flpr_CONF_FILE=prj_s2ram.conf 
4547      - idle_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500 
5456  benchmarks.multicore.idle_flpr.s2ram :
5557    tags : ppk_power_measure 
5658    extra_args :
59+       - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y 
5760      - idle_flpr_CONF_FILE=prj_s2ram.conf 
5861      - remote_flpr_CONF_FILE=prj_s2ram.conf 
5962    harness : pytest 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments