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 |
|---|---|---|---|---|---|---|---|---|
```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/adafruit/nrf52_adafruit_feather/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/nrf52832_qfaa.dtsi>
#include "feather_connector.dtsi"
#include "nrf52_adafruit_feather-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "nRF52 Adafruit Feather";
compatible = "adafruit,nrf52_adafruit_feather";
aliases {
pwm-led0 = ... | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/nrf52_adafruit_feather.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 945 |
```unknown
# nRF52 ADAFRUIT FEATHER board configuration
config BOARD_NRF52_ADAFRUIT_FEATHER
select SOC_NRF52832_QFAA
``` | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/Kconfig.nrf52_adafruit_feather | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```yaml
board:
name: nrf52_adafruit_feather
vendor: adafruit
socs:
- name: nrf52832
``` | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
# nRF52 ADAFRUIT FEATHER board configuration
if BOARD_NRF52_ADAFRUIT_FEATHER
config BT_CTLR
default BT
endif # BOARD_NRF52_ADAFRUIT_FEATHER
``` | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```objective-c
/*
*
*/
#ifndef __INC_BOARD_H
#define __INC_BOARD_H
/* External edge connector pin mappings to nRF52 GPIO pin numbers.
* More information:
* path_to_url#device-pinout
* path_to_url
*/
#define EXT_A0_GPIO_PIN 2 /* P2, Analog in */
#define EXT_A1_GPIO_PIN 3 /* P3, Analog in */
#define E... | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/board.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 360 |
```yaml
identifier: nrf52_adafruit_feather
name: nRF52 Adafruit Feather
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 64
flash: 512
supported:
- feather_serial
- feather_i2c
vendor: adafruit
``` | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/nrf52_adafruit_feather.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```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/adafruit/nrf52_adafruit_feather/nrf52_adafruit_feather_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 42 |
```unknown
/*
*
*/
/ {
feather_header: connector {
compatible = "adafruit-feather-header";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpio0 2 0>, /* A0 */
<1 0 &gpio0 3 0>, /* A1 */
<2 0 &gpio0 4 0>, /* A2 */
<3 0 &gpio0 5 ... | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/feather_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 483 |
```restructuredtext
.. _boards-qorvo:
Qorvo, Inc.
###########
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/qorvo/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```restructuredtext
.. _nrf52_adafruit_feather:
nRF52 Adafruit Feather
######################
Overview
********
The nRF52 Adafruit Bluefruit Feather hardware provides
support for the Nordic Semiconductor nRF52832 ARM Cortex-M4F CPU and
the following devices:
* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
* :... | /content/code_sandbox/boards/adafruit/nrf52_adafruit_feather/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,524 |
```cmake
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000" "--reset-after-load")
board_runner_args(pyocd "--target=nrf52832")
set(OPENOCD_NRF5_SUBFAMILY "nrf52")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/c... | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 109 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52832_qfaa.dtsi>
#include "decawave_dwm1001_dev-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Decawave DWM1001-DEV";
compatible = "decawave,dwm1001";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;... | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/decawave_dwm1001_dev.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,417 |
```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/qorvo/decawave_dwm1001_dev/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: decawave_dwm1001_dev
vendor: qorvo
socs:
- name: nrf52832
``` | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
# DecaWave DWM1001 board configuration
if BOARD_DECAWAVE_DWM1001_DEV
config BT_CTLR
default BT
config I2C
default SENSOR
config SPI
default y
depends on IEEE802154
endif # BOARD_DECAWAVE_DWM1001_DEV
``` | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=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
CONFIG_RTT_CONSOLE=y
``` | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/decawave_dwm1001_dev_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```unknown
# DecaWave DWM1001 board configuration
config BOARD_DECAWAVE_DWM1001_DEV
select SOC_NRF52832_QFAA
``` | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/Kconfig.decawave_dwm1001_dev | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
/*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 5)>,
<NRF_PSEL(UART_RX, 0, 11)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 5)>,
<NRF_PSEL(UART_RX, 0, 11)>;
low-power-enable;
};
};
i2c0_default: i2c0_default... | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/decawave_dwm1001_dev-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 666 |
```yaml
identifier: decawave_dwm1001_dev
name: Decawave-DWM1001-DEV
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 64
flash: 512
supported:
- spi
- i2c
vendor: decawave
``` | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/decawave_dwm1001_dev.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```restructuredtext
.. _boards-ebyte:
Chengdu Ebyte Electronic Technology
###################################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/ebyte/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```cmake
board_runner_args(jlink "--device=nrf52" "--speed=4000")
board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_B... | /content/code_sandbox/boards/ebyte/e73_tbb/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 109 |
```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/ebyte/e73_tbb/ebyte_e73_tbb_nrf52832_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```restructuredtext
.. _decawave_dwm1001_dev:
Decawave DWM1001
#################
Overview
********
The DWM1001 development board includes the DWM1001 module, battery
connector and charging circuit, LEDs, buttons, Raspberry-Pi and USB
connector. In addition, the board comes with J-Link OB adding
debugging and Virtual... | /content/code_sandbox/boards/qorvo/decawave_dwm1001_dev/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 487 |
```yaml
identifier: ebyte_e73_tbb/nrf52832
name: EBYTE-E73-TBB-NRF52832
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 64
flash: 512
supported:
- adc
- gpio
- counter
- nvs
- i2c
- pwm
- spi
- watchdog
``` | /content/code_sandbox/boards/ebyte/e73_tbb/ebyte_e73_tbb_nrf52832.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```yaml
board:
name: ebyte_e73_tbb
vendor: ebyte
socs:
- name: nrf52832
``` | /content/code_sandbox/boards/ebyte/e73_tbb/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```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/ebyte/e73_tbb/ebyte_e73_tbb_nrf52832-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 287 |
```unknown
# EBYTE E73-TBB NRF52832 board configuration
if BOARD_EBYTE_E73_TBB_NRF52832
config BT_CTLR
default BT
endif # BOARD_EBYTE_E73_TBB_NRF52832
``` | /content/code_sandbox/boards/ebyte/e73_tbb/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 49 |
```unknown
# EBYTE-TBB board configuration
config BOARD_EBYTE_E73_TBB
select SOC_NRF52832_QFAA
``` | /content/code_sandbox/boards/ebyte/e73_tbb/Kconfig.ebyte_e73_tbb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52832_qfaa.dtsi>
#include "ebyte_e73_tbb_nrf52832-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "EBYTE E73-TBB NRF52832";
compatible = "ebyte,e73-tbb-nrf52832";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
... | /content/code_sandbox/boards/ebyte/e73_tbb/ebyte_e73_tbb_nrf52832.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 913 |
```restructuredtext
.. _boards-openisa:
OpenISA
#######
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/openisa/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```cmake
set(OPENOCD_USE_LOAD_IMAGE NO)
if(CONFIG_SOC_OPENISA_RV32M1_RI5CY)
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_rv32m1_vega_ri5cy.cfg")
elseif(CONFIG_SOC_OPENISA_RV32M1_ZERO_RISCY)
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_rv32m1_vega_zero_riscy.cfg")
endif()
i... | /content/code_sandbox/boards/openisa/rv32m1_vega/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```unknown
/*
*/
/dts-v1/;
#include "openisa/rv32m1_zero_riscy.dtsi"
#include "rv32m1_vega_openisa_rv32m1.dtsi"
/ {
model = "OpenISA RV32M1 Vega Zero RISCY";
compatible = "openisa,rv32m1";
chosen {
zephyr,sram = &m0_tcm;
zephyr,flash = &m0_flash;
zephyr,console = &lpuart0;
zephyr,uart-pipe = &lpuart0;
... | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1_zero_riscy.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 150 |
```unknown
CONFIG_GPIO=y
CONFIG_PINCTRL=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_MULTI_LEVEL_INTERRUPTS=y
``` | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1_ri5cy_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```restructuredtext
.. _ebyte_e73_tbb_nrf52832:
EBYTE E73-TBB
#############
Overview
********
The EBYTE E73-TBB 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 Inp... | /content/code_sandbox/boards/ebyte/e73_tbb/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,623 |
```unknown
/*
*/
#include <zephyr/dt-bindings/pinctrl/rv32m1-pinctrl.h>
&pinctrl {
lpuart0_default: lpuart0_default {
group0 {
pinmux = <RV32M1_MUX('C', 7, 3)>,
<RV32M1_MUX('C', 8, 3)>;
slew-rate = "slow";
};
};
lpuart1_default: lpuart1_default {
group0 {
pinmux = <RV32M1_MUX('C', 29, 2)>,
... | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 586 |
```yaml
identifier: rv32m1_vega/openisa_rv32m1/ri5cy
name: RV32M1-VEGA (RI5CY)
type: mcu
arch: riscv
toolchain:
- cross-compile
- zephyr
supported:
- arduino_gpio
- arduino_i2c
- arduino_spi
- i2c
- pwm
- spi
vendor: openisa
``` | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1_ri5cy.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```yaml
identifier: rv32m1_vega/openisa_rv32m1/zero_riscy
name: RV32M1-VEGA (ZERO-RISCY)
type: mcu
arch: riscv
toolchain:
- cross-compile
- zephyr
supported:
- arduino_gpio
- arduino_i2c
- i2c
- pwm
vendor: openisa
``` | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1_zero_riscy.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 94 |
```yaml
board:
name: rv32m1_vega
vendor: openisa
socs:
- name: openisa_rv32m1
``` | /content/code_sandbox/boards/openisa/rv32m1_vega/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
config BOARD_RV32M1_VEGA
select SOC_OPENISA_RV32M1_RI5CY if BOARD_RV32M1_VEGA_OPENISA_RV32M1_RI5CY
select SOC_OPENISA_RV32M1_ZERO_RISCY if BOARD_RV32M1_VEGA_OPENISA_RV32M1_ZERO_RISCY
``` | /content/code_sandbox/boards/openisa/rv32m1_vega/Kconfig.rv32m1_vega | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```unknown
/*
*/
/dts-v1/;
#include "openisa/rv32m1_ri5cy.dtsi"
#include "rv32m1_vega_openisa_rv32m1.dtsi"
/ {
model = "OpenISA RV32M1 Vega RI5CY";
compatible = "openisa,rv32m1";
chosen {
zephyr,sram = &m4_dtcm;
zephyr,flash = &m4_flash;
zephyr,console = &lpuart0;
zephyr,shell-uart = &lpuart0;
zephyr,... | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1_ri5cy.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 434 |
```unknown
if BOARD_RV32M1_VEGA
if BT
config BT_CTLR
default y
#TODO: Resolve the complete non-BLE support for crypto CAU3 firmware/driver
#config HAS_RV32M1_CAU3
# bool
# default y if BT_CTLR_CRYPTO && !BT_CTLR_LE_ENC_SUPPORT
config HAS_RV32M1_CAU3_BLE
bool
default y if BT_CTLR_CRYPTO && \
(BT_CTLR_LE_ENC_SU... | /content/code_sandbox/boards/openisa/rv32m1_vega/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```unknown
CONFIG_GPIO=y
CONFIG_PINCTRL=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_MULTI_LEVEL_INTERRUPTS=y
``` | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1_zero_riscy_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```unknown
/*
*/
#include "rv32m1_vega_openisa_rv32m1-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
aliases {
led0 = &green_led;
led1 = &blue_led;
led2 = &red_led;
led3 = &sts_led;
pwm-led0 = &blue_pwm_led;
pwm-led1 = &green_pwm_led;
pwm-led2 = &red_pwm_led;
blue-pwm-led ... | /content/code_sandbox/boards/openisa/rv32m1_vega/rv32m1_vega_openisa_rv32m1.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,618 |
```ini
set _WORKAREASIZE 0x2000
adapter speed 1000
interface jlink
transport select jtag
set _WORKAREASIZE 0x1000
set _CHIPNAME rv32m1
reset_config srst_only
# OpenCores Mohor JTAG TAP ID
set _CPUTAPID 0x249511C3
jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
set _TARGETNAME $_CHIPNAME.cpu
target... | /content/code_sandbox/boards/openisa/rv32m1_vega/support/openocd_rv32m1_vega_zero_riscy.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 880 |
```ini
set _WORKAREASIZE 0x2000
adapter speed 1000
interface jlink
transport select jtag
set _WORKAREASIZE 0x1000
set _CHIPNAME rv32m1
reset_config srst_only
# OpenCores Mohor JTAG TAP ID
set _CPUTAPID 0x249511C3
jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
set _TARGETNAME $_CHIPNAME.cpu
target... | /content/code_sandbox/boards/openisa/rv32m1_vega/support/openocd_rv32m1_vega_ri5cy.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,175 |
```restructuredtext
.. _boards-starfive:
StarFive
########
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/starfive/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
config BOARD_VISIONFIVE2
select SOC_JH7110
``` | /content/code_sandbox/boards/starfive/visionfive2/Kconfig.visionfive2 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 17 |
```yaml
identifier: visionfive2
name: Visionfive JH7110 (NON-SMP)
type: mcu
arch: riscv
toolchain:
- zephyr
- cross-compile
supported:
- uart
``` | /content/code_sandbox/boards/starfive/visionfive2/visionfive2.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```yaml
board:
name: visionfive2
vendor: starfive
socs:
- name: jh7110
``` | /content/code_sandbox/boards/starfive/visionfive2/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
/dts-v1/;
#include "starfive/jh7110-visionfive-v2.dtsi"
/ {
model = "StarFive VisionFive V2";
compatible = "starfive,visionfive-v2";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &l2lim;
};
};
&uart0 {
status = "okay";
current-speed = <115200>;
};
&ua... | /content/code_sandbox/boards/starfive/visionfive2/visionfive2.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 127 |
```unknown
if BOARD_VISIONFIVE2_JH7110
config SYS_CLOCK_TICKS_PER_SEC
default 1000
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000
endif # BOARD_VISIONFIVE2_JH7110
``` | /content/code_sandbox/boards/starfive/visionfive2/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
# Zephyr Kernel Configuration
CONFIG_PRINTK=y
CONFIG_XIP=n
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/starfive/visionfive2/visionfive2_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```restructuredtext
.. _visionfive2:
Starfive VisionFive 2 JH7110
############################
Overview
********
The StarFive VisionFive 2 is a development board with a StarFive JH7110
multi-core 64bit RISC-V SoC.
.. image:: img/visionfive2.webp
:align: center
:alt: StarFive VisionFive 2 Board
Programming an... | /content/code_sandbox/boards/starfive/visionfive2/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 652 |
```restructuredtext
.. _boards-others:
Other and unknown vendors
#########################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/others/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```cmake
board_runner_args(jlink "--device=STM32F407ZG" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/others/black_f407zg_pro/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f4/stm32f407Xg.dtsi>
#include <st/f4/stm32f407z(e-g)tx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "black_f407zg_pro board";
compatible = "st,stm32f407";
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &usart2;
zephyr,s... | /content/code_sandbox/boards/others/black_f407zg_pro/black_f407zg_pro.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 934 |
```unknown
config BOARD_BLACK_F407ZG_PRO
select SOC_STM32F407XG
``` | /content/code_sandbox/boards/others/black_f407zg_pro/Kconfig.black_f407zg_pro | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```yaml
board:
name: black_f407zg_pro
vendor: others
socs:
- name: stm32f407xx
``` | /content/code_sandbox/boards/others/black_f407zg_pro/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```yaml
identifier: black_f407zg_pro
name: Black STM32 F407ZG Pro Development Board
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 192
flash: 1024
supported:
- can
- pwm
- counter
- usb
- spi
- gpio
``` | /content/code_sandbox/boards/others/black_f407zg_pro/black_f407zg_pro.yaml | yaml | 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 HW stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable UART
CONFIG_SERIAL=y
# Console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# Enable GPIO
CONFIG_GPIO=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/others/black_f407zg_pro/black_f407zg_pro_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```unknown
# black_f407zg board configuration
if BOARD_BLACK_F407ZG_PRO
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_BLACK_F407ZG_PRO
``` | /content/code_sandbox/boards/others/black_f407zg_pro/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```ini
source [find board/stm32f4discovery.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-detach {
echo "Debugger detaching: resuming execution"
resume
}
``` | /content/code_sandbox/boards/others/black_f407zg_pro/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```restructuredtext
.. _black_f407zg_pro_board:
Black STM32 F407ZG Pro Development Board
########################################
Overview
********
The BLACK_F407ZG_PRO board features an ARM Cortex-M4 based STM32F407zg MCU
with a wide range of connectivity support and configurations. There are
multiple version of th... | /content/code_sandbox/boards/others/black_f407zg_pro/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,656 |
```cmake
set(BOARD_REVISIONS "blue" "black")
if(NOT DEFINED BOARD_REVISION)
set(BOARD_REVISION "blue")
else()
if(NOT BOARD_REVISION IN_LIST BOARD_REVISIONS)
message(FATAL_ERROR "${BOARD_REVISION} is not a valid revision for stm32_min_dev. Accepted revisions: ${BOARD_REVISIONS}")
endif()
endif()
``` | /content/code_sandbox/boards/others/stm32_min_dev/revision.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```cmake
board_runner_args(jlink "--device=STM32F103C8" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/others/stm32_min_dev/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
# STM32 Minimum Development Board Configuration
config BOARD_STM32_MIN_DEV
select SOC_STM32F103X8
``` | /content/code_sandbox/boards/others/stm32_min_dev/Kconfig.stm32_min_dev | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 27 |
```unknown
/*
*
*/
/ {
model = "STM32 Minimum Development Board (Black)";
compatible = "stm32_min_dev_black", "st,stm32f103c8";
leds {
led: led {
gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
};
};
};
``` | /content/code_sandbox/boards/others/stm32_min_dev/stm32_min_dev_stm32f103xb_black.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```yaml
board:
name: stm32_min_dev
vendor: others
revision:
format: custom
socs:
- name: stm32f103xb
``` | /content/code_sandbox/boards/others/stm32_min_dev/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```yaml
identifier: stm32_min_dev@black
name: STM32 Minimum Development Board (black)
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 20
supported:
- i2c
- pwm
- spi
- adc
- gpio
``` | /content/code_sandbox/boards/others/stm32_min_dev/stm32_min_dev_black.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
/*
*
*/
/ {
model = "STM32 Minimum Development Board (Blue)";
compatible = "stm32_min_dev_blue", "st,stm32f103c8";
leds {
led: led {
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
};
};
};
``` | /content/code_sandbox/boards/others/stm32_min_dev/stm32_min_dev_stm32f103xb_blue.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f1/stm32f103X8.dtsi>
#include <st/f1/stm32f103r(8-b)tx-pinctrl.dtsi>
/ {
model = "STM32 Minimum Development Board";
compatible = "st,stm32f103c8";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,osdp-uart = &usart2;
zephyr,sram = &sram0;
... | /content/code_sandbox/boards/others/stm32_min_dev/stm32_min_dev.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 824 |
```yaml
identifier: stm32_min_dev@blue
name: STM32 Minimum Development Board (blue)
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 20
supported:
- i2c
- pwm
- spi
- adc
- gpio
``` | /content/code_sandbox/boards/others/stm32_min_dev/stm32_min_dev_blue.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
# STM32 Minimum Development Board Configuration
#
#
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# enable clock control
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/others/stm32_min_dev/stm32_min_dev_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```restructuredtext
.. highlight:: sh
.. _rv32m1_vega:
OpenISA VEGAboard
#################
Overview
********
The VEGAboard contains the RV32M1 SoC, featuring two RISC-V CPUs,
on-die XIP flash, and a full complement of peripherals, including a
2.4 GHz multi-protocol radio. It also has built-in sensors and
Arduino-st... | /content/code_sandbox/boards/openisa/rv32m1_vega/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,459 |
```ini
source [find interface/stlink.cfg]
# Work-area size (RAM size) = 20kB
set WORKAREASIZE 0x5000
source [find target/stm32f1x.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -eve... | /content/code_sandbox/boards/others/stm32_min_dev/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```cmake
#
#
#
board_runner_args(stm32flash "--start-addr=0x08000000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/stm32flash.board.cmake)
``` | /content/code_sandbox/boards/others/stm32f030_demo/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 57 |
```yaml
identifier: stm32f030_demo
name: STM32F030 DEMO BOARD
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 4
flash: 16
supported:
- uart
- gpio
- adc
``` | /content/code_sandbox/boards/others/stm32f030_demo/stm32f030_demo.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```unknown
config BOARD_STM32F030_DEMO
select SOC_STM32F030X4
``` | /content/code_sandbox/boards/others/stm32f030_demo/Kconfig.stm32f030_demo | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```yaml
board:
name: stm32f030_demo
vendor: others
socs:
- name: stm32f030x6
``` | /content/code_sandbox/boards/others/stm32f030_demo/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# Kernel Options due to Low Memory (4k)
CONFIG_MAIN_STACK_SIZE=640
CONFIG_IDLE_STACK_SIZE=200
CONFIG_ISR_STACK_SIZE=512
# Prevent Interrupt Vector Table in RAM
CONFIG_SRAM_VECTOR_TABLE=n
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
... | /content/code_sandbox/boards/others/stm32f030_demo/stm32f030_demo_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f0/stm32f030X4.dtsi>
#include <st/f0/stm32f030f4px-pinctrl.dtsi>
/ {
model = "STM32F030 DEMO board";
compatible = "stm32f030-demo";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
leds {
compa... | /content/code_sandbox/boards/others/stm32f030_demo/stm32f030_demo.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 392 |
```ini
source [find interface/stlink.cfg]
# Work-area size (RAM size) = 4kB
set WORKAREASIZE 0x1000
source [find target/stm32f0x.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -even... | /content/code_sandbox/boards/others/stm32f030_demo/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```restructuredtext
.. _stm32_min_dev:
STM32 Minimum Development Board
###############################
Overview
********
The STM32 Minimum Development Board, is a popular and inexpensive
breadboard-friendly breakout board for the `STM32F103x8`_ CPU. There
are two variants of the board:
- Blue Pill Board
- Black Pil... | /content/code_sandbox/boards/others/stm32_min_dev/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,459 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable UART
CONFIG_SERIAL=y
# Console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# Enable GPIO
CONFIG_GPIO=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/others/black_f407ve/black_f407ve_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```cmake
board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
board_runner_args(jlink "--device=STM32F407VE" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
``` | /content/code_sandbox/boards/others/black_f407ve/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```unknown
config BOARD_BLACK_F407VE
select SOC_STM32F407XE
``` | /content/code_sandbox/boards/others/black_f407ve/Kconfig.black_f407ve | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18 |
```yaml
identifier: black_f407ve
name: Black STM32 F407VE Development Board
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 192
flash: 512
supported:
- can
- pwm
- counter
- usb
- spi
- gpio
``` | /content/code_sandbox/boards/others/black_f407ve/black_f407ve.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 85 |
```restructuredtext
.. _stm32f030_demo:
STM32F030 DEMO BOARD
####################
This board has the bare minimum components required to power on
the STM32F030F4P6 MCU. Most of the GPIOs on the STM32 SoC have
been exposed in the external headers with silk screen labels
that match the SoC's pin names.
For practical u... | /content/code_sandbox/boards/others/stm32f030_demo/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 853 |
```yaml
board:
name: black_f407ve
vendor: others
socs:
- name: stm32f407xx
``` | /content/code_sandbox/boards/others/black_f407ve/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
# black_f407ve board configuration
if BOARD_BLACK_F407VE
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_BLACK_F407VE
``` | /content/code_sandbox/boards/others/black_f407ve/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 39 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f4/stm32f407Xe.dtsi>
#include <st/f4/stm32f407v(e-g)tx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "black_f407ve board";
compatible = "black-stm32f407";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sr... | /content/code_sandbox/boards/others/black_f407ve/black_f407ve.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,086 |
```ini
source [find board/stm32f4discovery.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-detach {
echo "Debugger detaching: resuming execution"
resume
}
``` | /content/code_sandbox/boards/others/black_f407ve/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```cmake
board_runner_args(openocd "--use-elf" "--cmd-reset-halt" "halt")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
``` | /content/code_sandbox/boards/others/neorv32/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 39 |
```yaml
identifier: neorv32
name: NEORV32 Processor (SoC)
type: mcu
arch: riscv
toolchain:
- cross-compile
- zephyr
ram: 32
flash: 64
supported:
- gpio
``` | /content/code_sandbox/boards/others/neorv32/neorv32.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```yaml
board:
name: neorv32
vendor: others
revision:
format: major.minor.patch
default: "1.8.6"
revisions:
- name: "1.8.6"
socs:
- name: neorv32
``` | /content/code_sandbox/boards/others/neorv32/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 64 |
```unknown
CONFIG_SOC_NEORV32_ISA_C=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y
``` | /content/code_sandbox/boards/others/neorv32/neorv32_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
config BOARD_NEORV32
select SOC_NEORV32_V1_8_6 if "$(BOARD_REVISION)" = "1.8.6"
``` | /content/code_sandbox/boards/others/neorv32/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
/*
*
*/
/dts-v1/;
#include <neorv32.dtsi>
#include <freq.h>
#include <mem.h>
/ {
model = "NEORV32";
compatible = "neorv32";
aliases {
led0 = &led0;
led1 = &led1;
led2 = &led2;
led3 = &led3;
};
chosen {
zephyr,flash = &imem;
zephyr,sram = &dmem;
zephyr,console = &uart0;
zephyr,shel... | /content/code_sandbox/boards/others/neorv32/neorv32.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 481 |
```unknown
config BOARD_NEORV32
select SOC_NEORV32
``` | /content/code_sandbox/boards/others/neorv32/Kconfig.neorv32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.