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
4
4
CONFIG_LOG=y
5
5
CONFIG_ASSERT=y
6
6
CONFIG_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)
11
11
12
12
target_sources (app PRIVATE src/main.c)
13
13
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)
17
17
endif ()
Original file line number Diff line number Diff line change 1
- CONFIG_LOG=y
1
+ CONFIG_LOG=n
2
2
CONFIG_CONSOLE=n
3
3
CONFIG_UART_CONSOLE=n
4
4
CONFIG_SERIAL=n
@@ -7,5 +7,3 @@ CONFIG_NCS_BOOT_BANNER=n
7
7
CONFIG_PRINTK=n
8
8
9
9
CONFIG_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)
46
46
while (1 ) {
47
47
timer_expired = false;
48
48
49
+ /* Turn ON LED */
50
+ ret = gpio_pin_set_dt (& led , 1 );
51
+
49
52
/* start a one-shot timer that expires after 1 second */
50
53
k_timer_start (& my_timer , K_MSEC (1000 ), K_NO_WAIT );
51
54
52
- /* Turn ON LED */
53
- ret = gpio_pin_set_dt (& led , 1 );
54
55
if (ret < 0 ) {
55
56
LOG_ERR ("Unable to turn on LED" );
56
57
}
@@ -62,16 +63,16 @@ int main(void)
62
63
k_yield ();
63
64
}
64
65
66
+ LOG_INF ("Run %d" , counter );
67
+ counter ++ ;
68
+
65
69
/* Turn OFF LED */
66
70
ret = gpio_pin_set_dt (& led , 0 );
67
71
if (ret < 0 ) {
68
72
LOG_ERR ("Unable to turn off LED" );
69
73
}
70
74
__ASSERT (ret == 0 , "Unable to turn off LED\n" );
71
75
72
- LOG_INF ("Run %d" , counter );
73
- counter ++ ;
74
-
75
76
/* Sleep / enter low power state */
76
77
k_msleep (CONFIG_TEST_SLEEP_DURATION_MS );
77
78
}
Original file line number Diff line number Diff line change 26
26
benchmarks.multicore.idle_flpr.idle_retained :
27
27
tags : ppk_power_measure
28
28
extra_args :
29
+ - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y
29
30
- idle_flpr_CONF_FILE=prj_s2ram.conf
30
31
- remote_flpr_CONF_FILE=prj_s2ram.conf
31
32
- idle_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500
40
41
benchmarks.multicore.idle_flpr.idle :
41
42
tags : ppk_power_measure
42
43
extra_args :
44
+ - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y
43
45
- idle_flpr_CONF_FILE=prj_s2ram.conf
44
46
- remote_flpr_CONF_FILE=prj_s2ram.conf
45
47
- idle_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500
54
56
benchmarks.multicore.idle_flpr.s2ram :
55
57
tags : ppk_power_measure
56
58
extra_args :
59
+ - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y
57
60
- idle_flpr_CONF_FILE=prj_s2ram.conf
58
61
- remote_flpr_CONF_FILE=prj_s2ram.conf
59
62
harness : pytest
You can’t perform that action at this time.
0 commit comments