Skip to content

Conversation

carlescufi
Copy link
Contributor

The following error is issued by clang when building with
SPI_NOR_SFDP_RUNTIME enabled:

error: fields must have a constant size:
'variable length array in structure' extension will never be supported
1379 | uint32_t dw[MIN(php->len_dw, 20)];

Instead, hardcode the array length to 20 32-bit words (it's instantiated
in the stack anyway).

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit 267469b)
…ency to 854"

This reverts commit d0a0769.

The reason for reverting this is that the only safe startup time for
54L series is the one defined in the SoC .dtsi files (1650us), and other
startup times are not reliable even when tested on a particular board.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit 9e52df0)
@carlescufi carlescufi merged commit 0f36da3 into nrfconnect:main Sep 9, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants