mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 02:12:40 +00:00
Now when we're finally ready to open QEMU port for ARC we introduce the first ever platform it supports and in fact does that quite well - Zephyr RTOS. For now we only offer support of basic EM & HS code execution, built-in timers, interrupt controller and set of very simple peripherals: DW UART & optionally MMIO Virtio devices. Signed-off-by: Wayne Ren <wei.ren@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
20 lines
445 B
Plaintext
20 lines
445 B
Plaintext
/*
|
|
* Copyright (c) 2020 Synopsys, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <devicetree.h>
|
|
#include <autoconf.h>
|
|
|
|
/*
|
|
* SRAM base address and size
|
|
*/
|
|
#if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && \
|
|
(DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) > 0)
|
|
#define SRAM_START DT_REG_ADDR(DT_CHOSEN(zephyr_sram))
|
|
#define SRAM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_sram))
|
|
#endif
|
|
|
|
#include <arch/arc/v2/linker.ld>
|