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
/*
*
*/
/*
* Default Flash planning for nrf7002dk_nrf5340 CPUAPP (Application MCU).
*
* Zephyr build for nRF5340 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).
* Se... | /content/code_sandbox/boards/nordic/nrf7002dk/nrf5340_cpuapp_common_partition_conf.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 410 |
```unknown
/*
*
*/
req-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
status0-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
grant-gpios = <&gpio0 24 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
swctrl1-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
srrf-switch-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
``` | /content/code_sandbox/boards/nordic/nrf7002dk/nrf70_common_coex.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# enable PINCTRL
CONFIG_PINCTRL=y
# Enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpunet_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 65 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpuappns_qkaa.dtsi>
#include "nrf5340_cpuapp_common.dtsi"
/ {
model = "Nordic NRF5340 DK NRF5340 Application";
compatible = "nordic,nrf5340-dk-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_ns;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_ns_... | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 283 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpuapp_qkaa.dtsi>
#include "nrf5340_cpuapp_common.dtsi"
#include "nrf7002dk_nrf5340_cpuapp_pinctrl.dtsi"
/ {
model = "Nordic NRF7002 DK NRF5340 Application";
compatible = "nordic,nrf7002-dk-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_image;
zephyr,fla... | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 291 |
```yaml
board:
name: nrf7002dk
vendor: nordic
socs:
- name: nrf5340
variants:
- name: ns
cpucluster: cpuapp
- name: nrf7001
cpucluster: cpuapp
variants:
- name: ns
``` | /content/code_sandbox/boards/nordic/nrf7002dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```yaml
identifier: nrf7002dk/nrf5340/cpuapp/nrf7001
name: NRF7002-DK-NRF7001-NRF5340-application-MCU
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 448
flash: 1024
supported:
- gpio
- i2c
- i2s
- pwm
- watchdog
- usbd
- usb_device
- netif:openthread
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_nrf7001.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 129 |
```unknown
# nRF5340 DK nRF5340 board configuration
if BOARD_NRF7002DK_NRF5340_CPUAPP || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NS || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS
# By default, if we build for a Non-Secure version of the board,
# force building with TF-M as the... | /content/code_sandbox/boards/nordic/nrf7002dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 709 |
```unknown
# nRF5340 DK board configuration
config IPM_NRFX
default IPM
config MBOX_NRFX_IPC
default MBOX
if BOARD_NRF7002DK_NRF5340_CPUAPP || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NS || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS
config BT_HCI_IPC
default y if BT
conf... | /content/code_sandbox/boards/nordic/nrf7002dk/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 613 |
```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 PINCTRL
CONFIG_PINCTRL=y
# Enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
/*
*
*/
#include "nrf5340_cpuapp_common_pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,bt-hci = &bt_hci_ipc0;
... | /content/code_sandbox/boards/nordic/nrf7002dk/nrf5340_cpuapp_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,353 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpuapp_qkaa.dtsi>
#include "nrf5340_cpuapp_common.dtsi"
#include "nrf7002dk_nrf5340_cpuapp_pinctrl.dtsi"
/ {
model = "Nordic NRF7002 DK NRF5340 Application";
compatible = "nordic,nrf7002-dk-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_image;
zephyr,fla... | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_nrf7001.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 276 |
```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 PINCTRL
CONFIG_PINCTRL=y
# Enable uart... | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_nrf7001_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```yaml
identifier: nrf7002dk/nrf5340/cpuapp/ns
name: NRF7002-DK-NRF5340-application-MCU-Non-Secure
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 192
flash: 192
supported:
- gpio
- i2c
- pwm
- watchdog
- usbd
- usb_device
- netif:openthread
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_ns.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 119 |
```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/nrf51dk/nrf51dk_nrf51822-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 768 |
```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)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
``` | /content/code_sandbox/boards/nordic/nrf51dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 93 |
```unknown
# 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/nrf51dk/nrf51dk_nrf51822_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```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/nrf51dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```yaml
board:
name: nrf51dk
vendor: nordic
socs:
- name: nrf51822
``` | /content/code_sandbox/boards/nordic/nrf51dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf51822_qfac.dtsi>
#include "nrf51dk_nrf51822-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF51 DK NRF51822";
compatible = "nordic,nrf51-dk-nrf51822";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
... | /content/code_sandbox/boards/nordic/nrf51dk/nrf51dk_nrf51822.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,314 |
```unknown
config BOARD_NRF51DK
select SOC_NRF51822_QFAC
``` | /content/code_sandbox/boards/nordic/nrf51dk/Kconfig.nrf51dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 19 |
```yaml
identifier: nrf51dk/nrf51822
name: nRF51-DK-NRF51822
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 32
flash: 256
supported:
- adc
- ble
- counter
- gpio
- i2c
- nvs
- pwm
- spi
- watchdog
testing:
ignore_tags:
- net
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf51dk/nrf51dk_nrf51822.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 120 |
```unknown
# nRF51 DK NRF51822 board configuration
if BOARD_NRF51DK_NRF51822
config BT_CTLR
default BT
endif # BOARD_NRF51DK_NRF51822
``` | /content/code_sandbox/boards/nordic/nrf51dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43 |
```restructuredtext
.. _nrf7002dk_nrf5340:
nRF7002 DK
##########
Overview
********
The nRF7002 DK (PCA10143) is a single-board development kit for evaluation and development on
the nRF7002, a Wi-Fi companion IC to Nordic Semiconductor's nRF5340 System-on-Chip (SoC) host
processor. It is certified for the Wi-Fi Allia... | /content/code_sandbox/boards/nordic/nrf7002dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,070 |
```unknown
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_XIP=y
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr_xip_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```cmake
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD)
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP)
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuapp.JLinkScript)
else()
set(JLINKSCRIPTFIL... | /content/code_sandbox/boards/nordic/nrf54h20dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 181 |
```unknown
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_DT_CODE_PARTITION=y
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# MPU-based null-pointer dereferencing detection cannot be applied
# as the (0x0 - 0x... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 112 |
```restructuredtext
.. _nrf51dk_nrf51422:
nRF51 DK
########
Overview
********
The nRF51 Development Kit (PCA10028) hardware provides support for the Nordic
Semiconductor nRF51822 ARM Cortex-M0 CPU and the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`GPIO (General Purpose I... | /content/code_sandbox/boards/nordic/nrf51dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,174 |
```yaml
identifier: nrf54h20dk/nrf54h20/cpuapp
name: nRF54H20-DK-nRF54H20-Application
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
sysbuild: true
ram: 256
flash: 296
supported:
- adc
- can
- counter
- gpio
- i2c
- pwm
- spi
- watchdog
- usbd
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```unknown
/*
*
*/
&pinctrl {
/omit-if-no-ref/ uart120_default: uart120_default {
group1 {
psels = <NRF_PSEL(UART_TX, 7, 7)>;
};
group2 {
bias-pull-up;
psels = <NRF_PSEL(UART_RX, 7, 4)>;
};
};
/omit-if-no-ref/ uart120_sleep: uart120_sleep {
group1 {
low-power-enable;
psels = <NRF_PSEL(U... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 850 |
```unknown
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_DT_CODE_PARTITION=y
# Execute from RAM
CONFIG_XIP=n
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```unknown
config BOARD_NRF54H20DK
select SOC_NRF54H20_CPUAPP if BOARD_NRF54H20DK_NRF54H20_CPUAPP
select SOC_NRF54H20_CPURAD if BOARD_NRF54H20DK_NRF54H20_CPURAD
select SOC_NRF54H20_CPUPPR if BOARD_NRF54H20DK_NRF54H20_CPUPPR || \
BOARD_NRF54H20DK_NRF54H20_CPUPPR_XIP
select SOC_NRF54H20_CPUFLPR if BOARD_NR... | /content/code_sandbox/boards/nordic/nrf54h20dk/Kconfig.nrf54h20dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
/ {
reserved-memory {
cpuapp_ram0x_region: memory@2f010000 {
compatible = "nordic,owned-memory";
reg = <0x2f010000 DT_SIZE_K(260)>;
status = "disabled";
perm-read;
perm-write;
perm-secure;
#address-cells = <1>;
#siz... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-memory_map.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,999 |
```yaml
identifier: nrf54h20dk/nrf54h20/cpuflpr/xip
name: nRF54H20-DK-nRF54H20-FLPR (MRAM XIP)
type: mcu
arch: riscv
toolchain:
- zephyr
sysbuild: true
ram: 46
flash: 48
supported:
- gpio
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr_xip.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 85 |
```yaml
identifier: nrf54h20dk/nrf54h20/cpuppr/xip
name: nRF54H20-DK-nRF54H20-PPR (MRAM XIP)
type: mcu
arch: riscv
toolchain:
- zephyr
sysbuild: true
ram: 62
flash: 64
supported:
- gpio
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuppr_xip.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```unknown
/*
*
*/
#include "nrf54h20dk_nrf54h20_cpuflpr.dts"
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr_xip.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```yaml
identifier: nrf54h20dk/nrf54h20/cpuflpr
name: nRF54H20-DK-nRF54H20-FLPR
type: mcu
arch: riscv
toolchain:
- zephyr
sysbuild: true
ram: 46
flash: 46
supported:
- counter
- gpio
- i2c
- pwm
- spi
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf54h20_cpuppr.dtsi>
#include "nrf54h20dk_nrf54h20-memory_map.dtsi"
#include "nrf54h20dk_nrf54h20-ipc_conf.dtsi"
#include "nrf54h20dk_nrf54h20-pinctrl.dtsi"
/delete-node/ &cpuapp_cpurad_ipc;
/delete-node/ &cpuapp_cpusys_ipc;
/delete-node/ &cpuapp_cpuflpr_ipc;
/delete-... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuppr.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 459 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf54h20_cpuflpr.dtsi>
#include "nrf54h20dk_nrf54h20-memory_map.dtsi"
#include "nrf54h20dk_nrf54h20-ipc_conf.dtsi"
#include "nrf54h20dk_nrf54h20-pinctrl.dtsi"
/delete-node/ &cpuapp_cpurad_ipc;
/delete-node/ &cpuapp_cpusys_ipc;
/delete-node/ &cpuapp_cpuppr_ipc;
/delete-... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuflpr.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 408 |
```yaml
board:
name: nrf54h20dk
vendor: nordic
socs:
- name: nrf54h20
variants:
- name: xip
cpucluster: cpuppr
- name: xip
cpucluster: cpuflpr
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf54h20_cpurad.dtsi>
#include "nrf54h20dk_nrf54h20-memory_map.dtsi"
#include "nrf54h20dk_nrf54h20-ipc_conf.dtsi"
#include "nrf54h20dk_nrf54h20-pinctrl.dtsi"
/delete-node/ &cpuapp_cpuppr_ipc;
/delete-node/ &cpuapp_cpusys_ipc;
/delete-node/ &cpuapp_cpuflpr_ipc;
/delete-... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 815 |
```unknown
/*
*
*/
/ {
ipc {
cpusec_cpuapp_ipc: ipc-1-2 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
mboxes = <&cpusec_bellboard 12>,
<&cpuapp_bellboard 0>;
};
cpusec_cpurad_ipc: ipc-1-3 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
mboxes = <&cpusec_bellboard 18>,... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-ipc_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 456 |
```unknown
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_XIP=y
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuppr_xip_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```unknown
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_DT_CODE_PARTITION=y
# Execute from RAM
CONFIG_XIP=n
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuppr_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf54h20_cpuapp.dtsi>
#include "nrf54h20dk_nrf54h20-memory_map.dtsi"
#include "nrf54h20dk_nrf54h20-ipc_conf.dtsi"
#include "nrf54h20dk_nrf54h20-pinctrl.dtsi"
/delete-node/ &cpurad_cpusys_ipc;
/delete-node/ &cpusec_cpurad_ipc;
/ {
compatible = "nordic,nrf54h20dk_nrf54... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,280 |
```unknown
if BOARD_NRF54H20DK_NRF54H20_CPUAPP
config BT_HCI_IPC
default y if BT
endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP
if BOARD_NRF54H20DK_NRF54H20_CPURAD
config BT_CTLR
default y if BT
endif # BOARD_NRF54H20DK_NRF54H20_CPURAD
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 92 |
```yaml
identifier: nrf54h20dk/nrf54h20/cpuppr
name: nRF54H20-DK-nRF54H20-PPR
type: mcu
arch: riscv
toolchain:
- zephyr
sysbuild: true
ram: 62
flash: 62
supported:
- counter
- gpio
- i2c
- pwm
- spi
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuppr.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```yaml
identifier: nrf54h20dk/nrf54h20/cpurad
name: nRF54H20-DK-nRF54H20-Radio
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
sysbuild: true
ram: 192
flash: 256
supported:
- counter
- gpio
- pwm
- spi
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 99 |
```unknown
/*
*
*/
#include "nrf54h20dk_nrf54h20_cpuppr.dts"
``` | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuppr_xip.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```unknown
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_DT_CODE_PARTITION=y
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# MPU-based null-pointer dereferencing detection cannot be applied
# as the (0x0 - 0x... | /content/code_sandbox/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 120 |
```unknown
// Debug Halting Control and Status Register
__constant U32 _DHCSR_ADDR = 0xE000EDF0;
__constant U32 _DHCSR_DBGKEY = (0xA05F << 16);
__constant U32 _DHCSR_C_DEBUGEN = (1 << 0);
__constant U32 _DHCSR_C_HALT = (1 << 1);
// Debug Exception and Monitor Control Register
__constant U32 _DEMCR_ADDR ... | /content/code_sandbox/boards/nordic/nrf54h20dk/support/nrf54h20_cpurad.JLinkScript | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 484 |
```unknown
// Debug Halting Control and Status Register
__constant U32 _DHCSR_ADDR = 0xE000EDF0;
__constant U32 _DHCSR_DBGKEY = (0xA05F << 16);
__constant U32 _DHCSR_C_DEBUGEN = (1 << 0);
__constant U32 _DHCSR_C_HALT = (1 << 1);
// Debug Exception and Monitor Control Register
__constant U32 _DEMCR_ADDR ... | /content/code_sandbox/boards/nordic/nrf54h20dk/support/nrf54h20_cpuapp.JLinkScript | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 436 |
```unknown
/*
*/
&pinctrl {
i2c0_default: i2c0_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
};
};
i2c0_sleep: i2c0_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
low-power-enable;
};
};
spi0_default: spi0_defau... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52805-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 482 |
```cmake
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52832" "--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/nrf52dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```yaml
identifier: nrf52dk/nrf52832
name: nRF52-DK-NRF52832
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 64
flash: 512
supported:
- adc
- arduino_gpio
- arduino_i2c
- arduino_spi
- gpio
- counter
- nvs
- i2c
- pwm
- spi
- watchdog
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52832.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```restructuredtext
.. _nrf54h20dk_nrf54h20:
nRF54H20 DK
###########
Overview
********
.. note::
All software for the nRF54H20 SoC is experimental and hardware availability
is restricted to the participants in the limited sampling program.
The nRF54H20 DK is a single-board development kit for evaluation and ... | /content/code_sandbox/boards/nordic/nrf54h20dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,394 |
```yaml
identifier: nrf52dk/nrf52805
name: nRF52-DK-NRF52805
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- counter
- gpio
ram: 24
flash: 192
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52805.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# Enable UARTE
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Bluetooth not enabled by default on nRF52810 due to RAM limitations when
# running the defau... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52810_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 95 |
```yaml
identifier: nrf52dk/nrf52810
name: nRF52-DK-NRF52810
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- counter
- gpio
ram: 24
flash: 192
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52810.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52805_caaa.dtsi>
#include "nrf52dk_nrf52805-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52 DK NRF52805";
compatible = "nordic,nrf52-dk-nrf52805";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52805.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,134 |
```unknown
# nRF52 DK nRF52810 board configuration
config BOARD_NRF52DK
select SOC_NRF52805_CAAA if BOARD_NRF52DK_NRF52805
select SOC_NRF52810_QFAA if BOARD_NRF52DK_NRF52810
select SOC_NRF52832_QFAA if BOARD_NRF52DK_NRF52832
``` | /content/code_sandbox/boards/nordic/nrf52dk/Kconfig.nrf52dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52832_qfaa.dtsi>
#include "nrf52dk_nrf52832-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52 DK NRF52832";
compatible = "nordic,nrf52-dk-nrf52832";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,114 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Bluetooth not enabled by default on nRF52805 due to RAM limitations when
# running the... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52805_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```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/nrf52dk/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_RX, 0, 8)>,
<NRF_PSEL(UART_RTS, 0, 5)>,
<NRF_PSEL(UART_CTS, 0, 7)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 8... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52832-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,017 |
```yaml
board:
name: nrf52dk
vendor: nordic
socs:
- name: nrf52805
- name: nrf52810
- name: nrf52832
``` | /content/code_sandbox/boards/nordic/nrf52dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 48 |
```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/nrf52dk/nrf52dk_nrf52832_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```unknown
# nRF52 DK nRF52810 board configuration
if BOARD_NRF52DK
# BT_CTLR depends on BT. When BT is enabled we should default to also
# enabling the controller.
config BT_CTLR
default y if BT
endif # BOARD_NRF52DK
``` | /content/code_sandbox/boards/nordic/nrf52dk/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 8)>,
<NRF_PSEL(UART_RTS, 0, 5)>,
<NRF_PSEL(UART_CTS, 0, 7)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 8... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52810-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 482 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52810_qfaa.dtsi>
#include "nrf52dk_nrf52810-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52 DK NRF52810";
compatible = "nordic,nrf52-dk-nrf52810";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
... | /content/code_sandbox/boards/nordic/nrf52dk/nrf52dk_nrf52810.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,137 |
```unknown
/*
*
*/
#include "nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi"
#include <zephyr/dt-bindings/sensor/ina230.h>
/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,bt-hci = &bt_hci... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,385 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 9)>,
<NRF_PSEL(UART_RTS, 1, 10)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 1, 8)>,
<NRF_PSEL(UART_CTS, 1, 11)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UA... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 371 |
```yaml
identifier: nrf5340_audio_dk/nrf5340/cpuapp/ns
name: NRF5340-AUDIO-DK-NRF5340-application-MCU-Non-Secure
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 192
flash: 192
supported:
- i2c
- i2s
- spi
- pwm
- watchdog
- usb_device
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_ns.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 115 |
```restructuredtext
.. _nrf52dk_nrf52832:
nRF52 DK
########
Overview
********
The nRF52 Development Kit (PCA10040) hardware provides
support for the Nordic Semiconductor nRF52832 ARM Cortex-M4F CPU and
the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`GPIO (General Purpose ... | /content/code_sandbox/boards/nordic/nrf52dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,829 |
```cmake
if(CONFIG_BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()
if(CONFIG_BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP OR CONFIG_BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS)
board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000")
elseif(CONFIG_BOARD_NRF5340_AUDIO_DK_NRF534... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 180 |
```unknown
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_REGULATOR=y
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
# nRF5340 Audio DK board configuration
config BOARD_NRF5340_AUDIO_DK
select SOC_NRF5340_CPUAPP_QKAA if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP
select SOC_NRF5340_CPUAPP_QKAA if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS
select SOC_NRF5340_CPUNET_QKAA if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUNET
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/Kconfig.nrf5340_audio_dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 103 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpunet_qkaa.dtsi>
#include "nrf5340_audio_dk_nrf5340_cpunet-pinctrl.dtsi"
/ {
model = "Nordic nRF5340 Audio DK NRF5340 Network";
compatible = "nordic,nrf5340-audio-dk-nrf5340-cpunet";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 636 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - flash-controller@39000 & kmu@39000
# - power@5000 & clock@5000
# - /reserved-memory/image@20000000 & /reserved-memory/image_s@20000000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
leds: leds {
compatible = "gpio-leds";
rgb1_red: led_0 {
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
label = "0 LED_RGB_RED";
};
rgb1_green: led_1 {
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
label = "0 LED_RGB_GREEN";
};
rgb1_blue: le... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_shared.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,286 |
```c
/*
*
*/
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
#include <hal/nrf_gpiote.h>
LOG_MODULE_REGISTER(nrf5340_audio_dk_nrf5340_cpuapp, CONFIG_LOG_DEFAULT_LEVEL);
static int core_config(void)
{
nrf_gpiote_latency_t latency;
latency = nrf_gpiote_latency_get(NRF_GPIOTE);
if (latency != NRF_GPIOT... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_config.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 158 |
```yaml
identifier: nrf5340_audio_dk/nrf5340/cpuapp
name: NRF5340-AUDIO-DK-NRF5340-application-MCU
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 448
flash: 1024
supported:
- arduino_adc
- arduino_i2c
- arduino_serial
- arduino_spi
- gpio
- i2s
- spi
- i2c
- pwm
- watchdog
... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 141 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpuapp_qkaa.dtsi>
#include "nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi"
/ {
model = "Nordic nRF5340 Audio DK NRF5340 Application";
compatible = "nordic,nrf5340-audio-dk-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_image;
zephyr,flash = &flash0;
zeph... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 183 |
```yaml
board:
name: nrf5340_audio_dk
vendor: nordic
socs:
- name: 'nrf5340'
variants:
- name: 'ns'
cpucluster: 'cpuapp'
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpuappns_qkaa.dtsi>
#include "nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi"
/ {
model = "Nordic nRF5340 Audio DK NRF5340 Application";
compatible = "nordic,nrf5340-audio-dk-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_ns;
zephyr,flash = &flash0;
zephy... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```unknown
/*
*
*/
/*
* Default Flash planning for nrf5340_audio_dk_nrf5340 CPUAPP (Application MCU).
*
* Zephyr build for nRF5340 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)... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_partition_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 426 |
```unknown
# nRF5340 Audio DK board configuration
if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP || BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS
# Code Partition:
#
# 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 l... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 646 |
```unknown
/*
*
*/
&pinctrl {
i2s0_default: i2s0_default {
group1 {
psels = <NRF_PSEL(I2S_MCK, 0, 12)>;
nordic,drive-mode = <NRF_DRIVE_H0H1>;
};
group2 {
psels = <NRF_PSEL(I2S_SCK_M, 0, 14)>,
<NRF_PSEL(I2S_LRCK_M, 0, 16)>,
<NRF_PSEL(I2S_SDOUT, 0, 13)>,
<NRF_PSEL(I2S_SDIN, 0, 15)>;
};
}... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,190 |
```unknown
/*
*
*/
/* Default shared SRAM planning when building for nRF5340.
* This file is included by both nRF5340 CPUAPP (Application MCU)
* and nRF5340 CPUNET (Network MCU).
* - 64 kB SRAM allocated as Shared memory (sram0_shared)
* - Region defined after the image SRAM of Application MCU
*/
/ {
chosen {... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_shared_sram_planning_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 184 |
```unknown
# nRF5340 Audio DK board configuration
if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP || BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS
config DOMAIN_CPUNET_BOARD
string
default "nrf5340_audio_dk/nrf5340/cpunet"
help
The board which will be used for CPUNET domain when creating a multi
image application where... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 248 |
```yaml
identifier: nrf5340_audio_dk/nrf5340/cpunet
name: NRF5340-AUDIO-DK-NRF5340-network-MCU
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 64
flash: 256
supported:
- watchdog
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=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/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpunet_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```unknown
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_REGULATOR=y
``` | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```restructuredtext
.. _nrf5340_audio_dk_nrf5340:
nRF5340 Audio DK
################
Overview
********
The nRF5340 Audio DK (PCA10121) is designed for showcasing, developing and experimenting
with Bluetooth LE Audio.
You can use this board for developing LE-Audio-compatible applications that support Auracast,
connec... | /content/code_sandbox/boards/nordic/nrf5340_audio_dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 883 |
```unknown
# nRF9160 DK NRF9160 board configuration
config BOARD_NRF9160DK
select SOC_NRF9160_SICA if BOARD_NRF9160DK_NRF9160 || BOARD_NRF9160DK_NRF9160_NS
select SOC_NRF52840_QIAA if BOARD_NRF9160DK_NRF52840
``` | /content/code_sandbox/boards/nordic/nrf9160dk/Kconfig.nrf9160dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 74 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "nrf9160dk_nrf52840-pinctrl.dtsi"
/ {
model = "Nordic nRF9160 DK NRF52840";
compatible = "nordic,nrf9160-dk-nrf52840";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
zephyr,bt-mon-uart ... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf52840.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,685 |
```cmake
if(CONFIG_BOARD_NRF9160DK_NRF9160 OR CONFIG_BOARD_NRF9160DK_NRF9160_NS)
if(CONFIG_BOARD_NRF9160DK_NRF9160_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()
board_runner_ar... | /content/code_sandbox/boards/nordic/nrf9160dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 273 |
```unknown
/*
*
*/
/*
* Default Flash planning for nRF9160dk_nrf9160.
*
* Zephyr build for nRF9160 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/nrf9160dk/nrf9160dk_nrf9160_partition_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 412 |
```yaml
identifier: nrf9160dk@0.7.0/nrf52840
name: nRF9160-DK-NRF52840 (rev. 0.7.0)
type: mcu
arch: arm
ram: 64
flash: 512
toolchain:
- zephyr
- gnuarmemb
supported:
- ble
- netif:openthread
- gpio
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf52840_0_7_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9160ns_sica.dtsi>
#include "nrf9160dk_nrf9160_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/nrf9160dk/nrf9160dk_nrf9160_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 113 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.