Skip to content

Commit 802a7d4

Browse files
ppelikan-nordicrlubos
authored andcommitted
[nrf fromtree] tests: kernel: sleep: Adjustments for NRF54H20 PPR xip
Adjusting the max shortest ticks value for slow PPR core with XIP variant. Signed-off-by: Paweł Pelikan <pawel.pelikan@nordicsemi.no> (cherry picked from commit 125afec)
1 parent c63d889 commit 802a7d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/kernel/sleep/src/usleep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
/* Similar for nRF54H20 cpuppr (RISC-V core), it has a slow CPU clock
4747
* compared to other cores, causing the increased overhead.
4848
*/
49-
#define MAXIMUM_SHORTEST_TICKS 4
49+
#define MAXIMUM_SHORTEST_TICKS (IS_ENABLED(CONFIG_XIP) ? 8 : 4)
5050
#else
5151
#define MAXIMUM_SHORTEST_TICKS 1
5252
#endif

0 commit comments

Comments
 (0)