text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```yaml
board:
name: emsdp
vendor: snps
socs:
- name: emsdp_em4
- name: emsdp_em5d
- name: emsdp_em6
- name: emsdp_em7d
- name: emsdp_em7d_esp
- name: emsdp_em9d
- name: emsdp_em11d
``` | /content/code_sandbox/boards/snps/emsdp/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```unknown
/*
*
*/
/dts-v1/;
#include <synopsys/emsdp-sec.dtsi>
#include "board.dtsi"
/ {
model = "emsdp";
compatible = "snps,emsdp", "snps,emsdp";
aliases {
uart-0 = &uart0;
};
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
};
&uart0 {
status = "okay";
cu... | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em7d_esp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 241 |
```c
/*
*
*/
#include <zephyr/arch/cpu.h>
#include <zephyr/init.h>
#define DFSS_SPI0_BASE 0x80010000
#define DFSS_SPI1_BASE 0x80010100
#define REG_CLK_ENA_OFFSET (0x16) /* DFSS only */
/* Enable clock for DFSS SPI0 controller & DFSS SPI1 controller */
static int emsdp_dfss_clock_init(void)
{
sys_out32(1, DF... | /content/code_sandbox/boards/snps/emsdp/platform.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 158 |
```yaml
identifier: emsdp/emsdp_em4
name: EM Software Development Platform (EM4)
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
ram: 128
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em4.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 75 |
```unknown
# DesignWare ARC EM Software Development Platform board configuration
config BOARD_EMSDP
select SOC_ARC_EMSDP
select SOC_EMSDP_EM4 if BOARD_EMSDP_EMSDP_EM4
select SOC_EMSDP_EM5D if BOARD_EMSDP_EMSDP_EM5D
select SOC_EMSDP_EM6 if BOARD_EMSDP_EMSDP_EM6
select SOC_EMSDP_EM7D if BOARD_EMSDP_EMSDP_EM7D
sel... | /content/code_sandbox/boards/snps/emsdp/Kconfig.emsdp | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 271 |
```unknown
#include <zephyr/dt-bindings/pinctrl/emsdp-pinctrl.h>
&pinctrl {
/* PMOD_A */
pmodA_gpio: pmodA_gpio {
pinmux = <PMOD_A PMOD_GPIO>;
};
pmodA_uarta: pmodA_uarta {
pinmux = <PMOD_A PMOD_UARTA>;
};
pmodA_uartb: pmodA_uartb {
pinmux = <PMOD_A PMOD_UARTB>;
};
pmodA_spi1_cs0: pmodA_spi1_cs0 {
pin... | /content/code_sandbox/boards/snps/emsdp/emsdp-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,224 |
```unknown
/*
*
*/
/dts-v1/;
#include <synopsys/emsdp.dtsi>
#include <mem.h>
#include "board.dtsi"
/ {
model = "emsdp";
compatible = "snps,emsdp", "snps,emsdp";
aliases {
uart-0 = &uart0;
};
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
xccm@c0000000 {
c... | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em9d.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 301 |
```restructuredtext
.. _hsdk:
DesignWare(R) ARC(R) HS Development Kit
########################################
Overview
********
The DesignWare(R) ARC(R) HS Development Kit is a ready-to-use platform for
rapid software development on the ARC HS3x family of processors. It supports
single-core and multi-core ARC HS34,... | /content/code_sandbox/boards/snps/hsdk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,385 |
```unknown
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
aliases {
led0 = &led0;
led1 = &led1;
led2 = &led2;
led3 = &led3;
led4 = &led4;
led5 = &led5;
led6 = &led6;
led7 = &led7;
sw0 = &switch0;
sw1 = &switch1;
sw2 = &switch2;
sw2 = &switch3;
};
leds {
compatible = "gpio-le... | /content/code_sandbox/boards/snps/emsdp/board.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 657 |
```unknown
# DesignWare ARC EM Software Development Platform board configuration
if BOARD_EMSDP
if SPI
config SPI_DW
default y
endif # SPI
endif # BOARD_EMSDP
``` | /content/code_sandbox/boards/snps/emsdp/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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
``` | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em7d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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
CONFIG_SPI=y
``` | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em9d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```yaml
identifier: emsdp/emsdp_em5d
name: EM Software Development Platform (EM5D)
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
ram: 128
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em5d.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```unknown
/*
*
*/
/dts-v1/;
#include <synopsys/emsdp.dtsi>
#include "board.dtsi"
/ {
model = "emsdp";
compatible = "snps,emsdp", "snps,emsdp";
aliases {
uart-0 = &uart0;
};
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
};
&uart0 {
status = "okay";
curren... | /content/code_sandbox/boards/snps/emsdp/emsdp_emsdp_em6.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 223 |
```ini
#
#
# Synopsys DesignWare ARC EM Software Development Platform
#
# Configure JTAG cable
# EM SDP has built-in FT2232 chip, which is similar to Digilent HS-1.
adapter driver ftdi
# Only specify FTDI serial number if it is specified via
# "set _ZEPHYR_BOARD_SERIAL 12345" before reading this script
if { [info ex... | /content/code_sandbox/boards/snps/emsdp/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 343 |
```yaml
identifier: em_starterkit/emsk_em7d
name: EM Starterkit EM7D
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
supported:
- i2c
- spi
- gpio
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```unknown
/*
*
*/
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4 |
```cmake
board_runner_args(openocd "--use-elf")
board_runner_args(mdb-hw "--jtag=digilent")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake)
``` | /content/code_sandbox/boards/snps/em_starterkit/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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_GPIO=y
CONFIG_ARC_MPU_ENABLE=y
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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_GPIO=y
CONFIG_ARC_HAS_SECURE=y
CONFIG_TRUSTED_EXECUTION_SECURE=... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d_2_3_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 93 |
```unknown
/*
*
*/
/dts-v1/;
#include <mem.h>
#include <synopsys/emsk.dtsi>
#include "em_starterkit_r22.dtsi"
#include "board.dtsi"
/ {
model = "em_starterkit-em7d";
compatible = "snps,em_starterkit-em7d", "snps,em_starterkit";
aliases {
uart-0 = &uart0;
uart-1 = &uart1;
uart-2 = &uart2;
};
chosen {
... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d_2_2.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 272 |
```unknown
/*
*
*/
/dts-v1/;
#include <mem.h>
#include <synopsys/emsk.dtsi>
#include "em_starterkit_r23.dtsi"
#include "board.dtsi"
/ {
model = "em_starterkit-em9d";
compatible = "snps,em_starterkit-em9d", "snps,em_starterkit";
aliases {
uart-0 = &uart0;
uart-1 = &uart1;
uart-2 = &uart2;
};
chosen {
... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em9d.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 325 |
```unknown
/*
*
*/
/ {
soc {
i2c@f0004000 {
interrupts = <25 1>;
};
i2c@f0005000 {
interrupts = <26 1>;
};
uart@f0008000 {
interrupts = <29 1>;
};
uart@f0009000 {
interrupts = <30 1>;
};
uart@f000a000 {
interrupts = <31 1>;
};
gpio@f0002000 {
interrupts = <24 1>;
};
... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_r23.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 436 |
```restructuredtext
.. _emsdp:
DesignWare(R) ARC(R) EM Software Development Platform
#####################################################
Overview
********
The DesignWare ARC EM Software Development Platform (SDP) is a flexible platform
for rapid software development on ARC EM processor-based subsystems. It is inte... | /content/code_sandbox/boards/snps/emsdp/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,544 |
```c
/*
*
*/
#include <zephyr/devicetree.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
/*
* for secure firmware, MPU entries are only set up for secure world.
* All regions not listed here are shared by secure world and normal world.
*/
static struct arc_mpu_region mpu_reg... | /content/code_sandbox/boards/snps/em_starterkit/arc_mpu_regions.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 615 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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_GPIO=y
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em11d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```unknown
/*
*
*/
/dts-v1/;
#include <mem.h>
#include <synopsys/emsk-sec.dtsi>
#include "em_starterkit_r23.dtsi"
#include "board.dtsi"
/ {
model = "em_starterkit-em7d";
compatible = "snps,em_starterkit-em7d", "snps,em_starterkit";
aliases {
uart-0 = &uart0;
uart-1 = &uart1;
uart-2 = &uart2;
};
chosen... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d_2_3.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 274 |
```yaml
identifier: em_starterkit/emsk_em11d
name: EM Starterkit EM11D
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
supported:
- i2c
- spi
- gpio
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em11d.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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_GPIO=y
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em9d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```yaml
identifier: em_starterkit/emsk_em9d
name: EM Starterkit
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
supported:
- i2c
- spi
- gpio
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em9d.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```yaml
board:
name: em_starterkit
vendor: snps
socs:
- name: emsk_em7d
- name: emsk_em9d
- name: emsk_em11d
revision:
format: major.minor.patch
default: "2.3"
revisions:
- name: "2.2"
- name: "2.3"
``` | /content/code_sandbox/boards/snps/em_starterkit/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```unknown
/*
*
*/
/dts-v1/;
#include <mem.h>
#include <synopsys/emsk.dtsi>
#include "em_starterkit_r23.dtsi"
#include "board.dtsi"
/ {
model = "em_starterkit-em11d";
compatible = "snps,em_starterkit-em11d", "snps,em_starterkit";
aliases {
uart-0 = &uart0;
uart-1 = &uart1;
uart-2 = &uart2;
};
chosen {... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em11d.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 325 |
```unknown
/*
*
*/
/ {
soc {
i2c@f0004000 {
interrupts = <23 1>;
};
i2c@f0005000 {
interrupts = <24 1>;
};
uart@f0008000 {
interrupts = <27 1>;
};
uart@f0009000 {
interrupts = <28 1>;
};
uart@f000a000 {
interrupts = <29 1>;
};
gpio@f0002000 {
interrupts = <22 1>;
};
... | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_r22.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 189 |
```yaml
identifier: em_starterkit@2.2/emsk_em7d
name: EM Starterkit EM7D (rev. 2.2)
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
supported:
- i2c
- spi
- gpio
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/em_starterkit/em_starterkit_emsk_em7d_2_2.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```unknown
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
aliases {
led0 = &led0;
led1 = &led1;
led2 = &led2;
led3 = &led3;
led4 = &led4;
led5 = &led5;
led6 = &led6;
led7 = &led7;
led8 = &led8;
sw0 = &button0;
sw1 = &button1;
sw2 = &button2;
};
leds {
compatible = "gpio-leds... | /content/code_sandbox/boards/snps/em_starterkit/board.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 859 |
```c
/*
*
*/
#include <zephyr/init.h>
#define PMODMUX_BASE_ADDR 0xF0000000
/*
* 32-bits, offset 0x0, This register controls mapping of the peripheral device
* signals on Pmod connectors
*/
#define PMOD_MUX_CTRL 0
/* 32-bits, offset 0x4 */
#define I2C_MAP_CTRL 1
/*
* 32-bits, offset 0x8, SPI_MAP_CTRL[0] select... | /content/code_sandbox/boards/snps/em_starterkit/pmodmux.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,757 |
```unknown
if BOARD_EM_STARTERKIT
if I2C_DW
config I2C_DW_CLOCK_SPEED
default 100
endif # I2C_DW
endif # BOARD_EM_STARTERKIT
``` | /content/code_sandbox/boards/snps/em_starterkit/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
# DesignWare ARC EM Starter Kit board configuration
config BOARD_EM_STARTERKIT
select SOC_EMSK
select SOC_EMSK_EM7D if BOARD_EM_STARTERKIT_EMSK_EM7D
select SOC_EMSK_EM9D if BOARD_EM_STARTERKIT_EMSK_EM9D
select SOC_EMSK_EM11D if BOARD_EM_STARTERKIT_EMSK_EM11D
help
The DesignWare ARC EM Starter Kit b... | /content/code_sandbox/boards/snps/em_starterkit/Kconfig.em_starterkit | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```ini
# Configure JTAG cable
# EM Starter Kit has built-in FT2232 chip, which is similar to Digilent HS-1.
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
# channel 1 does not have any functionality
ftdi channel 0
# just TCK TDI TDO TMS, no reset
ftdi layout_init 0x0088 0x008b
reset_config none
# Only specify FTDI ser... | /content/code_sandbox/boards/snps/em_starterkit/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 224 |
```cmake
board_runner_args(openocd "--use-elf")
board_runner_args(mdb-hw "--jtag=digilent")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake)
``` | /content/code_sandbox/boards/snps/iotdk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```unknown
/*
*
*/
/dts-v1/;
#include <synopsys/arc_iot.dtsi>
#include <mem.h>
/ {
model = "iotdk";
compatible = "snps,iotdk", "snps,iotdk";
aliases {
uart-0 = &uart0;
};
chosen {
zephyr,sram = &dccm0;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
xccm@c0000000... | /content/code_sandbox/boards/snps/iotdk/iotdk.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 224 |
```c
/*
*
*/
#include <zephyr/devicetree.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
static struct arc_mpu_region mpu_regions[] = {
/* Region ICCM */
MPU_REGION_ENTRY("ICCM",
DT_REG_ADDR(DT_INST(0, arc_iccm)),
DT_REG_SIZE(DT_INST(0, arc_iccm)),
REGION_ROM_ATTR... | /content/code_sandbox/boards/snps/iotdk/arc_mpu_regions.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 465 |
```yaml
identifier: iotdk
name: IoT Development Kit
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
ram: 128
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/iotdk/iotdk.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
# DesignWare ARC IoT Development Kit board configuration
config BOARD_IOTDK
select SOC_ARC_IOT
help
The DesignWare ARC IoT Development Kit board is a versatile platform that includes the
necessary hardware and software to accelerate software development and debugging of
sensor fusion, voice reco... | /content/code_sandbox/boards/snps/iotdk/Kconfig.iotdk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```yaml
board:
name: iotdk
vendor: snps
socs:
- name: arc_iot
``` | /content/code_sandbox/boards/snps/iotdk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```unknown
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
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
``` | /content/code_sandbox/boards/snps/iotdk/iotdk_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```ini
#
#
# Synopsys DesignWare ARC IoT Development Kit
#
# Configure JTAG cable
# IoT DK has built-in FT2232 chip, which is similar to Digilent HS-1.
adapter driver ftdi
# Only specify FTDI serial number if it is specified via
# "set _ZEPHYR_BOARD_SERIAL 12345" before reading this script
if { [info exists _ZEPHYR_... | /content/code_sandbox/boards/snps/iotdk/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 339 |
```restructuredtext
.. _em_starterkit:
DesignWare(R) ARC(R) EM Starter Kit
###################################
Overview
********
The DesignWare(R) ARC(R) EM Starter Kit is a low-cost, versatile solution
enabling rapid software development and software debugging, and profiling
for the ARC EM Family of processors. The... | /content/code_sandbox/boards/snps/em_starterkit/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,766 |
```cmake
board_runner_args(openocd "--use-elf")
board_runner_args(mdb-hw "--jtag=digilent" "--cores=${CONFIG_MP_MAX_NUM_CPUS}")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake)
``` | /content/code_sandbox/boards/snps/hsdk4xd/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_GPIO=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=4
CONFIG_ARC_DSP_TURNED_OFF=y
``` | /content/code_sandbox/boards/snps/hsdk4xd/hsdk4xd_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```unknown
# DesignWare ARC HSDK4XD Development Kit board configuration
config BOARD_HSDK4XD
select SOC_ARC_HSDK4XD
help
The ARC HS4x/4xD Development Kit is a ready-to-use software development
platform for the ARC HS4x/4xD family of processor IP. It includes
a multicore ARC HS4x/HS4xD-based chip and integr... | /content/code_sandbox/boards/snps/hsdk4xd/Kconfig.hsdk4xd | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 94 |
```restructuredtext
.. _iotdk:
DesignWare(R) ARC(R) IoT Development Kit
########################################
Overview
********
The DesignWare(R) ARC(R) IoT Development Kit is a versatile platform that
includes the necessary hardware and software to accelerate software
development and debugging of sensor fusion, ... | /content/code_sandbox/boards/snps/iotdk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,379 |
```unknown
/*
*
*/
/dts-v1/;
#include <synopsys/arc_hs4xd.dtsi>
/ {
model = "hsdk4xd";
compatible = "snps,hsdk4xd";
aliases {
uart-dbg = &uart_dbg;
};
chosen {
zephyr,sram = &ddr0;
zephyr,console = &uart_dbg;
zephyr,shell-uart = &uart_dbg;
};
};
arduino_spi: &spi2 {};
&uart_dbg {
status = "okay... | /content/code_sandbox/boards/snps/hsdk4xd/hsdk4xd.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 138 |
```yaml
identifier: hsdk4xd
name: HS4xD Development Kit
type: mcu
arch: arc
toolchain:
- zephyr
- cross-compile
- xtools
- arcmwdt
supported:
- smp
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/hsdk4xd/hsdk4xd.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 78 |
```yaml
board:
name: hsdk4xd
vendor: snps
socs:
- name: arc_hsdk4xd
``` | /content/code_sandbox/boards/snps/hsdk4xd/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```ini
#
# Configure JTAG cable
# SDP has built-in FT2232 chip, which is similar to Digilent HS-1, except that
# it uses channel B for JTAG, instead of channel A.
adapter driver ftdi
# Only specify FTDI serial number if it is specified via
# "set _ZEPHYR_BOARD_SERIAL 12345" before reading this script
if { [info exist... | /content/code_sandbox/boards/snps/hsdk4xd/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,023 |
```yaml
identifier: nsim/nsim_hs/hostlink
name: HS3x nSIM simulator
type: sim
simulation: nsim
simulation_exec: nsimdrv
arch: arc
toolchain:
- zephyr
- cross-compile
- arcmwdt
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_hostlink.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_hostlink_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 59 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_em7d_v22_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```unknown
/*
*
*/
#include "skeleton.dtsi"
#ifndef UART0_IRQ_NUM
#define UART0_IRQ_NUM 24
#endif
/ {
uart0: uart@f0000000 {
compatible = "ns16550";
clock-frequency = <50000000>;
reg = <0xf0000000 0x400>;
current-speed = <115200>;
interrupt-parent = <&intc>;
interrupts = <UART0_IRQ_NUM 1>;
reg-shift... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim-uart-ns16550.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 143 |
```unknown
/*
*
*/
#include "skeleton.dtsi"
#include <mem.h>
#ifndef ICCM_ADDR
#define ICCM_ADDR 0
#endif
#ifndef ICCM_SIZE
#define ICCM_SIZE DT_SIZE_M(1)
#endif
#ifndef DCCM_ADDR
#define DCCM_ADDR 80000000
#endif
#ifndef DCCM_SIZE
#define DCCM_SIZE DT_SIZE_M(1)
#endif
/ {
iccm0: iccm@ICCM_ADDR {
compatible ... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim-ccm-mem.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 184 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim.dtsi"
#include "nsim-ccm-mem.dtsi"
#include "nsim-uart-ns16550.dtsi"
/ {
model = "snps,nsim_hs";
compatible = "snps,nsim_hs";
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "snps,archs";
reg = <0>;
};
};
}... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 125 |
```unknown
/*
*
*/
/dts-v1/;
#define ICCM_SIZE DT_SIZE_K(256)
#define DCCM_SIZE DT_SIZE_K(256)
#define UART0_IRQ_NUM 23
#include "nsim.dtsi"
#include "nsim-ccm-mem.dtsi"
#include "nsim-uart-ns16550.dtsi"
/ {
model = "snps,nsim_hs";
compatible = "snps,nsim_hs";
cpus {
#address-cells = <1>;
#size-cells = <0... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_vpx5.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 154 |
```cmake
set(SUPPORTED_EMU_PLATFORMS nsim)
string(SUBSTRING "${BOARD_QUALIFIERS}" 1 -1 NSIM_BASE_FILENAME)
string(REPLACE "/" "_" NSIM_BASE_FILENAME "${NSIM_BASE_FILENAME}")
if(NOT (CONFIG_SOC_NSIM_HS_SMP OR CONFIG_SOC_NSIM_HS6X_SMP OR CONFIG_SOC_NSIM_HS5X_SMP))
board_set_flasher_ifnset(arc-nsim)
board_set_debugg... | /content/code_sandbox/boards/snps/nsim/arc_classic/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 244 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim.dtsi"
#include "nsim-ccm-mem.dtsi"
#include "nsim-uart-ns16550.dtsi"
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "snps,arcem";
reg = <0>;
};
};
};
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_em.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 108 |
```yaml
identifier: nsim/nsim_sem/mpu_stack_guard
name: SEM nSIM simulator (stack guard)
type: sim
arch: arc
simulation: nsim
simulation_exec: nsimdrv
toolchain:
- zephyr
- cross-compile
- arcmwdt
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_sem_mpu_stack_guard.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 84 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim.dtsi"
#include "nsim-flash-sram-mem.dtsi"
#include "nsim-uart-ns16550.dtsi"
/ {
model = "snps,nsim_hs";
compatible = "snps,nsim_hs";
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "snps,archs";
reg = <0>;
}... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_flash_xip.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 125 |
```yaml
identifier: nsim/nsim_hs/sram
name: HS nSIM simulator (SRAM)
type: sim
simulation: nsim
simulation_exec: nsimdrv
arch: arc
toolchain:
- zephyr
- cross-compile
- arcmwdt
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_sram.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```unknown
/*
*
*/
#include "skeleton.dtsi"
#include <mem.h>
#define DT_FLASH_SIZE DT_SIZE_M(4)
#define DT_SRAM_SIZE DT_SIZE_M(4)
/ {
/* We are carving out of DRAM for a pseudo flash and sram region */
flash0: flash@80000000 {
compatible = "soc-nv-flash";
reg = <0x80000000 DT_FLASH_SIZE>;
};
sram0: sram... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim-flash-sram-mem.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 159 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim_em.dtsi"
#define XCCM_ADDR c0000000
#define XCCM_SIZE DT_SIZE_K(64)
#define YCCM_ADDR e0000000
#define YCCM_SIZE DT_SIZE_K(64)
/ {
model = "snps,nsim_em";
compatible = "snps,nsim_em";
xccm0: xccm@XCCM_ADDR {
compatible = "arc,xccm";
reg = <DT_ADDR(XCCM_ADDR) XCC... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_em11d.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 182 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim-smp.dtsi"
#include "nsim-flat-mem.dtsi"
/ {
model = "snps,nsim_hs";
compatible = "snps,nsim_hs";
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "snps,arcv3-hs";
reg = <0>;
};
cpu@1 {
device_type = "cp... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs6x_smp_12cores.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 499 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_XIP=y
CONFIG_HARVARD=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_flash_xip_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_vpx5_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```yaml
identifier: nsim/nsim_hs5x/smp/12cores
name: Multi-core HS5x nSIM simulator (12 cores)
type: sim
simulation: mdb-nsim
simulation_exec: mdb
arch: arc
toolchain:
- zephyr
- arcmwdt
- cross-compile
supported:
- smp
testing:
timeout_multiplier: 4
ignore_tags:
- net
- bluetooth
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs5x_smp_12cores.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```c
/*
*
*/
#include <zephyr/arch/arc/cluster.h>
#include <zephyr/devicetree.h>
#include <zephyr/init.h>
#define DT_SRAM_NODE_ADDR (DT_REG_ADDR(DT_CHOSEN(zephyr_sram)) / (1024 * 1024))
#define DT_SRAM_NODE_SIZE (DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) / (1024 * 1024))
static int haps_arcv3_init(void)
{
arc_cln_wri... | /content/code_sandbox/boards/snps/nsim/arc_classic/haps_arcv3_init.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 230 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_em11d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```yaml
identifier: nsim/nsim_em7d_v22
name: EM nSIM simulator (EM7D_v22)
type: sim
simulation: nsim
simulation_exec: nsimdrv
arch: arc
toolchain:
- zephyr
- cross-compile
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_em7d_v22.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```c
/*
*
*/
#include <zephyr/devicetree.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/arch/arc/arch.h>
#include <zephyr/linker/linker-defs.h>
/*
* for secure firmware, MPU entries are only set up for secure world.
* All regions not listed here are shared by secure world and normal world.
*/
st... | /content/code_sandbox/boards/snps/nsim/arc_classic/arc_mpu_regions.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 851 |
```yaml
identifier: nsim/nsim_hs/smp
name: Multi-core HS nSIM simulator
type: sim
simulation: mdb-nsim
simulation_exec: mdb
arch: arc
toolchain:
- zephyr
- cross-compile
- arcmwdt
supported:
- smp
testing:
timeout_multiplier: 1.5
default: true
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_smp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim_em-sec.dtsi"
/ {
model = "nsim_sem";
compatible = "snps,nsim_sem";
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 0x40000>;
};
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 0x40000>;
};
chosen {
zephyr,sram = &dccm0;
};
};
... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_sem.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 133 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 59 |
```yaml
identifier: nsim/nsim_hs/mpuv6
name: HS (with MPU v6) nSIM simulator
type: sim
simulation: nsim
simulation_exec: nsimdrv
arch: arc
toolchain:
- zephyr
- cross-compile
- arcmwdt
testing:
default: true
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_mpuv6.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```unknown
/*
*
*/
/dts-v1/;
#include "skeleton.dtsi"
#include <mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
};
intc: arcv2-intc {
compatible = "snps,arcv2-intc";
interrupt-controller;
#interrupt-cells = <2>;
};
timer0: timer0 {
compatible = "snps,arc-timer";
interrupts = <16 1>;... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 171 |
```unknown
/*
*
*/
#include "skeleton.dtsi"
#include <mem.h>
#ifndef DDR_ADDR
#define DDR_ADDR 80000000
#endif
#ifndef DDR_SIZE
#define DDR_SIZE DT_SIZE_M(1)
#endif
/ {
ddr0: memory@DDR_ADDR {
device_type = "memory";
reg = <DT_ADDR(DDR_ADDR) DDR_SIZE>;
};
chosen {
zephyr,sram = &ddr0;
};
};
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim-flat-mem.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```unknown
/*
*
*/
#include "skeleton.dtsi"
/ {
hostlink: hostlink {
compatible = "snps,hostlink-uart";
status = "okay";
};
chosen {
zephyr,console = &hostlink;
zephyr,shell-uart = &hostlink;
};
};
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim-uart-hostlink.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```yaml
identifier: nsim/nsim_hs6x/smp
name: Multi-core HS6x nSIM simulator
type: sim
simulation: mdb-nsim
simulation_exec: mdb
arch: arc
toolchain:
- cross-compile
- zephyr
- arcmwdt
supported:
- smp
testing:
timeout_multiplier: 1.5
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs6x_smp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```yaml
identifier: nsim/nsim_vpx5
name: VPX5 nSIM simulator
type: sim
simulation: nsim
simulation_exec: nsimdrv
arch: arc
toolchain:
- arcmwdt
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_vpx5.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```unknown
CONFIG_ISA_ARCV3=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_MP_MAX_NUM_CPUS=12
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs6x_smp_12cores_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
CONFIG_ISA_ARCV3=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2
CONFIG_TICKET_SPINLOCKS=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs5x_smp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```yaml
identifier: nsim/nsim_hs6x/smp/12cores
name: Multi-core HS6x nSIM simulator (12 cores)
type: sim
simulation: mdb-nsim
simulation_exec: mdb
arch: arc
toolchain:
- cross-compile
- zephyr
- arcmwdt
supported:
- smp
testing:
timeout_multiplier: 4
ignore_tags:
- net
- bluetooth
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs6x_smp_12cores.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```yaml
identifier: nsim/nsim_em
name: EM Nsim simulator
type: sim
simulation: nsim
simulation_exec: nsimdrv
arch: arc
toolchain:
- zephyr
- cross-compile
- arcmwdt
testing:
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_em.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```unknown
CONFIG_ISA_ARCV3=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs5x_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 59 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_mpuv6_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 59 |
```restructuredtext
.. _hsdk4xd:
DesignWare(R) ARC(R) HS4x/HS4xD Development Kit
###############################################
Overview
********
The ARC HS4x/HS4xD Development Kit is the next revision of :ref:`Synopsys HSDK board <hsdk>`.
It includes a multicore ARC HS4xD-based chip that integrates a wide range of... | /content/code_sandbox/boards/snps/hsdk4xd/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,718 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_em_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_TRUSTED_EXECUTION_SECURE=y
CONFIG_ARC_HAS_STACK_CHECKING=n
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_sem_mpu_stack_guard_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```unknown
/*
*
*/
/dts-v1/;
#include "nsim-smp.dtsi"
#include "nsim-flat-mem.dtsi"
/ {
model = "snps,nsim_hs";
compatible = "snps,nsim_hs";
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "snps,arcv3-hs";
reg = <0>;
};
cpu@1 {
device_type = "cp... | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs5x_smp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 150 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_ARC_MPU_ENABLE=n
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2
CONFIG_TICKET_SPINLOCKS=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs_smp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_ARC_MPU_ENABLE=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_TRUSTED_EXECUTION_SECURE=y
CONFIG_XIP=n
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_sem_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```yaml
identifier: nsim/nsim_hs5x/smp
name: Multi-core HS5x nSIM simulator
type: sim
simulation: mdb-nsim
simulation_exec: mdb
arch: arc
toolchain:
- zephyr
- arcmwdt
- cross-compile
supported:
- smp
testing:
timeout_multiplier: 1.5
ignore_tags:
- net
- bluetooth
vendor: snps
``` | /content/code_sandbox/boards/snps/nsim/arc_classic/nsim_nsim_hs5x_smp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.