Skip to content

Commit

Permalink
posix: options: mmap: disable xtensa support due to linker issue
Browse files Browse the repository at this point in the history
The Xtensa linker scripts seem to be injecting syntax errors when
MMU is enabled. Disable the implication in Kconfig.mem for Xtensa
until linker issues are resolved.

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
cfriedt authored and kartben committed Jan 9, 2025
1 parent cee9166 commit d58a5ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/posix/options/Kconfig.mem
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ config POSIX_SHARED_MEMORY_OBJECTS

config POSIX_MAPPED_FILES
bool "POSIX memory-mapped files"
imply MMU
# disable Xtensa for now until linker issues are resolved
imply MMU if (CPU_HAS_MMU && !XTENSA)
help
Select 'y' here and Zephyr will provide support for mmap(), msync(), and munmap().

Expand Down

0 comments on commit d58a5ce

Please sign in to comment.