Working with the new v3.3.0-preview2, I have found an issue. You may already be aware, but here it is.
Issue
/workspace/zephyr/drivers/flash/soc_flash_nrf_rram.c:51: warning: "PAGE_SIZE" redefined
51 | #define PAGE_SIZE DT_PROP(RRAM, erase_block_size)
|
In file included from /workspace/zephyr/lib/libc/newlib/include/limits.h:12,
from /workspace/zephyr/include/zephyr/kernel_includes.h:22,
from /workspace/zephyr/include/zephyr/kernel.h:17,
from /workspace/zephyr/drivers/flash/soc_flash_nrf_rram.c:10:
/workspace/zephyr/include/zephyr/posix/posix_limits.h:94: note: this is the location of the previous definition
94 | #define PAGE_SIZE CONFIG_POSIX_PAGE_SIZE
|
Steps to reproduce
Add these kconfig settings
CONFIG_FLASH=y CONFIG_POSIX_SYSTEM_INTERFACES=y CONFIG_NEWLIB_LIBC=y
Board: nrf54lm20dkA & nrf54lm20dkB