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: gd32vf103c_starter
vendor: gd
socs:
- name: gd32vf103
``` | /content/code_sandbox/boards/gd/gd32vf103c_starter/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
/*
*/
#include <dt-bindings/pinctrl/gd32vf103c(b-8)xx-pinctrl.h>
&pinctrl {
usart0_default: usart0_default {
group1 {
pinmux = <USART0_RX_PA10_NORMP>, <USART0_TX_PA9_NORMP>;
};
};
pwm2_default: pwm2_default {
group1 {
pinmux = <TIMER2_CH1_PA7_OUT_NORMP>;
};
};
};
``` | /content/code_sandbox/boards/gd/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 111 |
```restructuredtext
.. _gd32f407v_start:
GigaDevice GD32F407V-START
##########################
Overview
********
The GD32F407V-START board is a hardware platform that enables prototyping
on GD32F407VE Cortex-M4 High Performance MCU.
The GD32F407VE features a single-core ARM Cortex-M4 MCU which can run up
to 168 MHz... | /content/code_sandbox/boards/gd/gd32f407v_start/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,100 |
```ini
# NOTE: This configuration file is intended to be used with the
# path_to_url OpenOCD fork.
source [find interface/cmsis-dap.cfg]
source [find target/gd32vf103.cfg]
``` | /content/code_sandbox/boards/gd/gd32vf103c_starter/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```restructuredtext
.. _boards-gaisler:
Gaisler
#######
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/gaisler/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```cmake
set(SUPPORTED_EMU_PLATFORMS tsim)
find_program(TSIM tsim-leon3)
set(TSIM_SYS -freq 20 -gr716)
``` | /content/code_sandbox/boards/gaisler/gr716a_mini/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
/*
*
*/
/dts-v1/;
#include <mem.h>
#include <gaisler/gr716a.dtsi>
/ {
model = "GR716-MINI Development Board";
compatible = "gaisler,gr716a-mini";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &dram;
};
};
&uart0 {
status = "okay";
};
&spim0 {
status = "okay";... | /content/code_sandbox/boards/gaisler/gr716a_mini/gr716a_mini.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 225 |
```yaml
board:
name: gr716a_mini
vendor: gaisler
socs:
- name: gr716a
``` | /content/code_sandbox/boards/gaisler/gr716a_mini/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```yaml
identifier: gr716a_mini
name: GR716-MINI Development Board
type: mcu
simulation: tsim
simulation_exec: tsim-leon3
arch: sparc
toolchain:
- zephyr
- xtools
supported:
- netif
- spi
- gpio
testing:
ignore_tags:
- net
- bluetooth
vendor: gaisler
``` | /content/code_sandbox/boards/gaisler/gr716a_mini/gr716a_mini.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 90 |
```unknown
#
config BOARD_GR716A_MINI
select SOC_GR716A
``` | /content/code_sandbox/boards/gaisler/gr716a_mini/Kconfig.gr716a_mini | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16 |
```restructuredtext
.. _gd32vf103c_starter:
GigaDevice GD32VF103C-STARTER
#############################
Overview
********
The GD32VF103C-STARTER board is a hardware platform that enables prototyping
on GD32VF103CB RISC-V MCU.
The GD32VF103CB features a single-core RISC-V 32-bit MCU which can run up
to 108 MHz with ... | /content/code_sandbox/boards/gd/gd32vf103c_starter/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 992 |
```unknown
#
if BOARD_GR716A_MINI
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 20000000
config UART_INTERRUPT_DRIVEN
default y
endif
``` | /content/code_sandbox/boards/gaisler/gr716a_mini/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/gaisler/gr716a_mini/gr716a_mini_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
#
config BOARD_GENERIC_LEON3
select SOC_LEON3
``` | /content/code_sandbox/boards/gaisler/generic_leon3/Kconfig.generic_leon3 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```cmake
set(SUPPORTED_EMU_PLATFORMS tsim)
find_program(TSIM tsim-leon3)
set(TSIM_SYS -uart_fs 32)
``` | /content/code_sandbox/boards/gaisler/generic_leon3/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```yaml
identifier: generic_leon3
name: Generic LEON3 system
type: mcu
simulation: tsim
simulation_exec: tsim-leon3
arch: sparc
ram: 4096
flash: 2048
toolchain:
- zephyr
- xtools
supported:
- netif
testing:
ignore_tags:
- net
- bluetooth
vendor: gaisler
``` | /content/code_sandbox/boards/gaisler/generic_leon3/generic_leon3.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 93 |
```unknown
/*
*
*/
/dts-v1/;
#include <gaisler/leon3soc.dtsi>
/ {
model = "Generic LEON3 system";
compatible = "gaisler,generic-leon3";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &ram0;
};
};
&ram0 {
reg = <0x40000000 0x00400000>;
};
&uart0 {
status = "okay";
};
``` | /content/code_sandbox/boards/gaisler/generic_leon3/generic_leon3.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 118 |
```yaml
board:
name: generic_leon3
vendor: gaisler
socs:
- name: leon3
``` | /content/code_sandbox/boards/gaisler/generic_leon3/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_EXTRA_EXCEPTION_INFO=y
``` | /content/code_sandbox/boards/gaisler/generic_leon3/generic_leon3_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```unknown
#
if BOARD_GENERIC_LEON3
config SPARC_CASA
default n
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 50000000
config UART_INTERRUPT_DRIVEN
default y
endif
``` | /content/code_sandbox/boards/gaisler/generic_leon3/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```restructuredtext
.. _gr716a_mini:
GR716-MINI Development Board
############################
Overview
********
The GR716-MINI development board provides:
* GR716 microcontroller
* SPI Flash PROM, 32 MiB
* SRAM, 2 MiB
* FTDI USB interface for UART debug link (AHBUART) and application UART
(APBUART).
* 4x MMCX co... | /content/code_sandbox/boards/gaisler/gr716a_mini/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,228 |
```restructuredtext
.. _boards-nordic:
Nordic Semiconductor
####################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/nordic/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```restructuredtext
.. _generic_leon3:
Generic LEON3
#############
Overview
********
This board configuration is designed to work with LEON3 processor template
designs available in the GRLIB GPL distribution.
It can also be used with the evaluation version of the TSIM3 LEON3 simulator.
Hardware
********
The board ... | /content/code_sandbox/boards/gaisler/generic_leon3/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,209 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9131_laca.dtsi>
#include "nrf9131ek_nrf9131_common.dtsi"
/ {
chosen {
zephyr,sram = &sram0_s;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,sram-secure-partition = &sram0_s;
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
`... | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```cmake
if(CONFIG_BOARD_NRF9131EK_NRF9131_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()
if(CONFIG_TFM_FLASH_MERGED_BINARY)
set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex)
endif()
# TODO: change to nRF9131_xxAA when such device is available in JLink
board_runner_args(jlink "--devi... | /content/code_sandbox/boards/nordic/nrf9131ek/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 131 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 11)>,
<NRF_PSEL(UART_RTS, 0, 10)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 12)>,
<NRF_PSEL(UART_CTS, 0, 9)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(U... | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_common-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 877 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y
# This Board implies building Non-Secure firmware
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable c... | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 124 |
```unknown
/*
*
*/
#include "nrf9131ek_nrf9131_common-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF9131 EK NRF9131";
compatible = "nordic,nrf9131-ek-nrf9131";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
};
led... | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,724 |
```yaml
identifier: nrf9131ek/nrf9131
name: nRF9131-EK-NRF9131
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 88
flash: 1024
supported:
- gpio
- i2c
- pwm
- spi
- watchdog
- counter
``` | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 95 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - flash-controller@39000 & kmu@39000
# - power@5000 & clock@5000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/nordic/nrf9131ek/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 74 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9131ns_laca.dtsi>
#include "nrf9131ek_nrf9131_common.dtsi"
/ {
chosen {
zephyr,flash = &flash0;
zephyr,sram = &sram0_ns;
zephyr,code-partition = &slot0_ns_partition;
};
};
/* Disable UART1, because it is used by default in TF-M */
&uart1 {
status = "disable... | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 113 |
```yaml
board:
name: nrf9131ek
vendor: nordic
socs:
- name: nrf9131
variants:
- name: 'ns'
``` | /content/code_sandbox/boards/nordic/nrf9131ek/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```unknown
/*
*
*/
/*
* Default Flash planning for nRF9131ek_nrf9131.
*
* Zephyr build for nRF9131 with ARM TrustZone-M support,
* implies building Secure and Non-Secure Zephyr images.
*
* Secure image will be placed, by default, in flash0
* (or in slot0, if MCUboot is present).
* Secure image will use sram0... | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_partition_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 412 |
```yaml
identifier: nrf9131ek/nrf9131/ns
name: nRF9131-EK-NRF9131-Non-Secure
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 128
flash: 212
supported:
- i2c
- pwm
- watchdog
- netif:modem
``` | /content/code_sandbox/boards/nordic/nrf9131ek/nrf9131ek_nrf9131_ns.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 95 |
```unknown
# nRF9131-EK board configuration
config BOARD_NRF9131EK
select SOC_NRF9131_LACA
``` | /content/code_sandbox/boards/nordic/nrf9131ek/Kconfig.nrf9131ek | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```unknown
# nRF9131 EK NRF9131 board configuration
if BOARD_NRF9131EK_NRF9131 || BOARD_NRF9131EK_NRF9131_NS
# For the secure version of the board the firmware is linked at the beginning
# of the flash, or into the code-partition defined in DT if it is intended to
# be loaded by MCUboot. If the secure firmware is to... | /content/code_sandbox/boards/nordic/nrf9131ek/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 350 |
```restructuredtext
.. _nrf9131ek_nrf9131:
nRF9131 EK
##########
Overview
********
The nRF9131 EK (PCA10165) is a single-board evaluation kit for the nRF9131 SiP
for DECT NR+ and LTE-M/NB-IoT with GNSS.
The ``nrf9131ek/nrf9131`` board configuration provides support for the Nordic Semiconductor nRF9131 ARM
Cortex-M33... | /content/code_sandbox/boards/nordic/nrf9131ek/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,862 |
```unknown
/*
*
*/
#include "nrf9151dk_nrf9151_common-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF9151 DK NRF9151";
compatible = "nordic,nrf9151-dk-nrf9151";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
};
led... | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,386 |
```cmake
if(CONFIG_BOARD_NRF9151DK_NRF9151_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()
if(CONFIG_TFM_FLASH_MERGED_BINARY)
set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex)
endif()
# TODO: change to nRF9151_xxAA when such device is available in JLink
board_runner_args(jlink "--devi... | /content/code_sandbox/boards/nordic/nrf9151dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 131 |
```unknown
/*
*
*/
/*
* Default Flash planning for nRF9151dk_nrf9151.
*
* Zephyr build for nRF9151 with ARM TrustZone-M support,
* implies building Secure and Non-Secure Zephyr images.
*
* Secure image will be placed, by default, in flash0
* (or in slot0, if MCUboot is present).
* Secure image will use sram0... | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_partition_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 412 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y
# This board implies building Non-Secure firmware
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable c... | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 90 |
```unknown
# nRF9151 DK NRF9151 board configuration
config BOARD_NRF9151DK
select SOC_NRF9151_LACA
``` | /content/code_sandbox/boards/nordic/nrf9151dk/Kconfig.nrf9151dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - flash-controller@39000 & kmu@39000
# - power@5000 & clock@5000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/nordic/nrf9151dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9151_laca.dtsi>
#include "nrf9151dk_nrf9151_common.dtsi"
/ {
chosen {
zephyr,sram = &sram0_s;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,sram-secure-partition = &sram0_s;
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
`... | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```yaml
identifier: nrf9151dk/nrf9151/ns
name: nRF9151-DK-NRF9151-Non-Secure
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 128
flash: 192
supported:
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- i2c
- pwm
- watchdog
- netif:modem
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```yaml
board:
name: nrf9151dk
vendor: nordic
socs:
- name: nrf9151
variants:
- name: 'ns'
``` | /content/code_sandbox/boards/nordic/nrf9151dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 27)>,
<NRF_PSEL(UART_RTS, 0, 14)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 26)>,
<NRF_PSEL(UART_CTS, 0, 15)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(... | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_common-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 805 |
```yaml
identifier: nrf9151dk/nrf9151
name: nRF9151-DK-NRF9151
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 88
flash: 1024
supported:
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- gpio
- i2c
- pwm
- spi
- watchdog
- counter
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```unknown
# nRF9151 DK NRF9151 board configuration
if BOARD_NRF9151DK_NRF9151 || BOARD_NRF9151DK_NRF9151_NS
# For the secure version of the board the firmware is linked at the beginning
# of the flash, or into the code-partition defined in DT if it is intended to
# be loaded by MCUboot. If the secure firmware is to... | /content/code_sandbox/boards/nordic/nrf9151dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 409 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9151ns_laca.dtsi>
#include "nrf9151dk_nrf9151_common.dtsi"
/ {
chosen {
zephyr,flash = &flash0;
zephyr,sram = &sram0_ns;
zephyr,code-partition = &slot0_ns_partition;
};
};
/* Disable UART1, because it is used by default in TF-M */
&uart1 {
status = "disable... | /content/code_sandbox/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 113 |
```unknown
/*
*
*/
&pcal6408a {
status = "okay";
};
&led0 {
gpios = <&pcal6408a 4 GPIO_ACTIVE_HIGH>;
};
&led1 {
gpios = <&pcal6408a 5 GPIO_ACTIVE_HIGH>;
};
&led2 {
gpios = <&pcal6408a 6 GPIO_ACTIVE_HIGH>;
};
&led3 {
gpios = <&pcal6408a 7 GPIO_ACTIVE_HIGH>;
};
``` | /content/code_sandbox/boards/nordic/nrf9151dk/dts/nrf9151dk_leds_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```unknown
/*
*
*/
&pcal6408a {
status = "okay";
};
&button0 {
gpios = <&pcal6408a 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
&button1 {
gpios = <&pcal6408a 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
&button2 {
gpios = <&pcal6408a 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
&button3 {
gpios = <&pcal6408a 3 (GPIO_PULL... | /content/code_sandbox/boards/nordic/nrf9151dk/dts/nrf9151dk_buttons_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 125 |
```yaml
description: GPIO used to reset nRF5340 on nRF9151 DK
compatible: "nordic,nrf9151dk-nrf5340-reset"
include: base.yaml
properties:
status:
required: true
gpios:
type: phandle-array
required: true
description: |
GPIO to use as nRF5340 reset line: output in nRF9151, input in nRF5340.... | /content/code_sandbox/boards/nordic/nrf9151dk/dts/bindings/nordic,nrf9151dk-nrf5340-reset.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52811_qfaa.dtsi>
#include "nrf52840dk_nrf52811-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52840 DK NRF52811";
compatible = "nordic,nrf52840-dk-nrf52811";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &... | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52811.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,325 |
```cmake
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
inclu... | /content/code_sandbox/boards/nordic/nrf52840dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```restructuredtext
.. _nrf9151dk_nrf9151:
nRF9151 DK
##########
Overview
********
The nRF9151 DK (PCA10171) is a single-board development kit for evaluation and
development on the nRF9151 SiP for DECT NR+ and LTE-M/NB-IoT with GNSS. The ``nrf9151dk/nrf9151``
board configuration provides support for the Nordic Semic... | /content/code_sandbox/boards/nordic/nrf9151dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,640 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable RTT
CONFIG_USE_SEGGER_RTT=y
# enable GPIO
CONFIG_GPIO=y
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```yaml
identifier: nrf52840dk/nrf52840
name: nRF52840-DK-NRF52840
type: mcu
arch: arm
ram: 256
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- ble
- counter
- gpio
- i2c
- i2s
- pwm
- spi
- usb_device
... | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 159 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - power@40000000 & clock@40000000 & bprot@40000000
# - acl@4001e000 & flash-controller@4001e000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/nordic/nrf52840dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RTS, 0, 5)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 8)>,
<NRF_PSEL(UART_CTS, 0, 7)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART... | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52840-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,627 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "nrf52840dk_nrf52840-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52840 DK NRF52840";
compatible = "nordic,nrf52840-dk-nrf52840";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &... | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,921 |
```yaml
identifier: nrf52840dk/nrf52811
name: nRF52840-DK-NRF52811
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 24
flash: 192
supported:
- counter
- pwm
- netif:openthread
- gpio
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52811.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 94 |
```yaml
board:
name: nrf52840dk
vendor: nordic
socs:
# Physical nRF52840 SoC on PCA10056
- name: nrf52840
# nRF52840 SoC in nRF52811 emulation mode on PCA10056
- name: nrf52811
``` | /content/code_sandbox/boards/nordic/nrf52840dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 74 |
```unknown
# nRF52840 DK NRF52840 board configuration
if BOARD_NRF52840DK
config BT_CTLR
default BT
endif # BOARD_NRF52840DK
``` | /content/code_sandbox/boards/nordic/nrf52840dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```unknown
config BOARD_NRF52840DK
select SOC_NRF52840_QIAA if BOARD_NRF52840DK_NRF52840
select SOC_NRF52811_QFAA if BOARD_NRF52840DK_NRF52811
``` | /content/code_sandbox/boards/nordic/nrf52840dk/Kconfig.nrf52840dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RTS, 0, 5)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 8)>,
<NRF_PSEL(UART_CTS, 0, 7)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART... | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52811-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 748 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable UART
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# Bluetooth not enabled by default on nRF52811 due to RAM limitations when
# running the defau... | /content/code_sandbox/boards/nordic/nrf52840dk/nrf52840dk_nrf52811_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 93 |
```cmake
if(CONFIG_BOARD_NRF9161DK_NRF9161_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()
if(CONFIG_TFM_FLASH_MERGED_BINARY)
set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex)
endif()
# TODO: change to nRF9161_xxAA when such device is available in JLink
board_runner_args(jlink "--devi... | /content/code_sandbox/boards/nordic/nrf9161dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 131 |
```yaml
identifier: nrf9161dk@0.7.0/nrf9161
name: nRF9161-DK-NRF9161 (rev. 0.7.0)
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 88
flash: 1024
supported:
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- gpio
- i2c
- pwm
- spi
- watchdog
- counter
vendor: nordic... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_0_7_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 141 |
```yaml
identifier: nrf9161dk@0.7.0/nrf9161/ns
name: nRF9161-DK-NRF9161-Non-Secure (rev. 0.7.0)
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 128
flash: 192
supported:
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- i2c
- pwm
- watchdog
- netif:modem
vendor: nordi... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_ns_0_7_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 141 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y
# This board implies building Non-Secure firmware
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable c... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 90 |
```restructuredtext
.. _nrf52840dk_nrf52840:
nRF52840 DK
###########
Overview
********
The nRF52840 Development Kit (PCA10056) hardware provides support for the
Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU and the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`GPIO (Gene... | /content/code_sandbox/boards/nordic/nrf52840dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,011 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9161_laca.dtsi>
#include "nrf9161dk_nrf9161_common.dtsi"
/ {
chosen {
zephyr,sram = &sram0_s;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,sram-secure-partition = &sram0_s;
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
`... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9161ns_laca.dtsi>
#include "nrf9161dk_nrf9161_common.dtsi"
/ {
chosen {
zephyr,flash = &flash0;
zephyr,sram = &sram0_ns;
zephyr,code-partition = &slot0_ns_partition;
};
};
/* Disable UART1, because it is used by default in TF-M */
&uart1 {
status = "disable... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 113 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - flash-controller@39000 & kmu@39000
# - power@5000 & clock@5000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/nordic/nrf9161dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```unknown
/*
*
*/
#include "nrf9161dk_nrf9161_common_0_7_0.dtsi"
``` | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_ns_0_7_0.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 26 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```unknown
/*
*
*/
#include "nrf9161dk_nrf9161_common-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF9161 DK NRF9161";
compatible = "nordic,nrf9161-dk-nrf9161";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
};
led... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,386 |
```yaml
board:
name: nrf9161dk
vendor: nordic
socs:
- name: nrf9161
variants:
- name: 'ns'
revision:
format: major.minor.patch
default: "0.9.0"
revisions:
- name: "0.7.0"
- name: "0.9.0"
``` | /content/code_sandbox/boards/nordic/nrf9161dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 87 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 27)>,
<NRF_PSEL(UART_RTS, 0, 14)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 26)>,
<NRF_PSEL(UART_CTS, 0, 15)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_common-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 805 |
```unknown
/*
*
*/
/*
* Default Flash planning for nRF9161dk_nrf9161.
*
* Zephyr build for nRF9161 with ARM TrustZone-M support,
* implies building Secure and Non-Secure Zephyr images.
*
* Secure image will be placed, by default, in flash0
* (or in slot0, if MCUboot is present).
* Secure image will use sram0... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_partition_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 412 |
```yaml
identifier: nrf9161dk/nrf9161
name: nRF9161-DK-NRF9161
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 88
flash: 1024
supported:
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- gpio
- i2c
- pwm
- spi
- watchdog
- counter
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_0_9_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```unknown
/*
*
*/
#include "nrf9161dk_nrf9161_common_0_7_0.dtsi"
``` | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_0_7_0.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 26 |
```unknown
# nRF9161 DK NRF9161 board configuration
if BOARD_NRF9161DK_NRF9161 || BOARD_NRF9161DK_NRF9161_NS
# For the secure version of the board the firmware is linked at the beginning
# of the flash, or into the code-partition defined in DT if it is intended to
# be loaded by MCUboot. If the secure firmware is to... | /content/code_sandbox/boards/nordic/nrf9161dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 409 |
```unknown
/*
*
*/
/* Remove v0.9.0 variant flash */
/delete-node/ &gd25wb256;
&spi3 {
gd25lb256: gd25lb256e3ir@1 {
compatible = "jedec,spi-nor";
status = "okay";
reg = <1>;
spi-max-frequency = <60000000>;
jedec-id = [c8 67 19];
sfdp-bfp = [
e5 20 ea ff ff ff ff 0f 44 eb 08 6b 00 3b 00 bb
fe f... | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_common_0_7_0.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 278 |
```unknown
# nRF9161 DK NRF9161 board configuration
config BOARD_NRF9161DK
select SOC_NRF9161_LACA
``` | /content/code_sandbox/boards/nordic/nrf9161dk/Kconfig.nrf9161dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
&pcal6408a {
status = "okay";
};
&led0 {
gpios = <&pcal6408a 4 GPIO_ACTIVE_HIGH>;
};
&led1 {
gpios = <&pcal6408a 5 GPIO_ACTIVE_HIGH>;
};
&led2 {
gpios = <&pcal6408a 6 GPIO_ACTIVE_HIGH>;
};
&led3 {
gpios = <&pcal6408a 7 GPIO_ACTIVE_HIGH>;
};
``` | /content/code_sandbox/boards/nordic/nrf9161dk/dts/nrf9161dk_leds_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```yaml
identifier: nrf9161dk/nrf9161/ns
name: nRF9161-DK-NRF9161-Non-Secure
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 128
flash: 192
supported:
- arduino_gpio
- arduino_i2c
- arduino_serial
- arduino_spi
- i2c
- pwm
- watchdog
- netif:modem
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf9161dk/nrf9161dk_nrf9161_ns_0_9_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```unknown
/*
*
*/
&pcal6408a {
status = "okay";
};
&button0 {
gpios = <&pcal6408a 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
&button1 {
gpios = <&pcal6408a 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
&button2 {
gpios = <&pcal6408a 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
&button3 {
gpios = <&pcal6408a 3 (GPIO_PULL... | /content/code_sandbox/boards/nordic/nrf9161dk/dts/nrf9161dk_buttons_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 125 |
```yaml
description: GPIO used to reset nRF5340 on nRF9161 DK
compatible: "nordic,nrf9161dk-nrf5340-reset"
include: base.yaml
properties:
status:
required: true
gpios:
type: phandle-array
required: true
description: |
GPIO to use as nRF5340 reset line: output in nRF9161, input in nRF5340.... | /content/code_sandbox/boards/nordic/nrf9161dk/dts/bindings/nordic,nrf9161dk-nrf5340-reset.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```unknown
# nRF51 Dongle NRF51822 board configuration
config BOARD_NRF51DONGLE
select SOC_NRF51822_QFAC
``` | /content/code_sandbox/boards/nordic/nrf51dongle/Kconfig.nrf51dongle | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```cmake
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/nordic/nrf51dongle/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 9)>,
<NRF_PSEL(UART_RX, 0, 11)>,
<NRF_PSEL(UART_RTS, 0, 8)>,
<NRF_PSEL(UART_CTS, 0, 10)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 9)>,
<NRF_PSEL(UART_RX, 0,... | /content/code_sandbox/boards/nordic/nrf51dongle/nrf51dongle_nrf51822-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf51822_qfac.dtsi>
#include "nrf51dongle_nrf51822-pinctrl.dtsi"
/ {
model = "Nordic nRF51 Dongle NRF51822";
compatible = "nordic,nrf51-dongle-nrf51822";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
zephyr,bt-mon... | /content/code_sandbox/boards/nordic/nrf51dongle/nrf51dongle_nrf51822.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 733 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - power@40000000 & clock@40000000 & nrf-mpu@40000000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/nordic/nrf51dongle/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```yaml
identifier: nrf51dongle/nrf51822
name: nRF51-Dongle-nRF51822
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 32
flash: 256
supported:
- ble
- nvs
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf51dongle/nrf51dongle_nrf51822.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```restructuredtext
.. _nrf9161dk_nrf9161:
nRF9161 DK
##########
Overview
********
The nRF9161 DK (PCA10153) is a single-board development kit for evaluation and
development on the nRF9161 SiP for DECT NR+ and LTE-M/NB-IoT with GNSS. The ``nrf9161dk/nrf9161``
board configuration provides support for the Nordic Semic... | /content/code_sandbox/boards/nordic/nrf9161dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,681 |
```yaml
board:
name: nrf51dongle
vendor: nordic
socs:
- name: nrf51822
``` | /content/code_sandbox/boards/nordic/nrf51dongle/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.