2021-08-16 05:14:21 +08:00
|
|
|
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config LD_LINKER_SCRIPT_SUPPORTED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
choice LINKER_SCRIPT
|
|
|
|
default CMAKE_LINKER_GENERATOR
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice LIBC_IMPLEMENTATION
|
|
|
|
prompt "C Library Implementation"
|
|
|
|
default ARMCLANG_STD_LIBC
|
|
|
|
|
|
|
|
config ARMCLANG_STD_LIBC
|
|
|
|
bool "ARM Compiler C library"
|
2023-05-05 22:56:35 +08:00
|
|
|
select COMMON_LIBC_STRNLEN
|
2024-05-21 00:23:58 +08:00
|
|
|
select COMMON_LIBC_TIME if POSIX_TIMERS
|
2021-08-16 05:14:21 +08:00
|
|
|
help
|
|
|
|
Use the full Arm Compiler runtime libraries.
|
|
|
|
A reduced Zephyr minimal libc will be used for library functionality
|
|
|
|
not provided by ARM Compiler standard libraries.
|
|
|
|
|
|
|
|
endchoice
|
2024-04-16 01:28:45 +08:00
|
|
|
|
|
|
|
config TOOLCHAIN_ARMCLANG_SUPPORTS_GNU_EXTENSIONS
|
|
|
|
def_bool y
|
|
|
|
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS
|