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
config BUILD_OUTPUT_BIN
default y if BOARD_RCAR_SPIDER_S4_R8A779F0_A55
``` | /content/code_sandbox/boards/renesas/rcar_spider_s4/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 26 |
```unknown
/*
*
*/
#include <dt-bindings/pinctrl/renesas/pinctrl-r8a779f0.h>
&pfc {
scif0_data_tx_default: scif0_data_tx_default {
pin = <PIN_RX0 FUNC_RX0>;
};
scif0_data_rx_default: scif0_data_rx_default {
pin = <PIN_TX0 FUNC_TX0>;
};
scif3_data_tx_default: scif3_data_tx_default {
pin = <PIN_HTX0 FUNC... | /content/code_sandbox/boards/renesas/rcar_spider_s4/rcar_spider_s4_r8a779f0_r52-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 145 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-r8a779f0.h>
&pfc {
hscif0_data_tx_default: hscif0_data_tx_default {
pin = <PIN_HTX0 FUNC_HTX0>;
};
hscif0_data_rx_default: hscif0_data_rx_default {
pin = <PIN_HRX0 FUNC_HRX0>;
};
mmc_clk: mmc_clk {
pin = <PIN_MMC_SD_CLK FUNC_MMC_SD... | /content/code_sandbox/boards/renesas/rcar_spider_s4/rcar_spider_s4_r8a779f0_a55-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 546 |
```ini
# Renesas R-Car Spider S4 Cortex-R52 Board Config
source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg]
source [find target/renesas_rcar_reset_common.cfg]
set _CHIPNAME r8a779f0
set _CORE_NAME r52
set _TARGETNAME $_CHIPNAME.$_CORE_NAME
set _CTINAME $_TARGETNAME.cti
set _DAPNAME $_CHIPNAME.dap
set DAP_TAPID 0x5... | /content/code_sandbox/boards/renesas/rcar_spider_s4/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 295 |
```restructuredtext
.. _rcar_spider_a55:
R-CAR Spider S4 (ARM64)
#######################
Overview
********
R-Car S4 enables to launch Car Server/CoGW with high performance, high-speed networking,
high security and high functional safety levels that are required as E/E architectures
evolve into domains and zones. The ... | /content/code_sandbox/boards/renesas/rcar_spider_s4/doc/rcar_spider_a55.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 685 |
```cmake
board_runner_args(jlink "--device=R7FA6M4AF")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/renesas/ek_ra6m4/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
/*
*/
&pinctrl {
sci0_default: sci0_default {
group1 {
/* tx rx */
psels = <RA_PSEL(RA_PSEL_SCI_0, 4, 11)>,
<RA_PSEL(RA_PSEL_SCI_0, 4, 10)>;
};
};
};
``` | /content/code_sandbox/boards/renesas/ek_ra6m4/ek_ra6m4-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 78 |
```unknown
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=200000000
# Enable GPIO
CONFIG_GPIO=y
CONFIG_PINCTRL=y
# Enable Console
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_BUILD_OUTPUT_HEX=y
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/renesas/ek_ra6m4/ek_ra6m4_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```yaml
identifier: ek_ra6m4
name: Renesas EK-RA6M4
type: mcu
arch: arm
ram: 256
flash: 1024
toolchain:
- zephyr
- gnuarmemb
supported:
- gpio
``` | /content/code_sandbox/boards/renesas/ek_ra6m4/ek_ra6m4.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```yaml
board:
name: ek_ra6m4
vendor: renesas
socs:
- name: r7fa6m4af3cfb
``` | /content/code_sandbox/boards/renesas/ek_ra6m4/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```unknown
/*
*/
/dts-v1/;
#include <renesas/ra/ra6/r7fa6m4af3cfb.dtsi>
#include <dt-bindings/gpio/gpio.h>
#include "ek_ra6m4-pinctrl.dtsi"
/ {
model = "Renesas EK-RA6M4";
compatible = "renesas,ra6m4", "renesas,ra";
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,... | /content/code_sandbox/boards/renesas/ek_ra6m4/ek_ra6m4.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 450 |
```unknown
config BOARD_EK_RA6M4
select SOC_R7FA6M4AF3CFB
``` | /content/code_sandbox/boards/renesas/ek_ra6m4/Kconfig.ek_ra6m4 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```restructuredtext
.. _rcar_spider_boards:
Renesas R-Car Spider
####################
Overview
********
| R-Car S4 enables the launch of Car Server/CoGW with high performance, high-speed networking,
| high security and high functional safety levels that are required as E/E architectures
| evolve into domains and zon... | /content/code_sandbox/boards/renesas/rcar_spider_s4/doc/rcar_spider_r52.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,483 |
```restructuredtext
.. _boards-particle:
Particle Industries
###################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/particle/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
/*
*/
&pinctrl {
uart1_default: uart1_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 5)>,
<NRF_PSEL(UART_RX, 1, 4)>,
<NRF_PSEL(UART_RTS, 1, 7)>,
<NRF_PSEL(UART_CTS, 1, 6)>;
};
};
uart1_sleep: uart1_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 5)>,
<NRF_PSEL(UART_RX, 1, 4... | /content/code_sandbox/boards/particle/argon/particle_argon-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```cmake
#
#
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(nrfjprog "--softreset")
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_... | /content/code_sandbox/boards/particle/argon/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "mesh_feather.dtsi"
#include "particle_argon-pinctrl.dtsi"
/ {
model = "Particle Argon";
compatible = "particle,argon", "particle,feather";
sky13351: sky13351 {
compatible = "skyworks,sky13351";
vctl1-gpios = <&gpio0 25 GPIO_ACTIVE_L... | /content/code_sandbox/boards/particle/argon/particle_argon.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 296 |
```unknown
#
#
# Enable MPU
CONFIG_ARM_MPU=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/particle/argon/particle_argon_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43 |
```restructuredtext
.. _ek_ra6m4:
RA6M4 Evaluation Kit
####################
Overview
********
The Renesas RA6M4 group uses the high-performance Arm Cortex-M33
core with TrustZone. Secure element functionality providing better
performance, unlimited secure key storage, key management, and lower
BOM cost, as well as t... | /content/code_sandbox/boards/renesas/ek_ra6m4/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,276 |
```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/particle/argon/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```yaml
identifier: particle_argon
name: Particle Argon
type: mcu
arch: arm
ram: 512
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- i2c
- spi
- gpio
- usb_device
- ble
- feather_serial
- feather_i2c
- feather_spi
vendor: particle
``` | /content/code_sandbox/boards/particle/argon/particle_argon.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```yaml
board:
name: particle_argon
vendor: particle
socs:
- name: nrf52840
``` | /content/code_sandbox/boards/particle/argon/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```unknown
# Particle Argon configuration
config BOARD_PARTICLE_ARGON
select SOC_NRF52840_QIAA
``` | /content/code_sandbox/boards/particle/argon/Kconfig.particle_argon | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```c
/*
*
*/
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#define SKY_UFLn_GPIO_SPEC GPIO_DT_SPEC_GET(DT_NODELABEL(sky13351), vctl1_gpios)
#define SKY_PCBn_GPIO_SPEC GPIO_DT_SPEC_GET(DT_NODELABEL(sky13351), vctl2_gpios)
static inline void external_antenna(bool on)
{
struct gpio_dt_spec ufl_gpio = SKY... | /content/code_sandbox/boards/particle/argon/board.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 290 |
```unknown
# Particle Argon board configuration
if BOARD_PARTICLE_ARGON
config BT_CTLR
default BT
endif # BOARD_PARTICLE_ARGON
``` | /content/code_sandbox/boards/particle/argon/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```unknown
/*
*
*/
/* Add SPI support on Particle Mesh via nRF52840 SPI1
*
* NOTE: This file is replicated in particle_{argon,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi1_default: spi1_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
<NR... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather_spi_spi1.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 287 |
```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;
};
};
spi2_default: spi2_defau... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 410 |
```unknown
/*
*
*/
/* Add I2C1 support on Particle Mesh via nRF52840 TWI1
*
* NOTE: This file is replicated in particle_{argon,xenon}.
* Changes should be made in all instances. */
&pinctrl {
i2c1_default: i2c1_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 1)>,
<NRF_PSEL(TWIM_SCL, 1, 2)>;
};
};
... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather_i2c1_twi1.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 240 |
```unknown
/*
*
*/
/* Add SPI1 support on Particle Mesh via nRF52840 SPI3
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 1)>,
<NRF_PSEL(SPIM_MOSI, 1, 2)>,
... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather_spi1_spi3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 272 |
```unknown
/*
*
*/
/* Add SPI support on Particle Mesh via nRF52840 SPI3
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather_spi_spi3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 289 |
```unknown
/*
*
*/
/* Add hardware flow control to UART1 on Feather-based mesh boards
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
uart0_default_alt: uart0_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(U... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather_uart1_rtscts.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 285 |
```unknown
/*
*
*/
/* Assignments common to all Feather-based Particle mesh boards.
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
#include "mesh_feather-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
aliases {
led0 =... | /content/code_sandbox/boards/particle/argon/dts/mesh_feather.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,286 |
```restructuredtext
.. _particle_argon:
Particle Argon
##############
Overview
********
The Particle Argon is a Wi-Fi enabled development board with a Nordic
Semiconductor nRF52840 for mesh support and an ESP32 for Wi-Fi. The
board was developed by Particle Industries and has a SWD connector on it
for programming.
... | /content/code_sandbox/boards/particle/argon/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,147 |
```cmake
#
#
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(nrfjprog "--softreset")
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_... | /content/code_sandbox/boards/particle/xenon/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```yaml
#
#
identifier: particle_xenon
name: particle-xenon
type: mcu
arch: arm
ram: 512
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- i2c
- spi
- gpio
- usb_device
- ble
- feather_serial
- feather_i2c
- feather_spi
vendor: particle
``` | /content/code_sandbox/boards/particle/xenon/particle_xenon.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```unknown
/*
*/
&pinctrl {
uart1_default: uart1_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 8)>,
<NRF_PSEL(UART_RX, 1, 10)>;
};
};
uart1_sleep: uart1_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 8)>,
<NRF_PSEL(UART_RX, 1, 10)>;
low-power-enable;
};
};
};
``` | /content/code_sandbox/boards/particle/xenon/particle_xenon-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 124 |
```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/particle/xenon/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: particle_xenon
vendor: particle
socs:
- name: nrf52840
``` | /content/code_sandbox/boards/particle/xenon/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 29 |
```c
/*
*
*/
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#define SKY_UFLn_GPIO_SPEC GPIO_DT_SPEC_GET(DT_NODELABEL(sky13351), vctl1_gpios)
#define SKY_PCBn_GPIO_SPEC GPIO_DT_SPEC_GET(DT_NODELABEL(sky13351), vctl2_gpios)
static inline void external_antenna(bool on)
{
struct gpio_dt_spec ufl_gpio = SKY... | /content/code_sandbox/boards/particle/xenon/board.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 292 |
```unknown
# Particle Xenon configuration
config BOARD_PARTICLE_XENON
select SOC_NRF52840_QIAA
``` | /content/code_sandbox/boards/particle/xenon/Kconfig.particle_xenon | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 25 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "mesh_feather.dtsi"
#include "particle_xenon-pinctrl.dtsi"
/ {
model = "Particle Xenon";
compatible = "particle,xenon", "particle,feather";
sky13351: sky13351 {
compatible = "skyworks,sky13351";
vctl1-gpios = <&gpio0 24 GPIO_ACTIVE_L... | /content/code_sandbox/boards/particle/xenon/particle_xenon.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 299 |
```unknown
#
#
# Enable MPU
CONFIG_ARM_MPU=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/particle/xenon/particle_xenon_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43 |
```unknown
# Particle Xenon board configuration
if BOARD_PARTICLE_XENON
config BT_CTLR
default BT
endif # BOARD_PARTICLE_XENON
``` | /content/code_sandbox/boards/particle/xenon/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
/*
*
*/
/* Add SPI support on Particle Mesh via nRF52840 SPI1
*
* NOTE: This file is replicated in particle_{argon,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi1_default: spi1_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
<NR... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather_spi_spi1.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 287 |
```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;
};
};
spi2_default: spi2_defau... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 410 |
```unknown
/*
*
*/
/* Add I2C1 support on Particle Mesh via nRF52840 TWI1
*
* NOTE: This file is replicated in particle_{argon,xenon}.
* Changes should be made in all instances. */
&pinctrl {
i2c1_default: i2c1_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 1)>,
<NRF_PSEL(TWIM_SCL, 1, 2)>;
};
};
... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather_i2c1_twi1.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 240 |
```unknown
/*
*
*/
/* Add UART2 support on particle_xenon via nRF52840 UARTE1 */
&pinctrl {
uart1_default: uart1_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 8)>,
<NRF_PSEL(UART_RX, 1, 10)>,
<NRF_PSEL(UART_RTS, 1, 3)>,
<NRF_PSEL(UART_CTS, 1, 11)>;
};
};
uart1_sleep: uart1_sleep {
group1 {... | /content/code_sandbox/boards/particle/xenon/dts/mesh_xenon_uart2.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 281 |
```unknown
/*
*
*/
/* Add SPI1 support on Particle Mesh via nRF52840 SPI3
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 1)>,
<NRF_PSEL(SPIM_MOSI, 1, 2)>,
... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather_spi1_spi3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 272 |
```unknown
/*
*
*/
/* Add SPI support on Particle Mesh via nRF52840 SPI3
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather_spi_spi3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 289 |
```unknown
/*
*
*/
/* Add hardware flow control to UART1 on Feather-based mesh boards
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
uart0_default_alt: uart0_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(U... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather_uart1_rtscts.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 285 |
```unknown
/*
*
*/
/* Assignments common to all Feather-based Particle mesh boards.
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
#include "mesh_feather-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
aliases {
led0 =... | /content/code_sandbox/boards/particle/xenon/dts/mesh_feather.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,286 |
```cmake
#
#
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(nrfjprog "--softreset")
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_... | /content/code_sandbox/boards/particle/boron/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```restructuredtext
.. _particle_xenon:
Particle Xenon
##############
Overview
********
The Particle Xenon is a low-cost mesh-enabled development board based on the
Nordic Semiconductor nRF52840 SoC. The board was developed by Particle
Industries and has an SWD connector on it for programming.
It is equipped with a... | /content/code_sandbox/boards/particle/xenon/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,182 |
```unknown
#
#
# Enable MPU
CONFIG_ARM_MPU=y
# enable GPIO
CONFIG_GPIO=y
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Fix the priority to enable the modem line's serial buffer
# before the modem driver starts (gsm_ppp or ublox-sara-r4).
CONFIG_REGULATOR=y
CONFIG_RE... | /content/code_sandbox/boards/particle/boron/particle_boron_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```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/particle/boron/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include <zephyr/dt-bindings/gpio/gpio.h>
#include "mesh_feather.dtsi"
#include "particle_boron-pinctrl.dtsi"
/ {
model = "Particle Boron";
compatible = "particle,boron", "particle,feather";
sky13351: sky13351 {
compatible = "skyworks,sky13351"... | /content/code_sandbox/boards/particle/boron/particle_boron.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 536 |
```unknown
# Particle Boron configuration
config BOARD_PARTICLE_BORON
select SOC_NRF52840_QIAA
``` | /content/code_sandbox/boards/particle/boron/Kconfig.particle_boron | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 25 |
```yaml
board:
name: particle_boron
vendor: particle
socs:
- name: nrf52840
``` | /content/code_sandbox/boards/particle/boron/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```c
/*
*
*/
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#define ANT_UFLn_GPIO_SPEC GPIO_DT_SPEC_GET(DT_NODELABEL(sky13351), vctl1_gpios)
static inline void external_antenna(bool on)
{
struct gpio_dt_spec ufl_gpio = ANT_UFLn_GPIO_SPEC;
/*
* On power-up the SKY13351 is left uncontrolled, so neith... | /content/code_sandbox/boards/particle/boron/board.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 189 |
```yaml
identifier: particle_boron
name: Particle Boron
type: mcu
arch: arm
ram: 512
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- i2c
- spi
- gpio
- usb_device
- ble
- feather_serial
- feather_i2c
- feather_spi
vendor: particle
``` | /content/code_sandbox/boards/particle/boron/particle_boron.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```unknown
# Particle Boron board configuration
if BOARD_PARTICLE_BORON
config BT_CTLR
default BT
if MODEM
config MODEM_UBLOX_SARA
default y
choice MODEM_UBLOX_SARA_VARIANT
default MODEM_UBLOX_SARA_R4
endchoice
config UART_INTERRUPT_DRIVEN
default y
endif # MODEM
endif # BOARD_PARTICLE_BORON
``` | /content/code_sandbox/boards/particle/boron/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```unknown
/*
*/
&pinctrl {
i2c1_default: i2c1_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 24)>,
<NRF_PSEL(TWIM_SCL, 1, 9)>;
};
};
i2c1_sleep: i2c1_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 24)>,
<NRF_PSEL(TWIM_SCL, 1, 9)>;
low-power-enable;
};
};
uart1_default: uart1_defau... | /content/code_sandbox/boards/particle/boron/particle_boron-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 324 |
```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;
};
};
spi2_default: spi2_defau... | /content/code_sandbox/boards/particle/boron/dts/mesh_feather-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 410 |
```unknown
/*
*
*/
/* Add SPI1 support on Particle Mesh via nRF52840 SPI3
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 1)>,
<NRF_PSEL(SPIM_MOSI, 1, 2)>,
... | /content/code_sandbox/boards/particle/boron/dts/mesh_feather_spi1_spi3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 272 |
```unknown
/*
*
*/
/* Add SPI support on Particle Mesh via nRF52840 SPI3
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>,
... | /content/code_sandbox/boards/particle/boron/dts/mesh_feather_spi_spi3.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 289 |
```unknown
/*
*
*/
/* Add hardware flow control to UART1 on Feather-based mesh boards
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
&pinctrl {
uart0_default_alt: uart0_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(U... | /content/code_sandbox/boards/particle/boron/dts/mesh_feather_uart1_rtscts.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 285 |
```unknown
/*
*
*/
/* Assignments common to all Feather-based Particle mesh boards.
*
* NOTE: This file is replicated in particle_{argon,boron,xenon}.
* Changes should be made in all instances. */
#include "mesh_feather-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
aliases {
led0 =... | /content/code_sandbox/boards/particle/boron/dts/mesh_feather.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,286 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=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/particle/nrf52_blenano2/nrf52_blenano2_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 42 |
```cmake
board_runner_args(pyocd "--target=nrf52832")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
``` | /content/code_sandbox/boards/particle/nrf52_blenano2/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# nRF52 BLENANO 2 board configuration
config BOARD_NRF52_BLENANO2
select SOC_NRF52832_QFAA
``` | /content/code_sandbox/boards/particle/nrf52_blenano2/Kconfig.nrf52_blenano2 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```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/particle/nrf52_blenano2/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: nrf52_blenano2
vendor: particle
socs:
- name: nrf52832
``` | /content/code_sandbox/boards/particle/nrf52_blenano2/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```restructuredtext
.. _particle_boron:
Particle Boron
##############
Overview
********
The Particle Boron is a cellular-enabled development board with a
Nordic Semiconductor nRF52840 for mesh support and an LTE or 2G/3G
modem. The board was developed by Particle Industries and has a SWD
connector on it for program... | /content/code_sandbox/boards/particle/boron/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,099 |
```unknown
# nRF52 BLENANO 2 board configuration
if BOARD_NRF52_BLENANO2
config BT_CTLR
default BT
endif # BOARD_NRF52_BLENANO2
``` | /content/code_sandbox/boards/particle/nrf52_blenano2/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 42 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 29)>,
<NRF_PSEL(UART_RX, 0, 30)>,
<NRF_PSEL(UART_RTS, 0, 2)>,
<NRF_PSEL(UART_CTS, 0, 28)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 29)>,
<NRF_PSEL(UART_RX, ... | /content/code_sandbox/boards/particle/nrf52_blenano2/nrf52_blenano2-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 324 |
```yaml
identifier: nrf52_blenano2
name: BLE Nano 2
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 64
flash: 512
``` | /content/code_sandbox/boards/particle/nrf52_blenano2/nrf52_blenano2.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52832_qfaa.dtsi>
#include "nrf52_blenano2-pinctrl.dtsi"
/ {
model = "Redbear BLE Nano 2";
compatible = "redbear,blenano2";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,sra... | /content/code_sandbox/boards/particle/nrf52_blenano2/nrf52_blenano2.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 682 |
```cmake
board_runner_args(pyocd "--target=nrf51822")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
``` | /content/code_sandbox/boards/particle/nrf51_blenano/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# nRF51 BLENANO board configuration
config BOARD_NRF51_BLENANO
select SOC_NRF51822_QFAA
``` | /content/code_sandbox/boards/particle/nrf51_blenano/Kconfig.nrf51_blenano | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```yaml
identifier: nrf51_blenano
name: BLE Nano
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 16
supported:
- ble
testing:
ignore_tags:
- net
``` | /content/code_sandbox/boards/particle/nrf51_blenano/nrf51_blenano.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf51822_qfaa.dtsi>
#include "nrf51_blenano-pinctrl.dtsi"
/ {
model = "Redbear BLE Nano";
compatible = "redbear,blenano";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,sram = ... | /content/code_sandbox/boards/particle/nrf51_blenano/nrf51_blenano.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 288 |
```restructuredtext
.. _nrf52_blenano2:
Redbear Labs Nano v2
####################
Overview
********
The Nano v2 is a development board equipped with Nordic's next generation nRF52832 Bluetooth Low Energy SOC.
This board was designed as a 'drop-in' replacement of BLE Nano with exactly the same form factor.
Hardware
... | /content/code_sandbox/boards/particle/nrf52_blenano2/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 756 |
```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/particle/nrf51_blenano/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: nrf51_blenano
vendor: particle
socs:
- name: nrf51822
``` | /content/code_sandbox/boards/particle/nrf51_blenano/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```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/particle/nrf51_blenano/nrf51_blenano_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# nRF51 BLENANO board configuration
if BOARD_NRF51_BLENANO
config BT_CTLR
default BT
endif # BOARD_NRF51_BLENANO
``` | /content/code_sandbox/boards/particle/nrf51_blenano/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```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/particle/nrf51_blenano/nrf51_blenano-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```restructuredtext
.. _boards-telink:
Telink Semiconductor
####################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/telink/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```restructuredtext
.. _nrf51_blenano:
Redbear Labs Nano
#################
Overview
********
The Nano is a development board equipped with Nordic's nRF51822 Bluetooth Low Energy SOC.
This board is available on `RedBear Store`_.
Hardware
********
nRF51 BLE Nano has two external oscillators. The frequency of the slo... | /content/code_sandbox/boards/particle/nrf51_blenano/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 747 |
```cmake
board_runner_args(spi_burn)
include(${ZEPHYR_BASE}/boards/common/spi_burn.board.cmake)
``` | /content/code_sandbox/boards/telink/tlsr9518adk80d/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/b91-pinctrl.h>
&pinctrl {
/* Set pad-mul-sel register value.
* Note: Pins functions below (pinmux = <...>) depend on this value.
*/
pad-mul-sel = <1>;
/* UART0: TX(PB2), RX(PB3) */
uart0_tx_pb2_default: uart0_tx_pb2_default {
pinmux = <B91_PINMUX_S... | /content/code_sandbox/boards/telink/tlsr9518adk80d/tlsr9518adk80d-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 768 |
```yaml
identifier: tlsr9518adk80d
name: Telink TLSR9518ADK80D
type: mcu
arch: riscv
toolchain:
- cross-compile
- zephyr
ram: 128
flash: 1024
supported:
- gpio
- i2c
- pwm
- spi
- netif:openthread
vendor: telink
``` | /content/code_sandbox/boards/telink/tlsr9518adk80d/tlsr9518adk80d.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```unknown
config BOARD_TLSR9518ADK80D
select SOC_TLSR9518
``` | /content/code_sandbox/boards/telink/tlsr9518adk80d/Kconfig.tlsr9518adk80d | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```unknown
CONFIG_GPIO=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# HW DSP options
CONFIG_TELINK_B91_HWDSP=n
``` | /content/code_sandbox/boards/telink/tlsr9518adk80d/tlsr9518adk80d_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```yaml
board:
name: tlsr9518adk80d
vendor: telink
socs:
- name: tlsr9518
``` | /content/code_sandbox/boards/telink/tlsr9518adk80d/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
if BOARD_TLSR9518ADK80D
config SOC_FLASH_TELINK_B91
default y if FLASH
# Workaround for not being able to have commas in macro arguments
DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
config FLASH_LOAD_OFFSET
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) if USE_DT_CODE_PARTITION
... | /content/code_sandbox/boards/telink/tlsr9518adk80d/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 176 |
```unknown
/*
*
*/
/dts-v1/;
#include <freq.h>
#include <telink/telink_b91.dtsi>
#include "tlsr9518adk80d-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "telink,b91";
compatible = "telink,tlsr9518adk80d";
aliases {
led0 = &led_blue;
led1 = &led_green;
led2 = &led_white;... | /content/code_sandbox/boards/telink/tlsr9518adk80d/tlsr9518adk80d.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,199 |
```restructuredtext
.. _boards-innblue:
innblue
#######
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/innblue/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```cmake
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/innblue/innblue22/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=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/innblue/innblue22/innblue22_nrf9160_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.