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 |
|---|---|---|---|---|---|---|---|---|
```unknown
/*
*
*/
#include <zephyr/dt-bindings/display/panel.h>
/{
chosen {
zephyr,display = &lcdif;
};
en_mipi_display_rk055hdmipi4ma0: enable-mipi-display-rk055hdmipi4ma0 {
compatible = "regulator-fixed";
regulator-name = "en_mipi_display";
enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>;
... | /content/code_sandbox/boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 698 |
```restructuredtext
.. _rk055hdmipi4ma0:
RK055HDMIPI4MA0 MIPI Display
############################
Overview
********
The Rocktech RK055HDMIPI4MA0 MIPI Display is a 5.5 inch TFT 720x1280 pixels
panel with LED backlighting, full viewing angle, MIPI interface and
capacitive touch panel from Rocktech.
More information ... | /content/code_sandbox/boards/shields/rk055hdmipi4ma0/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 471 |
```unknown
config SHIELD_ST7789V_TL019FQV01
def_bool $(shields_list_contains,st7789v_tl019fqv01)
config SHIELD_ST7789V_WAVESHARE_240X240
def_bool $(shields_list_contains,st7789v_waveshare_240x240)
``` | /content/code_sandbox/boards/shields/st7789v_generic/Kconfig.shield | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
/ {
chosen {
zephyr,display = &st7789v_st7789v_tl019fqv01;
};
mipi_dbi_st7789v_tl019fqv01 {
compatible = "zephyr,mipi-dbi-spi";
spi-dev = <&arduino_spi>;
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */
reset-gpios = <&ardui... | /content/code_sandbox/boards/shields/st7789v_generic/st7789v_tl019fqv01.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 506 |
```unknown
if SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240
if DISPLAY
choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB888 if SHIELD_ST7789V_TL019FQV01
default ST7789V_RGB565 if SHIELD_ST7789V_WAVESHARE_240X240
endchoice
if LVGL
config LV_Z_BITS_PER_PIXEL
default 24 if SHIELD_ST7789V_TL019FQV01
... | /content/code_sandbox/boards/shields/st7789v_generic/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 234 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
/ {
chosen {
zephyr,display = &st7789v_st7789v_waveshare_240x240;
};
mipi_dbi_st7789v_waveshare_240x240 {
compatible = "zephyr,mipi-dbi-spi";
spi-dev = <&arduino_spi>;
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */
reset-... | /content/code_sandbox/boards/shields/st7789v_generic/st7789v_waveshare_240x240.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 521 |
```unknown
config SHIELD_WAVESHARE_PICO_UPS_B
def_bool $(shields_list_contains,waveshare_pico_ups_b)
``` | /content/code_sandbox/boards/shields/waveshare_ups/Kconfig.shield | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
/*
*
*/
&pico_i2c1 {
waveshare_pico_ups: ina219@43 {
status = "okay";
compatible = "ti,ina219";
reg = <0x43>;
brng = <1>;
pg = <3>;
sadc = <12>;
badc = <12>;
shunt-milliohm = <100>;
lsb-microamp = <20>;
};
};
``` | /content/code_sandbox/boards/shields/waveshare_ups/waveshare_pico_ups_b.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 103 |
```unknown
/*
*
*/
&pinctrl {
i2c1_default: i2c1_default {
group1 {
bias-pull-up;
};
};
};
&pico_i2c1 {
status = "okay";
};
``` | /content/code_sandbox/boards/shields/waveshare_ups/boards/rpi_pico.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 50 |
```restructuredtext
.. _st7789v_generic:
Generic ST7789V Display Shield
##############################
Overview
********
This is a generic shield for display shields based on ST7789V display
controller. More information about the controller can be found in
`ST7789V Datasheet`_.
Pins Assignment of the Generic ST7789... | /content/code_sandbox/boards/shields/st7789v_generic/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 506 |
```unknown
config SHIELD_SEEED_XIAO_ROUND_DISPLAY
def_bool $(shields_list_contains,seeed_xiao_round_display)
``` | /content/code_sandbox/boards/shields/seeed_xiao_round_display/Kconfig.shield | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 29 |
```unknown
/*
*
*/
#include <freq.h>
#include <zephyr/dt-bindings/display/panel.h>
/ {
chosen {
zephyr,display = &gc9a01_xiao_round_display;
};
vbatt {
compatible = "voltage-divider";
io-channels = <&xiao_adc 0>;
output-ohms = <470000>;
full-ohms = <940000>;
};
lvgl_pointer {
compatible = "zephyr... | /content/code_sandbox/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 622 |
```unknown
if SHIELD_SEEED_XIAO_ROUND_DISPLAY
if DISPLAY
if LVGL
config INPUT
default y
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_16
endchoice
config LV_COLOR_16_SWAP
default y
endif # LVGL
endif # DISPLAY
endif # SHIELD_XIAO_ROUND_DISPLAY
``` | /content/code_sandbox/boards/shields/seeed_xiao_round_display/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```restructuredtext
.. _waveshare_pico_ups_b_shield:
Waveshare Pico UPS-B shield
###########################
Overview
********
The Waveshare Pico UPS-B shield is an uninterruptible Power supply (UPS)
module designed for the Raspberry Pi Pico which uses the Texas Instruments' INA219
current/power Monitor. It communic... | /content/code_sandbox/boards/shields/waveshare_ups/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,076 |
```unknown
/*
*
*/
/*
* This file is intentionally empty. Please confer with shield documentation
* for instructions to use this shield.
*/
``` | /content/code_sandbox/boards/shields/atmel_rf2xx/atmel_rf2xx.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 27 |
```restructuredtext
.. _seeed_xiao_round_display:
Seeed Studio XIAO Round Display
###############################
Overview
********
Seeed Studio Round Display for XIAO is an expansion board compatible with all
XIAO development boards. It features a fully covered touch screen on one side,
designed as a 39mm disc. It ... | /content/code_sandbox/boards/shields/seeed_xiao_round_display/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 257 |
```unknown
/*
*
*/
/ {
chosen {
zephyr,ieee802154 = &ieee802154_atmel_rf2xx_xplained;
};
};
&xplained1_spi {
status = "okay";
ieee802154_atmel_rf2xx_xplained: rf2xx@0 {
compatible = "atmel,rf2xx";
reg = <0x0>;
spi-max-frequency = <6000000>;
irq-gpios = <&xplained1_header 2
(GPIO_PULL_DOWN | G... | /content/code_sandbox/boards/shields/atmel_rf2xx/atmel_rf2xx_xplained.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 169 |
```unknown
config SHIELD_ATMEL_RF2XX
def_bool $(shields_list_contains,atmel_rf2xx)
config SHIELD_ATMEL_RF2XX_ARDUINO
def_bool $(shields_list_contains,atmel_rf2xx_arduino)
config SHIELD_ATMEL_RF2XX_MIKROBUS
def_bool $(shields_list_contains,atmel_rf2xx_mikrobus)
config SHIELD_ATMEL_RF2XX_XPRO
def_bool $(shields_l... | /content/code_sandbox/boards/shields/atmel_rf2xx/Kconfig.shield | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 173 |
```unknown
/*
*
*/
/ {
chosen {
zephyr,ieee802154 = &ieee802154_atmel_rf2xx_xpro;
};
};
&ext1_spi {
status = "okay";
ieee802154_atmel_rf2xx_xpro: rf2xx@0 {
compatible = "atmel,rf2xx";
reg = <0x0>;
spi-max-frequency = <6000000>;
irq-gpios = <&ext1_header 6
(GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;... | /content/code_sandbox/boards/shields/atmel_rf2xx/atmel_rf2xx_xpro.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 159 |
```unknown
/*
*
*/
/ {
chosen {
zephyr,ieee802154 = &ieee802154_atmel_rf2xx_legacy;
};
};
&ext1_spi {
status = "okay";
ieee802154_atmel_rf2xx_legacy: rf2xx@0 {
compatible = "atmel,rf2xx";
reg = <0x0>;
spi-max-frequency = <6000000>;
irq-gpios = <&ext1_header 10
(GPIO_PULL_DOWN | GPIO_ACTIVE_HI... | /content/code_sandbox/boards/shields/atmel_rf2xx/atmel_rf2xx_legacy.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```unknown
if SHIELD_ATMEL_RF2XX || \
SHIELD_ATMEL_RF2XX_ARDUINO || \
SHIELD_ATMEL_RF2XX_MIKROBUS || \
SHIELD_ATMEL_RF2XX_XPRO || \
SHIELD_ATMEL_RF2XX_LEGACY || \
SHIELD_ATMEL_RF2XX_XPLAINED
if NETWORKING
orsource "boards/*.defconfig"
endif # NETWORKING
endif # SHIELD_ATMEL_RF2XX || \
# SHIELD_ATMEL_RF2XX_AR... | /content/code_sandbox/boards/shields/atmel_rf2xx/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 187 |
```unknown
/*
*
*/
/ {
chosen {
zephyr,ieee802154 = &ieee802154_atmel_rf2xx_arduino;
};
};
&arduino_spi {
status = "okay";
/* D10 */
cs-gpios = <&arduino_header 16
(GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
ieee802154_atmel_rf2xx_arduino: rf2xx@0 {
compatible = "atmel,rf2xx";
reg = <0x0>;
spi-max-freq... | /content/code_sandbox/boards/shields/atmel_rf2xx/atmel_rf2xx_arduino.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 203 |
```unknown
/*
*
*/
/ {
chosen {
zephyr,ieee802154 = &ieee802154_atmel_rf2xx_mikrobus;
};
};
&mikrobus_spi {
status = "okay";
/* CS */
cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;
ieee802154_atmel_rf2xx_mikrobus: rf2xx@0 {
compatible = "atmel,rf2xx";
reg = <0x0>;
spi-max-frequency = <6000000>;
... | /content/code_sandbox/boards/shields/atmel_rf2xx/atmel_rf2xx_mikrobus.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 207 |
```unknown
CONFIG_LED_STRIP=y
``` | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/adafruit_neopixel_grid_bff_display.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6 |
```unknown
/*
*/
#include <zephyr/dt-bindings/led/led.h>
/ {
aliases {
led-strip = &bff_led_strip;
};
};
``` | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/adafruit_neopixel_grid_bff.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```unknown
config SHIELD_ADAFRUIT_NEOPIXEL_GRID_BFF
def_bool $(shields_list_contains,adafruit_neopixel_grid_bff)
``` | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/Kconfig.shield | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
#include "adafruit_neopixel_grid_bff.overlay"
/ {
chosen {
zephyr,display = &bff_led_matrix;
};
bff_led_matrix: bff-led-matrix {
compatible = "led-strip-matrix";
status = "okay";
led-strips = <&bff_led_strip>;
width = <5>;
height = <5>;
start-from-right;
circulative;
};
};
``` | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/adafruit_neopixel_grid_bff_display.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```unknown
# Intentionally left blank.
``` | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9 |
```unknown
/*
*/
#include <dt-bindings/pinctrl/rpi-pico-rp2040-pinctrl.h>
&pinctrl {
pinctrl_bff_ws2812: pinctrl_bff_ws2812 {
ws2812 {
pinmux = <PIO0_P26>;
};
};
};
&pio0 {
status = "okay";
bff-ws2812 {
compatible = "worldsemi,ws2812-rpi_pico-pio";
status = "okay";
pinctrl-0 = <&pinctrl_bff_ws2812... | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/boards/adafruit_qt_py_rp2040.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 234 |
```unknown
CONFIG_WS2812_STRIP_RPI_PICO_PIO=y
``` | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/boards/adafruit_qt_py_rp2040.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14 |
```restructuredtext
.. _adafruit_neopixel_grid_bff:
Adafruit 5x5 NeoPixel Grid BFF
##############################
Overview
********
The `Adafruit 5x5 NeoPixel Grid BFF`_ is a 5x5 grid of WS2812B RGB LEDs,
which Adafruit refers to as "neopixels". The BFF series of shields are
designed to be compatible with any Adafru... | /content/code_sandbox/boards/shields/adafruit_neopixel_grid_bff/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 551 |
```restructuredtext
.. _boards-enjoydigital:
EnjoyDigital
############
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/enjoydigital/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
/*
*
*/
/dts-v1/;
#include <riscv32-litex-vexriscv.dtsi>
/ {
model = "LiteX VexRiscV";
compatible = "litex,vexriscv";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &ram0;
};
aliases {
watchdog0 = &wdt0;
};
ram0: memory@40000000 {
device_type = "memory";
... | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/litex_vexriscv.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 351 |
```unknown
config BOARD_LITEX_VEXRISCV
select SOC_LITEX_VEXRISCV
``` | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/Kconfig.litex_vexriscv | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```yaml
board:
name: litex_vexriscv
vendor: litex
socs:
- name: litex_vexriscv
``` | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```unknown
#
#
#
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_GPIO=y
CONFIG_XIP=n
CONFIG_CLOCK_CONTROL=y
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_SPI_NOR_SFDP_RUNTIME=y
``` | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/litex_vexriscv_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 49 |
```unknown
if BOARD_LITEX_VEXRISCV
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
endif # BOARD_LITEX_VEXRISCV
``` | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```yaml
#
#
#
identifier: litex_vexriscv
name: LiteX SoC with VexRiscV softcore CPU
type: mcu
arch: riscv
toolchain:
- zephyr
ram: 262144
supported:
- gpio
- uart
- spi
- i2s
- i2c
- watchdog
testing:
ignore_tags:
- bluetooth
- xip
vendor: litex
``` | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/litex_vexriscv.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```restructuredtext
.. _atmel_at86rf2xx_transceivers:
Atmel AT86RF2XX Transceivers
############################
Overview
********
The Atmel AT86RF2xx is a high performance radio transceiver targeted for IEEE
802.15.4, ZigBee, RF4CE, 6LoWPAN, and ISM applications. The AT86RF2xx is a
true SPI-to-antenna solution and ... | /content/code_sandbox/boards/shields/atmel_rf2xx/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,496 |
```restructuredtext
.. _boards-qemu:
QEMU
####
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/qemu/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```cmake
#
set(SUPPORTED_EMU_PLATFORMS qemu)
set(QEMU_ARCH xilinx-aarch64)
set(QEMU_CPU_TYPE_${ARCH} cortex-r5)
set(QEMU_FLAGS_${ARCH}
-nographic
-machine arm-generic-fdt
-dtb ${CMAKE_CURRENT_LIST_DIR}/fdt-single_arch-zcu102-arm.dtb
)
set(QEMU_KERNEL_OPTION
"-device;loader,file=\$<TARGET_FILE:\${logical_ta... | /content/code_sandbox/boards/qemu/cortex_r5/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 176 |
```yaml
identifier: qemu_cortex_r5
name: QEMU Emulation for Cortex-R5
type: qemu
simulation: qemu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 65536
flash: 32768
testing:
default: true
ignore_tags:
- net
- bluetooth
vendor: xlnx
``` | /content/code_sandbox/boards/qemu/cortex_r5/qemu_cortex_r5.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 90 |
```unknown
CONFIG_XIP=n
CONFIG_QEMU_ICOUNT_SHIFT=3
CONFIG_ISR_STACK_SIZE=512
CONFIG_THREAD_STACK_INFO=y
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_ARM_MPU=y
``` | /content/code_sandbox/boards/qemu/cortex_r5/qemu_cortex_r5_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
/*
*
*
*/
/dts-v1/;
#include <arm/xilinx/zynqmp_rpu.dtsi>
/ {
model = "QEMU Cortex-R5";
compatible = "xlnx,zynqmp-qemu";
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,ocm = &ocm;
};
};
&uart0 {
status = "okay";
curren... | /content/code_sandbox/boards/qemu/cortex_r5/qemu_cortex_r5.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 159 |
```yaml
board:
name: qemu_cortex_r5
vendor: qemu
socs:
- name: zynqmp_rpu
``` | /content/code_sandbox/boards/qemu/cortex_r5/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
config BOARD_QEMU_CORTEX_R5
select SOC_XILINX_ZYNQMP_RPU
``` | /content/code_sandbox/boards/qemu/cortex_r5/Kconfig.qemu_cortex_r5 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```restructuredtext
.. _litex-vexriscv:
LiteX VexRiscv
##############
LiteX VexRiscv is an example of a system on a chip (SoC) that consists of
a `VexRiscv processor <path_to_url`_
and additional peripherals. This setup can be generated using
`Zephyr on LiteX VexRiscv (reference platform)
<path_to_url`_
or `LiteX SoC... | /content/code_sandbox/boards/enjoydigital/litex_vexriscv/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,652 |
```unknown
config BOARD_QEMU_CORTEX_R5
select QEMU_TARGET
``` | /content/code_sandbox/boards/qemu/cortex_r5/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16 |
```unknown
if BOARD_QEMU_CORTEX_R5
config BUILD_OUTPUT_BIN
default n
if USERSPACE
config COMPILER_ISA_THUMB2
default n
endif
endif # BOARD_QEMU_CORTEX_R5
``` | /content/code_sandbox/boards/qemu/cortex_r5/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47 |
```cmake
set(SUPPORTED_EMU_PLATFORMS qemu)
set(QEMU_binary_suffix riscv32)
set(QEMU_CPU_TYPE_${ARCH} riscv32)
set(QEMU_FLAGS_${ARCH}
-nographic
-machine virt
-bios none
-m 256
)
board_set_debugger_ifnset(qemu)
``` | /content/code_sandbox/boards/qemu/riscv32e/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 74 |
```unknown
/*
*
*
*/
/dts-v1/;
#include <qemu/virt-riscv32.dtsi>
/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &ram0;
};
};
&uart0 {
status = "okay";
};
``` | /content/code_sandbox/boards/qemu/riscv32e/qemu_riscv32e.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 78 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_STACK_SENTINEL=y
CONFIG_QEMU_ICOUNT_SHIFT=6
CONFIG_XIP=n
CONFIG_RISCV_PMP=y
``` | /content/code_sandbox/boards/qemu/riscv32e/qemu_riscv32e_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```yaml
board:
name: qemu_riscv32e
vendor: qemu
socs:
- name: qemu_virt_riscv32e
``` | /content/code_sandbox/boards/qemu/riscv32e/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```yaml
identifier: qemu_riscv32e
name: QEMU Emulation for RISC-V (RV32E) 32-bit
type: qemu
simulation: qemu
arch: riscv
toolchain:
- zephyr
- xtools
supported:
- netif
testing:
default: true
ignore_tags:
- net
- bluetooth
``` | /content/code_sandbox/boards/qemu/riscv32e/qemu_riscv32e.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```unknown
config BOARD_QEMU_RISCV32E
select SOC_QEMU_VIRT_RISCV32E
``` | /content/code_sandbox/boards/qemu/riscv32e/Kconfig.qemu_riscv32e | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```restructuredtext
.. _qemu_cortex_r5:
ARM Cortex-R5 Emulation (QEMU)
##############################
Overview
********
This board configuration will use QEMU to emulate the Xilinx Zynq UltraScale+
(ZynqMP) platform.
This configuration provides support for an ARM Cortex-R5 CPU and these devices:
* ARM PL-390 Gener... | /content/code_sandbox/boards/qemu/cortex_r5/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 725 |
```unknown
config BOARD_QEMU_RISCV32E
select QEMU_TARGET
``` | /content/code_sandbox/boards/qemu/riscv32e/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 17 |
```unknown
if BOARD_QEMU_RISCV32E
# Use thread local storage by default so that this feature gets more CI coverage.
config THREAD_LOCAL_STORAGE
default y
config BUILD_OUTPUT_BIN
default n
config HAS_COVERAGE_SUPPORT
default y
endif # BOARD_QEMU_RISCV32E
``` | /content/code_sandbox/boards/qemu/riscv32e/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 64 |
```unknown
config BOARD_QEMU_NIOS2
select SOC_QEMU_NIOS2
``` | /content/code_sandbox/boards/qemu/nios2/Kconfig.qemu_nios2 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18 |
```cmake
set(SUPPORTED_EMU_PLATFORMS qemu)
set(QEMU_CPU_TYPE_${ARCH} nios2)
set(QEMU_FLAGS_${ARCH}
-machine altera_10m50_zephyr
-nographic
)
board_set_debugger_ifnset(qemu)
``` | /content/code_sandbox/boards/qemu/nios2/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```yaml
identifier: qemu_nios2
name: QEMU Emulation for NIOS II
type: qemu
simulation: qemu
arch: nios2
ram: 128
flash: 128
toolchain:
- zephyr
- xtools
testing:
default: true
ignore_tags:
- net
- bluetooth
vendor: qemu
``` | /content/code_sandbox/boards/qemu/nios2/qemu_nios2.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```restructuredtext
.. _qemu_riscv32e:
RISCV32E Emulation (QEMU)
#########################
Overview
********
The RISCV32E QEMU board configuration is used to emulate the RISCV32 (RV32E) architecture.
Programming and Debugging
*************************
Applications for the ``qemu_riscv32e`` board configuration can ... | /content/code_sandbox/boards/qemu/riscv32e/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 528 |
```unknown
/dts-v1/;
#include <intel/nios2-qemu.dtsi>
/ {
model = "qemu_nios2";
compatible = "qemu,nios2";
aliases {
uart-0 = &jtag_uart;
uart-1 = &ns16550_uart;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &ns16550_uart;
zephyr,shell-uart = &ns16550_uart;
};
};
&jt... | /content/code_sandbox/boards/qemu/nios2/qemu_nios2.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 163 |
```unknown
CONFIG_HAS_ALTERA_HAL=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_INCLUDE_RESET_VECTOR=n
CONFIG_EXTRA_EXCEPTION_INFO=y
CONFIG_QEMU_ICOUNT_SHIFT=4
``` | /content/code_sandbox/boards/qemu/nios2/qemu_nios2_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```unknown
if BOARD_QEMU_NIOS2
config BUILD_OUTPUT_BIN
default n
endif
``` | /content/code_sandbox/boards/qemu/nios2/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```yaml
board:
name: qemu_nios2
vendor: altr
socs:
- name: qemu_nios2
``` | /content/code_sandbox/boards/qemu/nios2/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
config BOARD_QEMU_NIOS2
select QEMU_TARGET
``` | /content/code_sandbox/boards/qemu/nios2/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_EXTRA_EXCEPTION_INFO=y
CONFIG_QEMU_ICOUNT_SHIFT=6
``` | /content/code_sandbox/boards/qemu/leon3/qemu_leon3_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```cmake
set(SUPPORTED_EMU_PLATFORMS qemu)
set(QEMU_binary_suffix sparc)
set(QEMU_CPU_TYPE_${ARCH} leon3)
set(QEMU_FLAGS_${ARCH}
-nographic
-machine leon3_generic
-icount auto
)
board_set_debugger_ifnset(qemu)
``` | /content/code_sandbox/boards/qemu/leon3/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```yaml
board:
name: qemu_leon3
vendor: gaisler
socs:
- name: leon3
``` | /content/code_sandbox/boards/qemu/leon3/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
/dts-v1/;
#include <gaisler/leon3soc.dtsi>
/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &ram0;
};
};
&timer0 {
interrupts = <6>;
};
&uart0 {
interrupts = <3>;
status = "okay";
};
&ram0 {
reg = <0x40000000 0x40000000>;
};
``` | /content/code_sandbox/boards/qemu/leon3/qemu_leon3.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 115 |
```yaml
identifier: qemu_leon3
name: QEMU Emulation for LEON3
type: qemu
simulation: qemu
arch: sparc
ram: 1048576
flash: 524288
toolchain:
- zephyr
- xtools
supported:
- netif
testing:
default: true
ignore_tags:
- net
- bluetooth
``` | /content/code_sandbox/boards/qemu/leon3/qemu_leon3.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 85 |
```unknown
#
if BOARD_QEMU_LEON3
config UART_INTERRUPT_DRIVEN
default y
endif
``` | /content/code_sandbox/boards/qemu/leon3/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```unknown
#
config BOARD_QEMU_LEON3
select QEMU_TARGET
select CPU_HAS_FPU
``` | /content/code_sandbox/boards/qemu/leon3/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```restructuredtext
.. _qemu_nios2:
Altera Nios-II Emulation (QEMU)
###############################
Overview
********
This board configuration will use QEMU to emulate the Altera MAX 10 platform.
This configuration provides support for an Altera Nios-II CPU and these devices:
* Internal Interrupt Controller
* Alte... | /content/code_sandbox/boards/qemu/nios2/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 851 |
```unknown
#
config BOARD_QEMU_LEON3
select SOC_LEON3
``` | /content/code_sandbox/boards/qemu/leon3/Kconfig.qemu_leon3 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16 |
```yaml
identifier: qemu_cortex_a53/qemu_cortex_a53/smp
name: QEMU Emulation for Cortex-A53 SMP
type: qemu
simulation: qemu
arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
supported:
- smp
testing:
default: true
ignore_tags:
- net
- bluetooth
vendor: qemu
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_qemu_cortex_a53_smp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 92 |
```cmake
set(SUPPORTED_EMU_PLATFORMS qemu)
set(QEMU_ARCH aarch64)
set(QEMU_CPU_TYPE_${ARCH} cortex-a53)
if(CONFIG_ARMV8_A_NS)
set(QEMU_MACH virt,gic-version=3)
else()
set(QEMU_MACH virt,secure=on,gic-version=3)
endif()
set(QEMU_FLAGS_${ARCH}
-cpu ${QEMU_CPU_TYPE_${ARCH}}
-nographic
-machine ${QEMU_MACH}
... | /content/code_sandbox/boards/qemu/cortex_a53/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 194 |
```restructuredtext
.. _qemu_leon3:
LEON3 Emulation (QEMU)
######################
Overview
********
The LEON3 QEMU board configuration is used to emulate the LEON3 processor.
Programming and Debugging
*************************
Applications for the ``qemu_leon3`` board configuration can be built and run in
the usua... | /content/code_sandbox/boards/qemu/leon3/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 417 |
```unknown
CONFIG_ARM_ARCH_TIMER=y
# Cache management
CONFIG_CACHE_MANAGEMENT=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable serial port
CONFIG_UART_INTERRUPT_DRIVEN=y
# Avoid timing skew in tests
CONFIG_QEMU_ICOUNT=y
# Enable XIP
CONFIG_XIP=y
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_qemu_cortex_a53_xip_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 75 |
```unknown
CONFIG_ARM_ARCH_TIMER=y
# Cache management
CONFIG_CACHE_MANAGEMENT=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable serial port
CONFIG_UART_INTERRUPT_DRIVEN=y
# Avoid timing skew in tests
CONFIG_QEMU_ICOUNT=y
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 65 |
```unknown
config BOARD_QEMU_CORTEX_A53
select SOC_QEMU_CORTEX_A53
``` | /content/code_sandbox/boards/qemu/cortex_a53/Kconfig.qemu_cortex_a53 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```yaml
identifier: qemu_cortex_a53/qemu_cortex_a53/xip
name: QEMU Emulation for Cortex-A53 (XIP)
type: qemu
simulation: qemu
arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
testing:
default: true
only_tags:
- xip
vendor: qemu
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_qemu_cortex_a53_xip.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 84 |
```unknown
CONFIG_ARM_ARCH_TIMER=y
# Cache management
CONFIG_CACHE_MANAGEMENT=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable serial port
CONFIG_UART_INTERRUPT_DRIVEN=y
# icount does not work well with SMP
CONFIG_QEMU_ICOUNT=n
# We have multiple QEMU-A53 boa... | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_qemu_cortex_a53_smp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 148 |
```unknown
/*
*
*
*/
#include "qemu_cortex_a53.dts"
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_qemu_cortex_a53_smp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16 |
```yaml
board:
name: qemu_cortex_a53
vendor: arm
socs:
- name: qemu_cortex_a53
variants:
- name: smp
- name: xip
``` | /content/code_sandbox/boards/qemu/cortex_a53/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 48 |
```yaml
identifier: qemu_cortex_a53
name: QEMU Emulation for Cortex-A53
type: qemu
simulation: qemu
arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
testing:
default: true
ignore_tags:
- net
- bluetooth
vendor: qemu
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```unknown
/*
*
*
*/
#include "qemu_cortex_a53.dts"
``` | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53_qemu_cortex_a53_xip.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16 |
```unknown
/*
*
*
*/
/dts-v1/;
#include <arm64/qemu/qemu-virt-a53.dtsi>
/ {
model = "QEMU Cortex-A53";
compatible = "qemu,arm-cortex-a53";
psci {
compatible = "arm,psci-0.2";
method = "hvc";
};
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,flash = &fl... | /content/code_sandbox/boards/qemu/cortex_a53/qemu_cortex_a53.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 302 |
```unknown
config QEMU_CORTEX_A53_ETH_E1000
bool
default y if !NET_TEST
depends on BOARD_QEMU_CORTEX_A53 && NETWORKING && DT_HAS_INTEL_E1000_ENABLED
select ETH_E1000
select NET_L2_ETHERNET
select PCIE
select PCIE_CONTROLLER
select PCIE_ECAM
``` | /content/code_sandbox/boards/qemu/cortex_a53/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 75 |
```unknown
if BOARD_QEMU_CORTEX_A53
config BUILD_OUTPUT_BIN
default y
config MAX_THREAD_BYTES
default 3
if NETWORKING
choice NET_QEMU_NETWORKING
default NET_QEMU_ETHERNET if QEMU_CORTEX_A53_ETH_E1000
endchoice
config NET_DRIVERS
default n if QEMU_CORTEX_A53_ETH_E1000
endif # NETWORKING
# QEMU PCI requires a... | /content/code_sandbox/boards/qemu/cortex_a53/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 215 |
```restructuredtext
.. _qemu_cortex_a53:
ARM Cortex-A53 Emulation (QEMU)
###############################
Overview
********
This board configuration will use QEMU to emulate a generic Cortex-A53 hardware
platform.
This configuration provides support for an ARM Cortex-A53 CPU and these
devices:
* GIC-400 interrupt c... | /content/code_sandbox/boards/qemu/cortex_a53/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 737 |
```unknown
# QEMU Cortex-M0 board configuration
config BOARD_QEMU_CORTEX_M0
select SOC_NRF51822_QFAA
``` | /content/code_sandbox/boards/qemu/cortex_m0/Kconfig.qemu_cortex_m0 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 29 |
```cmake
#
#
set(SUPPORTED_EMU_PLATFORMS qemu)
set(QEMU_CPU_TYPE_${ARCH} cortex-m0)
set(QEMU_FLAGS_${ARCH}
-cpu ${QEMU_CPU_TYPE_${ARCH}}
-machine microbit
-nographic
-vga none
)
board_set_debugger_ifnset(qemu)
``` | /content/code_sandbox/boards/qemu/cortex_m0/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 24)>,
<NRF_PSEL(UART_RX, 0, 25)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 24)>,
<NRF_PSEL(UART_RX, 0, 25)>;
low-power-enable;
};
};
};
``` | /content/code_sandbox/boards/qemu/cortex_m0/qemu_cortex_m0-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 124 |
```c
/*
*
*/
#include <soc.h>
#include <zephyr/init.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/sys_clock.h>
#include <hal/nrf_timer.h>
#include <zephyr/spinlock.h>
#include <zephyr/irq.h>
#d... | /content/code_sandbox/boards/qemu/cortex_m0/nrf_timer_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,645 |
```yaml
identifier: qemu_cortex_m0
name: QEMU Emulation for Cortex-M0
type: qemu
simulation: qemu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 16
flash: 256
testing:
default: true
ignore_tags:
- net
- bluetooth
``` | /content/code_sandbox/boards/qemu/cortex_m0/qemu_cortex_m0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf51822_qfaa.dtsi>
#include "qemu_cortex_m0-pinctrl.dtsi"
/ {
model = "QEMU Cortex-M0";
compatible = "bbc,qemu-microbit";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,sram ... | /content/code_sandbox/boards/qemu/cortex_m0/qemu_cortex_m0.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 472 |
```yaml
board:
name: qemu_cortex_m0
vendor: nordic
socs:
- name: nrf51822
``` | /content/code_sandbox/boards/qemu/cortex_m0/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```unknown
CONFIG_QEMU_ICOUNT_SHIFT=6
# Enable GPIO
CONFIG_GPIO=y
# Clock control
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# icount is kinda broken when the NRF timer emulation is used
CONFIG_QEMU_ICOUNT=n
``` | /content/code_sandbox/boards/qemu/cortex_m0/qemu_cortex_m0_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.