3b8cf7e389
Some ARC deveopment boards have q bit funny memory maps. For example IoT Development Kit board has those areas that we use in Zephyr: 1. 256 KiB of ICCM @ 0x2000_0000 for code (i.e. ".text" section goes here) 2. 128 KiB of DCCM @ 0x8000_0000 for data (i.e. ".data" section goes here) And so objcopy dumps 0x6000_0000 bytes (which is ~ 1.5Gib or raw data) in zephyr.hex which gives us ~ 4.3 GiB of resulting zephyr.hex size. W/o gap filling we're back at normal tens of KiB. Given we have currently no need to fill the gaps anyways we disable it for all ARC devboards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
20 lines
418 B
Plaintext
20 lines
418 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_CPU_ARCEM=y
|
|
CONFIG_SOC_ARC_EMSDP=y
|
|
CONFIG_SOC_EMSDP_EM5D=y
|
|
CONFIG_BOARD_EMSDP=y
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
|
|
CONFIG_XIP=n
|
|
CONFIG_BUILD_NO_GAP_FILL=y
|
|
CONFIG_BUILD_OUTPUT_BIN=n
|
|
CONFIG_PRINTK=y
|
|
CONFIG_ARCV2_INTERRUPT_UNIT=y
|
|
CONFIG_ARCV2_TIMER=y
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
CONFIG_ARC_MPU_ENABLE=y
|
|
CONFIG_GPIO=y
|