1# Copyright (c) 2025 Renesas Electronics Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_RZT2L
5
6config NUM_IRQS
7	default 480
8
9config SYS_CLOCK_HW_CYCLES_PER_SEC
10	default 25000000
11
12config FPU
13	default y
14
15config FLASH_SIZE
16	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
17
18config FLASH_BASE_ADDRESS
19	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
20
21DT_CHOSEN_IMAGE_ZEPHYR = zephyr,code-partition
22
23config BUILD_OUTPUT_ADJUST_LMA
24	default "($(dt_chosen_reg_addr_hex,$(DT_CHOSEN_IMAGE_ZEPHYR)) + \
25	$(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)))"
26
27config BUILD_OUTPUT_ADJUST_LMA_SECTIONS
28	default "*;!.loader"
29
30endif # SOC_SERIES_RZT2L
31