Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/kernel/sleep/src/usleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
* loaded to its comparator.
*/
#define MAXIMUM_SHORTEST_TICKS 2
#elif defined(CONFIG_SOC_NRF54H20_CPUPPR) && (CONFIG_SYS_CLOCK_TICKS_PER_SEC > 16384)
/* Similar for nRF54H20 cpuppr (RISC-V core), it has a slow CPU clock
* compared to other cores, causing the increased overhead.
*/
#define MAXIMUM_SHORTEST_TICKS 4
#else
#define MAXIMUM_SHORTEST_TICKS 1
#endif
Expand Down