blob: 056fa5d499f4d6daf525d71b2c3d372b441205d6 [file] [log] [blame]
# Copyright (c) 2025 IAR Systems AB
#
# SPDX-License-Identifier: Apache-2.0
config LD_LINKER_SCRIPT_SUPPORTED
default n
choice LINKER_SCRIPT
default CMAKE_LINKER_GENERATOR
endchoice
menu "IAR library options"
config IAR_SEMIHOSTING
bool "Use the IAR semihosting implementation."
depends on IAR_LIBC
help
Use the semihosting implementation in the IAR library
instead of the Zephyr implementation.
config IAR_BUFFERED_WRITE
bool "Use buffered write"
depends on IAR_SEMIHOSTING
help
Instead of printing one character at a time
this option uses a buffer to print a line
at a time instead, increasing speed of printout.
endmenu
config TOOLCHAIN_IAR_SUPPORTS_THREAD_LOCAL_STORAGE
def_bool y
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
# Should we set this? It doesn't seem to be used
# We support most but don't set __GNUC__
#
config TOOLCHAIN_IAR_SUPPORTS_GNU_EXTENSIONS
def_bool y
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS