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
# 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/nrf9160dk/nrf9160dk_nrf9160_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```yaml
identifier: nrf9160dk/nrf9160/ns
name: nRF9160-DK-NRF9160-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
- gpio
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_0_14_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```unknown
/*
*
*/
/ {
board-control {
nrf_interface_pin_9_routing: switch-nrf-if9-ctrl {
compatible = "nordic,nrf9160dk-optional-routing";
control-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
io_expander_pins_routing: switch-io-exp-en {
compatible = "nordic,nrf9160dk-optional-ro... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf52840_0_14_0.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 434 |
```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/nrf9160dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
/*
*
*/
#include "nrf9160dk_nrf9160_common_0_14_0.dtsi"
``` | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_0_14_0.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 26 |
```yaml
identifier: nrf9160dk@0.7.0/nrf9160
name: nRF9160-DK-NRF9160 (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/nrf9160dk/nrf9160dk_nrf9160_0_7_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 141 |
```c
/*
*
*/
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/kernel.h>
#define RESET_NODE DT_NODELABEL(nrf52840_reset)
#if DT_NODE_HAS_STATUS(RESET_NODE, okay)
#define RESET_GPIO_CTRL DT_GPIO_CTLR(RESET_NODE, gpios)
#def... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf52840_reset.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 432 |
```yaml
identifier: nrf9160dk/nrf9160
name: nRF9160-DK-NRF9160
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/nrf9160dk/nrf9160dk_nrf9160_0_14_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/devicetree.h>
#include <zephyr/logging/log.h>
#include <soc.h>
#include <hal/nrf_gpio.h>
LOG_MODULE_REGISTER(board_control, CONFIG_BOARD_NRF9160DK_LOG_LEVEL);
#define GET_CTLR(name, prop, idx) \
DT_G... | /content/code_sandbox/boards/nordic/nrf9160dk/board.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,895 |
```yaml
board:
name: nrf9160dk
vendor: nordic
socs:
- name: nrf9160
variants:
- name: 'ns'
- name: nrf52840
revision:
format: major.minor.patch
default: "0.14.0"
revisions:
- name: "0.7.0"
- name: "0.14.0"
``` | /content/code_sandbox/boards/nordic/nrf9160dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```yaml
identifier: nrf9160dk@0.7.0/nrf9160/ns
name: nRF9160-DK-NRF9160-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
- gpio
vend... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_0_7_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 145 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 29)>,
<NRF_PSEL(UART_RTS, 0, 27)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 28)>,
<NRF_PSEL(UART_CTS, 0, 26)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_common-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 921 |
```unknown
/*
*
*/
#include "nrf9160dk_nrf9160_common_0_14_0.dtsi"
``` | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_0_14_0.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 26 |
```yaml
identifier: nrf9160dk/nrf52840
name: nRF9160-DK-NRF52840
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_14_0.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 85 |
```unknown
/*
*
*/
#include "nrf9160dk_nrf9160_common-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF9160 DK NRF9160";
compatible = "nordic,nrf9160-dk-nrf9160";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
};
led... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,369 |
```unknown
# nRF9160 DK NRF9160 board configuration
if BOARD_NRF9160DK_NRF9160 || BOARD_NRF9160DK_NRF9160_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/nrf9160dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 460 |
```unknown
# nRF9160 DK NRF52840 board configuration
config BOARD_NRF9160DK
# The GPIO driver is required by this board's initialization code
# (board.c), so it is forced here to be enabled always, not only
# enabled by default (in defconfig).
select GPIO if BOARD_NRF9160DK_NRF52840
if BOARD_NRF9160DK_NRF52840
... | /content/code_sandbox/boards/nordic/nrf9160dk/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 129 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf9160_sica.dtsi>
#include "nrf9160dk_nrf9160_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/nrf9160dk/nrf9160dk_nrf9160.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 5)>,
<NRF_PSEL(UART_RTS, 0, 7)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 3)>,
<NRF_PSEL(UART_CTS, 1, 8)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf52840-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 213 |
```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/nrf9160dk/nrf9160dk_nrf9160_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 90 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf52840_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47 |
```unknown
/*
*
*/
&interface_to_nrf52840 {
gpio-map = <0 0 &gpio0 17 0>,
<1 0 &gpio0 18 0>,
<2 0 &gpio0 19 0>,
<3 0 &gpio0 21 0>,
<4 0 &gpio0 22 0>,
<5 0 &gpio0 23 0>,
/* 6: COEX0 */
/* 7: COEX1 */
/* 8: COEX2 */
<9 0 &gpio0 24 0>;
};
&nrf52840_reset {
gpios = <&inter... | /content/code_sandbox/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_common_0_14_0.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 544 |
```unknown
/*
*
*/
/* NOTE: this feature is only available in nRF9160 DK v0.14.0 or later. */
&switch1_pin_routing {
status = "disabled";
};
&switch2_pin_routing {
status = "disabled";
};
&button1_pin_routing {
status = "disabled";
};
&button2_pin_routing {
status = "disabled";
};
&io_expander_pins_routing ... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf52840/nrf9160dk_buttons_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```unknown
/*
*
*/
/* NOTE: this feature is only available in nRF9160 DK v0.14.0 or later. */
&led1_pin_routing {
status = "disabled";
};
&led2_pin_routing {
status = "disabled";
};
&led3_pin_routing {
status = "disabled";
};
&led4_pin_routing {
status = "disabled";
};
&io_expander_pins_routing {
status = ... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf52840/nrf9160dk_leds_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```unknown
/*
*
*/
/* NOTE: this feature is only available in nRF9160 DK v0.14.0 or later. */
&nrf_interface_pin_9_routing {
status = "okay";
};
&reset_input {
status = "okay";
gpios = <&interface_to_nrf9160 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
``` | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf52840/nrf9160dk_nrf52840_reset_on_if9.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```unknown
/*
*
*/
&nrf_interface_pins_3_5_routing {
status = "okay";
};
&reset_input {
status = "okay";
gpios = <&interface_to_nrf9160 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
};
``` | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf52840/nrf9160dk_nrf52840_reset_on_if5.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 54 |
```unknown
/*
*
*/
/* NOTE: this feature is only available in nRF9160 DK v0.14.0 or later. */
&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 = <&pcal64... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf9160/nrf9160dk_leds_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 125 |
```unknown
/*
*
*/
&nrf_interface_pins_0_2_routing {
status = "okay";
};
&nrf_interface_pins_3_5_routing {
status = "okay";
};
&pinctrl {
uart1_default_alt: uart1_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 17)>,
<NRF_PSEL(UART_RX, 0, 20)>,
<NRF_PSEL(UART_RTS, 0, 15)>,
<NRF_PSEL(UART_C... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf52840/nrf9160dk_uart1_on_if0_3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 282 |
```unknown
/*
*
*/
/* NOTE: this feature is only available in nRF9160 DK v0.14.0 or later. */
&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_P... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf9160/nrf9160dk_buttons_on_io_expander.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 149 |
```unknown
/*
*
*/
&nrf52840_reset {
status = "okay";
gpios = <&interface_to_nrf52840 5 GPIO_ACTIVE_HIGH>;
};
``` | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf9160/nrf9160dk_nrf52840_reset_on_if5.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
/*
*
*/
/* NOTE: this feature is only available in nRF9160 DK v0.14.0 or later. */
&nrf52840_reset {
status = "okay";
gpios = <&interface_to_nrf52840 9 GPIO_ACTIVE_LOW>;
};
``` | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf9160/nrf9160dk_nrf52840_reset_on_if9.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```yaml
# NOTE: This file is replicated in nrf9160dk_nrf9160 and nrf9160dk_nrf52840.
# Any changes should be done in both instances.
description: GPIO used to reset nRF52840 on nRF9160 DK
compatible: "nordic,nrf9160dk-nrf52840-reset"
include: base.yaml
properties:
status:
required: true
gpios:
t... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/bindings/nordic,nrf9160dk-nrf52840-reset.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 136 |
```unknown
/*
*
*/
&pinctrl {
uart1_default_alt: uart1_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 18)>,
<NRF_PSEL(UART_RX, 0, 17)>,
<NRF_PSEL(UART_RTS, 0, 21)>,
<NRF_PSEL(UART_CTS, 0, 19)>;
};
};
uart1_sleep_alt: uart1_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 18)>,
... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/nrf9160/nrf9160dk_uart1_on_if0_3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 248 |
```yaml
description: nRF9160 DK optional routing provided by analog switch
compatible: "nordic,nrf9160dk-optional-routing"
include: base.yaml
properties:
status:
required: true
control-gpios:
type: phandle-array
required: true
description: |
GPIO to use to control the analog switch.
``` | /content/code_sandbox/boards/nordic/nrf9160dk/dts/bindings/nordic,nrf9160dk-optional-routing.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```yaml
# NOTE: This file is replicated in nrf9160dk_nrf9160 and nrf9160dk_nrf52840.
# Any changes should be done in both instances.
description: |
nRF9160 DK GPIO interface between nRF9160 and nRF52840
This interface can be used for inter-SoC communication on the DK.
The connections are as follows... | /content/code_sandbox/boards/nordic/nrf9160dk/dts/bindings/nordic,nrf9160dk-nrf52840-interface.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 607 |
```cmake
if(CONFIG_BOARD_THINGY53_NRF5340_CPUAPP OR CONFIG_BOARD_THINGY53_NRF5340_CPUAPP_NS)
board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000")
elseif(CONFIG_BOARD_THINGY53_NRF5340_CPUNET)
board_runner_args(jlink "--device=nrf5340_xxaa_net" "--speed=4000")
endif()
include(${ZEPHYR_BASE}/boards/co... | /content/code_sandbox/boards/nordic/thingy53/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 141 |
```yaml
identifier: thingy53/nrf5340/cpuapp
name: Thingy53-NRF5340-application-MCU
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 448
flash: 1024
supported:
- gpio
- i2c
- pwm
- watchdog
- usb_device
- netif:openthread
vendor: nordic
``` | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpuapp.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpuapp_qkaa.dtsi>
#include "thingy53_nrf5340_common.dtsi"
/ {
model = "Nordic Thingy53 NRF5340 Application";
compatible = "nordic,thingy53-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_image;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_part... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpuapp.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 223 |
```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 console
CONFIG_CONSOLE=y
CONFIG_UART_CO... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpuapp_ns_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 155 |
```unknown
# Thingy53 NRF5340 board configuration
config BOARD_THINGY53
select SOC_NRF5340_CPUAPP_QKAA if BOARD_THINGY53_NRF5340_CPUAPP
select SOC_NRF5340_CPUAPP_QKAA if BOARD_THINGY53_NRF5340_CPUAPP_NS
select SOC_NRF5340_CPUNET_QKAA if BOARD_THINGY53_NRF5340_CPUNET
``` | /content/code_sandbox/boards/nordic/thingy53/Kconfig.thingy53 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf5340_cpunet_qkaa.dtsi>
#include "thingy53_nrf5340_cpunet-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic Thingy53 NRF5340 Network";
compatible = "nordic,thingy53-nrf5340-cpunet";
chosen {
zephyr,console = &uart0;
zeph... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpunet.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,274 |
```unknown
/*
*
*/
/*
* Default Flash planning for thingy53_nrf5340.
*
* 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).
* Secure image will use sram0 ... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_partition_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 405 |
```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/thingy53/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```c
/*
*
*/
#include <zephyr/init.h>
#include <zephyr/kernel.h>
/* Initialization chain of Thingy:53 board requires some delays before on board sensors
* could be accessed after power up. In particular bme680 and bmm150 sensors require,
* respectively 2ms and 1ms power on delay. In order to avoid delays sum, com... | /content/code_sandbox/boards/nordic/thingy53/board.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 465 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable GPIO
CONFIG_GPIO=y
``` | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpunet_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```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 console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable UART driver
CONFIG_SERIAL=y
# Board Kconfig.defconfig enables USB CDC... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpuapp_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 134 |
```unknown
/*
*/
&pinctrl {
pwm0_default: pwm0_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 1, 8)>,
<NRF_PSEL(PWM_OUT1, 1, 6)>,
<NRF_PSEL(PWM_OUT2, 1, 7)>;
};
};
pwm0_sleep: pwm0_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 1, 8)>,
<NRF_PSEL(PWM_OUT1, 1, 6)>,
<NRF_PSEL(PWM_OUT2, 1, 7... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_common-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,110 |
```yaml
identifier: thingy53/nrf5340/cpunet
name: Thingy53-NRF5340-network-MCU
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 64
flash: 256
supported:
- gpio
- watchdog
vendor: nordic
``` | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpunet.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```yaml
board:
name: thingy53
vendor: nordic
socs:
- name: 'nrf5340'
variants:
- name: 'ns'
cpucluster: 'cpuapp'
``` | /content/code_sandbox/boards/nordic/thingy53/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 48 |
```yaml
identifier: thingy53/nrf5340/cpuapp/ns
name: Thingy53-NRF5340-application-MCU-Non-Secure
type: mcu
arch: arm
toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 192
flash: 192
supported:
- gpio
- i2c
- pwm
- watchdog
- usb_device
- netif:openthread
vendor: nordic
``` | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpuapp_ns.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 110 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 12)>,
<NRF_PSEL(UART_RX, 0, 11)>,
<NRF_PSEL(UART_RTS, 0, 10)>,
<NRF_PSEL(UART_CTS, 0, 9)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 12)>,
<NRF_PSEL(UART_RX, ... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpunet-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/nrf5340_cpuappns_qkaa.dtsi>
#include "thingy53_nrf5340_common.dtsi"
/ {
model = "Nordic Thingy53 NRF5340 Application";
compatible = "nordic,thingy53-nrf5340-cpuapp";
chosen {
zephyr,sram = &sram0_ns;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_ns_pa... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_cpuapp_ns.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 190 |
```restructuredtext
.. _nrf9160dk_nrf9160:
nRF9160 DK
##########
Overview
********
The nRF9160 DK (PCA10090) is a single-board development kit for evaluation and
development on the nRF9160 SiP for LTE-M and NB-IoT. The nrf9160dk/nrf9160
board configuration provides support for the Nordic Semiconductor nRF9160 ARM
Co... | /content/code_sandbox/boards/nordic/nrf9160dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,747 |
```unknown
# Thingy53 NRF5340 board configuration
if BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_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 loaded by MCUboot... | /content/code_sandbox/boards/nordic/thingy53/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 919 |
```unknown
# Thingy53 NRF5340 board configuration
config THINGY53_INIT_PRIORITY
int "Init priority"
default 79
help
Initialization priority of the Thingy:53.
if BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS
config BOARD_SERIAL_BACKEND_CDC_ACM
bool "USB CDC"
default y
config DOMAIN_CPUNE... | /content/code_sandbox/boards/nordic/thingy53/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 268 |
```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/thingy53/thingy53_nrf5340_shared_sram_planning_conf.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 184 |
```restructuredtext
.. _thingy53_nrf5340:
Thingy:53
#########
Overview
********
Zephyr uses the ``thingy53/nrf5340`` board configuration for building
for the Thingy:53 board. The board has the nRF5340 MCU processor, a set of
environmental sensors, a pushbutton, and RGB LED.
The nRF5340 is a dual-core SoC based on t... | /content/code_sandbox/boards/nordic/thingy53/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 431 |
```cmake
board_runner_args(jlink "--device=nRF52833_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52833" "--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/nrf52833dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```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/nrf52833dk/nrf52833dk_nrf52820-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 499 |
```yaml
identifier: nrf52833dk/nrf52820
name: nRF52833-DK-NRF52820
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 32
flash: 256
supported:
- usb_device
- usbd
- ble
- gpio
- watchdog
- counter
- netif:openthread
vendor: nordic
``` | /content/code_sandbox/boards/nordic/nrf52833dk/nrf52833dk_nrf52820.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 108 |
```unknown
/*
*
*/
#include "thingy53_nrf5340_common-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
chosen {
zephyr,console = &cdc_acm_uart;
zephyr,shell-uart = &cdc_acm_uart;
zephyr,uart-mcumgr = &cdc_acm_uart;
zephyr,bt-mon-uart = &cdc_acm_uart;
zephyr,bt-c2h-uart = &cdc_acm_u... | /content/code_sandbox/boards/nordic/thingy53/thingy53_nrf5340_common.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,933 |
```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/nrf52833dk/nrf52833dk_nrf52820_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```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/nrf52833dk/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```yaml
board:
name: nrf52833dk
vendor: nordic
socs:
- name: nrf52820
- name: nrf52833
``` | /content/code_sandbox/boards/nordic/nrf52833dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```yaml
identifier: nrf52833dk/nrf52833
name: nRF52833-DK-NRF52833
type: mcu
arch: arm
ram: 128
flash: 512
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- arduino_gpio
- arduino_i2c
- arduino_spi
- usb_device
- usbd
- ble
- gpio
- pwm
- watchdog
- counter
- netif:openthread
ven... | /content/code_sandbox/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 136 |
```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/nrf52833dk/nrf52833dk_nrf52833_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```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/nrf52833dk/nrf52833dk_nrf52833-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,167 |
```unknown
# nRF52833 DK NRF52833 board configuration
if BOARD_NRF52833DK
config BT_CTLR
default BT
endif # BOARD_NRF52833DK
``` | /content/code_sandbox/boards/nordic/nrf52833dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```unknown
# nRF52833 DK NRF52833 board configuration
config BOARD_NRF52833DK
select SOC_NRF52820_QDAA if BOARD_NRF52833DK_NRF52820
select SOC_NRF52833_QIAA if BOARD_NRF52833DK_NRF52833
``` | /content/code_sandbox/boards/nordic/nrf52833dk/Kconfig.nrf52833dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52833_qiaa.dtsi>
#include "nrf52833dk_nrf52833-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52833 DK NRF52833";
compatible = "nordic,nrf52833-dk-nrf52833";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &... | /content/code_sandbox/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,049 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52820_qdaa.dtsi>
#include "nrf52833dk_nrf52820-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Nordic nRF52833 DK NRF52820";
compatible = "nordic,nrf52833-dk-nrf52820";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &... | /content/code_sandbox/boards/nordic/nrf52833dk/nrf52833dk_nrf52820.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,329 |
```restructuredtext
.. _boards-element-14:
Element 14
##########
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/element14/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
config BOARD_WARP7
select SOC_PART_NUMBER_MCIMX7S3DVK08SA
select SOC_MCIMX7D_M4 if BOARD_WARP7_MCIMX7D_M4
``` | /content/code_sandbox/boards/element14/warp7/Kconfig.warp7 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
#
#
#
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CONSOLE=y
CONFIG_XIP=y
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/element14/warp7/warp7_mcimx7d_m4_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```yaml
board:
name: warp7
vendor: element14
socs:
- name: mcimx7d
``` | /content/code_sandbox/boards/element14/warp7/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 29 |
```unknown
/*
*
*/
/dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi>
#include "warp7-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "WaRP7 IMX7S board";
compatible = "nxp,mcimx7d_m4";
aliases {
sw0 = &user_switch_1;
magn0 = &fxos8700;
accel0 = &fxos8700;
};
chosen {
ze... | /content/code_sandbox/boards/element14/warp7/warp7_mcimx7d_m4.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 567 |
```unknown
# WaRP7 iMX7S M4 board
if BOARD_WARP7
config FXOS8700_DRDY_INT1
default y
depends on FXOS8700_TRIGGER
config FXAS21002_DRDY_INT1
default y
depends on FXAS21002_TRIGGER
endif # BOARD_WARP7
``` | /content/code_sandbox/boards/element14/warp7/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```yaml
#
#
#
identifier: warp7/mcimx7d/m4
name: WaRP7 IMX7S
type: mcu
arch: arm
ram: 32
flash: 32
toolchain:
- zephyr
- gnuarmemb
- xtools
testing:
ignore_tags:
- net
- bluetooth
supported:
- gpio
- i2c
vendor: nxp
``` | /content/code_sandbox/boards/element14/warp7/warp7_mcimx7d_m4.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 98 |
```restructuredtext
.. _nrf52833dk_nrf52833:
nRF52833 DK
###########
Overview
********
The nRF52833 Development Kit (PCA10100) hardware provides
support for the Nordic Semiconductor nRF52833 ARM Cortex-M4F CPU and
the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`GPIO (Gene... | /content/code_sandbox/boards/nordic/nrf52833dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,958 |
```unknown
/*
*
*/
#include <nxp/nxp_imx7d_m4.dtsi>
#include <nxp/nxp_imx/mimx7d-pinctrl.dtsi>
&pinctrl {
uart2_default: uart2_default {
group0 {
pinmux = <&mx7d_pad_uart2_rx_data__uart2_dte_tx>,
<&mx7d_pad_uart2_tx_data__uart2_dte_rx>;
bias-pull-up;
bias-pull-up-value = "100k";
input-schmitt-en... | /content/code_sandbox/boards/element14/warp7/warp7-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 711 |
```cmake
board_set_flasher_ifnset(spi_burn)
board_set_debugger_ifnset(spi_burn)
board_finalize_runner_args(spi_burn)
``` | /content/code_sandbox/boards/common/spi_burn.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```cmake
board_set_flasher_ifnset(mdb-nsim)
board_set_debugger_ifnset(mdb-nsim)
board_finalize_runner_args(mdb-nsim)
``` | /content/code_sandbox/boards/common/mdb-nsim.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```cmake
board_set_flasher_ifnset(bossac)
board_finalize_runner_args(bossac "--bossac=${BOSSAC}")
``` | /content/code_sandbox/boards/common/bossac.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```cmake
board_set_flasher_ifnset(nrfjprog)
board_finalize_runner_args(nrfjprog) # No default arguments to provide.
``` | /content/code_sandbox/boards/common/nrfjprog.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```cmake
# Infer nrf51 vs nrf52 etc from the BOARD name. This enforces a board
# naming convention: "nrf5x" must appear somewhere in the board name
# for this to work.
#
# Boards which don't meet this convention can set this variable before
# including this script.
if(NOT DEFINED OPENOCD_NRF5_SUBFAMILY)
string(REGEX... | /content/code_sandbox/boards/common/openocd-nrf5.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 404 |
```cmake
board_set_flasher_ifnset(probe-rs)
board_finalize_runner_args(probe-rs)
``` | /content/code_sandbox/boards/common/probe-rs.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```cmake
board_set_flasher_ifnset(dfu-util)
board_finalize_runner_args(dfu-util) # No default arguments to provide.
``` | /content/code_sandbox/boards/common/dfu-util.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```cmake
board_set_flasher_ifnset(nrfutil)
board_finalize_runner_args(nrfutil) # No default arguments to provide.
``` | /content/code_sandbox/boards/common/nrfutil.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```cmake
board_set_flasher_ifnset(stm32flash)
board_finalize_runner_args(stm32flash)
``` | /content/code_sandbox/boards/common/stm32flash.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```cmake
board_set_flasher_ifnset(canopen)
board_finalize_runner_args(canopen)
``` | /content/code_sandbox/boards/common/canopen.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 19 |
```cmake
board_set_flasher_ifnset(nios2)
board_set_debugger_ifnset(nios2)
board_finalize_runner_args(nios2
# TODO: merge this script into nios2.py
"--quartus-flash=${ZEPHYR_BASE}/scripts/support/quartus-flash.py"
)
``` | /content/code_sandbox/boards/common/nios2.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```cmake
board_set_flasher_ifnset(nulink)
board_set_debugger_ifnset(nulink)
board_finalize_runner_args(nulink "-f")
``` | /content/code_sandbox/boards/common/nulink.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```cmake
board_set_flasher_ifnset(pyocd)
board_set_debugger_ifnset(pyocd)
if(CONFIG_SEMIHOST_CONSOLE)
board_runner_args(pyocd "--tool-opt=-S")
endif()
board_finalize_runner_args(pyocd "--dt-flash=y")
``` | /content/code_sandbox/boards/common/pyocd.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```cmake
board_set_flasher_ifnset(esp32)
board_set_debugger_ifnset(openocd)
board_runner_args(openocd --no-init --no-halt --no-targets --no-load)
board_runner_args(openocd --gdb-init "set remote hardware-watchpoint-limit 2")
board_runner_args(openocd --gdb-init "flushregs")
board_runner_args(openocd --gdb-init "... | /content/code_sandbox/boards/common/esp32.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 165 |
```cmake
board_set_flasher_ifnset(uf2)
board_finalize_runner_args(uf2) # No default arguments to provide.
``` | /content/code_sandbox/boards/common/uf2.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```cmake
board_set_flasher_ifnset(nxp_s32dbg)
board_set_debugger_ifnset(nxp_s32dbg)
board_finalize_runner_args(nxp_s32dbg)
``` | /content/code_sandbox/boards/common/nxp_s32dbg.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```cmake
board_set_flasher_ifnset(ezflashcli)
board_finalize_runner_args(ezflashcli)
``` | /content/code_sandbox/boards/common/ezflashcli.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```cmake
board_set_robot_runner_ifnset(renode-robot)
# `--variable` is a renode-test argument, for setting a variable that can be later used in a .robot file:
# ELF: used in common.robot to set the `elf` variable in the default .resc script defined in board.cmake
# RESC: path to the .resc script, defin... | /content/code_sandbox/boards/common/renode_robot.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 295 |
```cmake
# Please use this sparingly and only when if your setup is exotic and
# you're willing to handle requests for help. E.g. your "board" is a
# core on a special-purpose SoC which requires a complicated script to
# network boot.
board_finalize_runner_args(misc-flasher)
``` | /content/code_sandbox/boards/common/misc.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```cmake
board_set_flasher_ifnset(teensy)
board_finalize_runner_args(teensy)
``` | /content/code_sandbox/boards/common/teensy.board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.