Skip to content

Commit 2b3cfd6

Browse files
nordic-baminordic-piks
authored andcommitted
tests: drivers: spi: Fix SPIM PAN test for nrf54h
Remove unnecessary channel alloc, that caused fatal on nrf54h. Signed-off-by: Bartosz Miller <[email protected]>
1 parent 2b0ef01 commit 2b3cfd6

File tree

1 file changed

+0
-7
lines changed
  • tests/drivers/spi/spim_pan/src

1 file changed

+0
-7
lines changed

tests/drivers/spi/spim_pan/src/main.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ ZTEST(spim_pan, test_spim_mltpan_55_workaround)
118118

119119
int err;
120120

121-
uint8_t ppi_channel;
122-
123-
uint32_t domain_id;
124121
nrfx_gppi_handle_t gppi_handle;
125122

126123
uint32_t timer_cc_before, timer_cc_after;
@@ -136,10 +133,6 @@ ZTEST(spim_pan, test_spim_mltpan_55_workaround)
136133

137134
set_buffers();
138135

139-
domain_id = nrfx_gppi_domain_id_get((uint32_t)test_timer.p_reg);
140-
ppi_channel = nrfx_gppi_channel_alloc(domain_id);
141-
zassert_true(ppi_channel > 0, "Failed to allocate GPPI channel");
142-
143136
timer_task = configure_test_timer(&test_timer);
144137
spim_event = nrf_spim_event_address_get(spim_reg, NRF_SPIM_EVENT_END);
145138

0 commit comments

Comments
 (0)