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
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/olimex/stm32_e407/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 HW stack protection
CONFIG_HW_STACK_PROTECTION=y
CONFIG_SERIAL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/olimex/stm32_e407/olimex_stm32_e407_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```yaml
identifier: olimex_stm32_e407
name: OLIMEX-STM32-E407
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 128
flash: 1024
supported:
- counter
- usb_device
vendor: olimex
``` | /content/code_sandbox/boards/olimex/stm32_e407/olimex_stm32_e407.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```yaml
board:
name: olimex_stm32_e407
vendor: olimex
socs:
- name: stm32f407xx
``` | /content/code_sandbox/boards/olimex/stm32_e407/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```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 = "Olimex STM32-E407 board";
compatible = "olimex,stm32-e407";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
ze... | /content/code_sandbox/boards/olimex/stm32_e407/olimex_stm32_e407.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 840 |
```ini
source [find interface/ftdi/olimex-arm-usb-tiny-h.cfg]
# source [find interface/stlink.cfg]
set WORKAREASIZE 0x10000
source [find target/stm32f4x.cfg]
adapter speed 1000
adapter srst delay 100
jtag_ntrst_delay 100
reset_config srst_only srst_nogate
$_TARGETNAME configure -event gdb-attach {
echo "Debugger ... | /content/code_sandbox/boards/olimex/stm32_e407/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 139 |
```restructuredtext
.. _olimex_stm32_h103:
OLIMEX-STM32-H103
#################
Overview
********
The OLIMEX-STM32-H103 is a simple development board based on the
STMicroelectronics STM32F103RBT6 ARM Cortex-M3 CPU, with all the MCU pins
populated and accessible through two male 26-pin connectors.
.. figure:: img/oli... | /content/code_sandbox/boards/olimex/stm32_h103/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,326 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f1/stm32f103Xb.dtsi>
#include <st/f1/stm32f103r(8-b)tx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Olimex OLIMEXINO-STM32 board";
compatible = "olimex,olimexino_stm32", "st,stm32f103rb";
chosen {
zephyr,console = &usart1;
zephy... | /content/code_sandbox/boards/olimex/olimexino_stm32/olimexino_stm32.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,226 |
```cmake
board_runner_args(stm32flash "--baud-rate=115200" "--start-addr=0x08000000")
board_runner_args(jlink "--device=STM32F103RB" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/stm32flash.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.c... | /content/code_sandbox/boards/olimex/olimexino_stm32/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 99 |
```yaml
identifier: olimexino_stm32
name: OLIMEXINO-STM32
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 20
supported:
- gpio
- i2c
- pwm
- spi
- usb_device
- watchdog
- can
vendor: olimex
``` | /content/code_sandbox/boards/olimex/olimexino_stm32/olimexino_stm32.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 95 |
```unknown
config BOARD_OLIMEXINO_STM32
select SOC_STM32F103XB
``` | /content/code_sandbox/boards/olimex/olimexino_stm32/Kconfig.olimexino_stm32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# enable clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/olimex/olimexino_stm32/olimexino_stm32_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 74 |
```yaml
board:
name: olimexino_stm32
vendor: olimex
socs:
- name: stm32f103xb
``` | /content/code_sandbox/boards/olimex/olimexino_stm32/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
# OLIMEXINO-STM32 board configuration
if BOARD_OLIMEXINO_STM32
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_OLIMEXINO_STM32
``` | /content/code_sandbox/boards/olimex/olimexino_stm32/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 50 |
```ini
source [find interface/ftdi/jtag-lock-pick_tiny_2.cfg]
source [find board/olimex_stm32_h103.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-detach {
echo "Deb... | /content/code_sandbox/boards/olimex/olimexino_stm32/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```restructuredtext
.. _olimex_stm32_e407:
OLIMEX-STM32-E407
#################
Overview
********
The OLIMEX-STM32-E407 board is open source hardware and is based on
the STMicroelectronics STM32F407ZG ARM Cortex-M4 CPU.
.. figure:: img/olimex_stm32_e407.jpg
:align: center
:alt: OLIMEX-STM32-E407
OLIM... | /content/code_sandbox/boards/olimex/stm32_e407/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,605 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f4/stm32f405Xg.dtsi>
#include <st/f4/stm32f405rgtx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Olimex STM32-H405 board";
compatible = "olimex,stm32-h405", "st,stm32f405";
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &... | /content/code_sandbox/boards/olimex/stm32_h405/olimex_stm32_h405.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 593 |
```cmake
board_runner_args(jlink "--device=STM32F405RG" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/olimex/stm32_h405/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```unknown
config BOARD_OLIMEX_STM32_H405
select SOC_STM32F405XX
``` | /content/code_sandbox/boards/olimex/stm32_h405/Kconfig.olimex_stm32_h405 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```yaml
board:
name: olimex_stm32_h405
vendor: olimex
socs:
- name: stm32f405xx
``` | /content/code_sandbox/boards/olimex/stm32_h405/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```yaml
identifier: olimex_stm32_h405
name: OLIMEX-STM32-H405
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 128
flash: 1024
supported:
- counter
vendor: olimex
``` | /content/code_sandbox/boards/olimex/stm32_h405/olimex_stm32_h405.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
CONFIG_SERIAL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/olimex/stm32_h405/olimex_stm32_h405_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```ini
source [find interface/stlink.cfg]
set WORKAREASIZE 0x10000
transport select hla_swd
source [find target/stm32f4x.cfg]
adapter speed 1000
adapter srst delay 100
jtag_ntrst_delay 100
reset_config srst_only srst_nogate
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
... | /content/code_sandbox/boards/olimex/stm32_h405/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```restructuredtext
.. _olimexino_stm32:
OLIMEXINO-STM32
###############
Overview
********
The OLIMEXINO-STM32 board is based on the STMicroelectronics STM32F103RB ARM
Cortex-M3 CPU.
.. figure:: img/olimexino_stm32.jpg
:align: center
:alt: OLIMEXINO-STM32
OLIMEXINO-STM32
More information about the ... | /content/code_sandbox/boards/olimex/olimexino_stm32/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,326 |
```restructuredtext
.. _olimex_stm32_h405:
OLIMEX-STM32-H405
#################
Overview
********
The OLIMEX-STM32-H405 board is based on the STMicroelectronics STM32F405RG ARM
Cortex-M4 CPU.
.. figure:: olimex_stm32_h405_top.jpg
:align: center
:alt: OLIMEX-STM32-H405
OLIMEX-STM32-H405 top
.. figure... | /content/code_sandbox/boards/olimex/stm32_h405/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,750 |
```cmake
if(NOT "${OPENOCD}" MATCHES "^${ESPRESSIF_TOOLCHAIN_PATH}/.*")
set(OPENOCD OPENOCD-NOTFOUND)
endif()
find_program(OPENOCD openocd PATHS ${ESPRESSIF_TOOLCHAIN_PATH}/openocd-esp32/bin NO_DEFAULT_PATH)
include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.c... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```unknown
CONFIG_CLOCK_CONTROL=y
CONFIG_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_UART_CONSOLE=n
CONFIG_GPIO=n
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```unknown
# Olimex ESP32-EVB board configuration
config BOARD_OLIMEX_ESP32_EVB
select SOC_ESP32_WROVER_E_N8R2
select SOC_ESP32_PROCPU if BOARD_OLIMEX_ESP32_EVB_ESP32_PROCPU
select SOC_ESP32_APPCPU if BOARD_OLIMEX_ESP32_EVB_ESP32_APPCPU
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/Kconfig.olimex_esp32_evb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_appcpu.dtsi>
/ {
model = "Espressif ESP32-DevkitC APPCPU";
compatible = "espressif,esp32";
chosen {
zephyr,sram = &sram0;
zephyr,ipc_shm = &shm0;
zephyr,ipc = &ipm0;
};
};
&ipm0 {
status = "okay";
};
&trng0 {
status = "okay";
};
&flash0 {
... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 407 |
```yaml
identifier: olimex_esp32_evb/esp32/appcpu
name: Olimex ESP32-EVB APPCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- uart
testing:
ignore_tags:
- net
- bluetooth
- flash
- cpp
- posix
- watchdog
- logging
- kernel
- pm
- gpio
- crypto
- eeprom
... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```unknown
choice BOOTLOADER
default BOOTLOADER_MCUBOOT
endchoice
choice BOOT_SIGNATURE_TYPE
default BOOT_SIGNATURE_TYPE_NONE
endchoice
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/Kconfig.sysbuild | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```yaml
board:
name: olimex_esp32_evb
vendor: olimex
socs:
- name: esp32
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
# Olimex ESP32-EVB board configuration
if BOARD_OLIMEX_ESP32_EVB_ESP32_PROCPU
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 65535 if WIFI && BT
default 51200 if WIFI
default 40960 if BT
default 4096
endif # BOARD_OLIMEX_ESP32_EVB_ESP32_PROCPU
if BOARD_OLIMEX_ESP32_EVB_ESP32_APPCPU
config HEAP_ME... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 132 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_GPIO=y
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb_procpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 27 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
#include <dt-bindings/pinctrl/esp32-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h>
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <UART0_TX_GPIO1>;
output-high;
};
group2 {
pinmux = <UART... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 332 |
```yaml
identifier: olimex_esp32_evb/esp32/procpu
name: Olimex ESP32-EVB PROCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- can
- counter
- gpio
- hwinfo
- i2c
- spi
- uart
- watchdog
testing:
ignore_tags:
- net
- bluetooth
vendor: olimex
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```ini
set ESP_RTOS none
set ESP32_ONLYCPU 1
source [find interface/ftdi/esp32_devkitj_v1.cfg]
source [find target/esp32.cfg]
``` | /content/code_sandbox/boards/olimex/olimex_esp32_evb/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_wrover_e_n4r2.dtsi>
#include "olimex_esp32_evb-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Olimex ESP32-EVB";
compatible = "olimex,esp32-evb", "espressif,esp32-wroom-32e", "espressif,esp32";
chosen {
zephyr,co... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/olimex_esp32_evb_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,049 |
```unknown
config BOARD_OLIMEX_STM32_H407
select SOC_STM32F407XG
``` | /content/code_sandbox/boards/olimex/stm32_h407/Kconfig.olimex_stm32_h407 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```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/olimex/stm32_h407/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 = "Olimex STM32-H407 board";
compatible = "olimex,stm32-h407";
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &usart2;
ze... | /content/code_sandbox/boards/olimex/stm32_h407/olimex_stm32_h407.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 658 |
```yaml
board:
name: olimex_stm32_h407
vendor: olimex
socs:
- name: stm32f407xx
``` | /content/code_sandbox/boards/olimex/stm32_h407/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```yaml
identifier: olimex_stm32_h407
name: OLIMEX-STM32-H407
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 128
flash: 1024
supported:
- counter
vendor: olimex
``` | /content/code_sandbox/boards/olimex/stm32_h407/olimex_stm32_h407.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
CONFIG_SERIAL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/olimex/stm32_h407/olimex_stm32_h407_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```ini
source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg]
set WORKAREASIZE 0x10000
transport select jtag
source [find target/stm32f4x.cfg]
adapter speed 1000
adapter srst delay 100
jtag_ntrst_delay 100
reset_config srst_only srst_nogate
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halt... | /content/code_sandbox/boards/olimex/stm32_h407/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 136 |
```restructuredtext
.. _olimex_esp32_evb:
Olimex ESP32-EVB
################
Overview
********
The Olimex ESP32-EVB is an OSHW certified, open-source IoT board based on the
Espressif ESP32-WROOM-32E/UE module. It has a wired 100Mbit/s Ethernet Interface,
Bluetooth LE, WiFi, infrared remote control, and CAN connectivi... | /content/code_sandbox/boards/olimex/olimex_esp32_evb/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,029 |
```restructuredtext
.. _boards-waveshare:
Waveshare Electronics
#####################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/waveshare/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```unknown
config BOARD_ESP32S3_TOUCH_LCD_1_28
select SOC_ESP32S3_R2
``` | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/Kconfig.esp32s3_touch_lcd_1_28 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 26 |
```cmake
if(NOT "${OPENOCD}" MATCHES "^${ESPRESSIF_TOOLCHAIN_PATH}/.*")
set(OPENOCD OPENOCD-NOTFOUND)
endif()
find_program(OPENOCD openocd PATHS ${ESPRESSIF_TOOLCHAIN_PATH}/openocd-esp32/bin NO_DEFAULT_PATH)
include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cm... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```yaml
identifier: esp32s3_touch_lcd_1_28/esp32s3/appcpu
name: ESP32-S3-Touch-LCD-1.28 APPCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- uart
testing:
ignore_tags:
- net
- bluetooth
- flash
- cpp
- posix
- watchdog
- logging
- kernel
- pm
- gpio
- crypto
... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 144 |
```unknown
/*
*/
#include <dt-bindings/pinctrl/esp32s3-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
#include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h>
&pinctrl {
i2c1_default: i2c1_default {
group1 {
pinmux = <I2C1_SDA_GPIO6>, <I2C1_SCL_GPIO7>;
bias-pull-up;
drive-open-... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 323 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_GPIO=y
CONFIG_REGULATOR=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_CLOCK_CONTROL=y
CONFIG_INPUT=y
CONFIG_INPUT_CST816S_INTERRUPT=n
``` | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 50 |
```yaml
identifier: esp32s3_touch_lcd_1_28/esp32s3/procpu
name: ESP32-S3-Touch-LCD-1.28 PROCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- gpio
- i2c
- spi
- watchdog
- regulator
- uart
- pwm
- pinmux
- nvs
- display
testing:
ignore_tags:
- net
- bluetooth
vendor: waveshare
... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 123 |
```unknown
/*
*/
/dts-v1/;
#include <espressif/esp32s3/esp32s3_r2.dtsi>
#include "esp32s3_touch_lcd_1_28-pinctrl.dtsi"
#include <zephyr/dt-bindings/display/panel.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
/ {
model = "ESP32-S3-Touch-LCD-1.28 PROCPU";
compatib... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,288 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CLOCK_CONTROL=y
CONFIG_MINIMAL_LIBC=y
``` | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```yaml
board:
name: esp32s3_touch_lcd_1_28
vendor: waveshare
socs:
- name: esp32s3
``` | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
if BOARD_ESP32S3_TOUCH_LCD_1_28_ESP32S3_PROCPU
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 65535 if WIFI && BT
default 51200 if WIFI
default 40960 if BT
default 4096
endif # BOARD_ESP32S3_TOUCH_LCD_1_28_ESP32S3_PROCPU
if BOARD_ESP32S3_TOUCH_LCD_1_28_ESP32S3_APPCPU
config HEAP_MEM_POOL_ADD_SIZE_... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 177 |
```unknown
config BOARD_ESP32S3_TOUCH_LCD_1_28
select SOC_ESP32S3_PROCPU if BOARD_ESP32S3_TOUCH_LCD_1_28_ESP32S3_PROCPU
select SOC_ESP32S3_APPCPU if BOARD_ESP32S3_TOUCH_LCD_1_28_ESP32S3_APPCPU
``` | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```restructuredtext
.. _olimex_stm32_h407:
OLIMEX-STM32-H407
#################
Overview
********
The OLIMEX-STM32-H407 is open source hardware and is based on
the STMicroelectronics STM32F407ZG ARM Cortex-M4 CPU.
.. figure:: img/olimex_stm32_h407.jpg
:align: center
:alt: OLIMEX-STM32-H407
OLIMEX-STM... | /content/code_sandbox/boards/olimex/stm32_h407/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,529 |
```unknown
/*
*/
/dts-v1/;
#include <espressif/esp32s3/esp32s3_appcpu.dtsi>
/ {
model = "ESP32-S3-Touch-LCD-1.28 APPCPU";
compatible = "waveshare,esp32-s3-touch-lcd-1.28";
chosen {
zephyr,sram = &sram0;
};
};
&flash0 {
status = "okay";
reg = <0x0 DT_SIZE_M(16)>;
partitions {
compatible = "fixed-partiti... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 342 |
```ini
set ESP_RTOS none
set ESP32_ONLYCPU 1
# Source the JTAG interface configuration file
source [find interface/esp_usb_jtag.cfg]
# Source the ESP32-S3 configuration file
source [find target/esp32s3.cfg]
``` | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 57 |
```cmake
board_runner_args(jlink "--device=STM32F103ZE" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/waveshare/open103z/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```restructuredtext
.. _esp32s3_touch_lcd_1_28:
Waveshare ESP32-S3-Touch-LCD-1.28
#################################
Overview
********
The ESP32-S3-Touch-LCD-1.28 is an ESP32S3 development board from Waveshare with a round LCD,
suitable to build watches or similar projects. This board integrates complete Wi-Fi and Bl... | /content/code_sandbox/boards/waveshare/esp32s3_touch_lcd_1_28/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,008 |
```unknown
config BOARD_WAVESHARE_OPEN103Z
select SOC_STM32F103XE
``` | /content/code_sandbox/boards/waveshare/open103z/Kconfig.waveshare_open103z | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```yaml
board:
name: waveshare_open103z
vendor: waveshare
socs:
- name: stm32f103xe
``` | /content/code_sandbox/boards/waveshare/open103z/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# enable clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/waveshare/open103z/waveshare_open103z_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 51 |
```yaml
identifier: waveshare_open103z
name: Waveshare Open103Z
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 64
flash: 512
supported:
- gpio
- spi
- i2c
- pwm
- watchdog
- adc
- usb_device
vendor: waveshare
``` | /content/code_sandbox/boards/waveshare/open103z/waveshare_open103z.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 99 |
```ini
source [find interface/stlink.cfg]
# Work-area size (RAM size) = 64KB
set WORKAREASIZE 0x10000
source [find target/stm32f1x.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -ev... | /content/code_sandbox/boards/waveshare/open103z/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f1/stm32f103Xe.dtsi>
#include <st/f1/stm32f103z(c-d-e)tx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Waveshare Open103Z";
compatible = "waveshare,open103z";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zeph... | /content/code_sandbox/boards/waveshare/open103z/waveshare_open103z.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,452 |
```cmake
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/waveshare/nrf51_ble400/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```yaml
identifier: nrf51_ble400
name: BLE400
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 32
supported:
- ble
- gpio
- i2c
testing:
ignore_tags:
- net
vendor: waveshare
``` | /content/code_sandbox/boards/waveshare/nrf51_ble400/nrf51_ble400.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```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/waveshare/nrf51_ble400/nrf51_ble400_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# nRF51 BLE400 board configuration
config BOARD_NRF51_BLE400
select SOC_NRF51822_QFAC
``` | /content/code_sandbox/boards/waveshare/nrf51_ble400/Kconfig.nrf51_ble400 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 28 |
```restructuredtext
.. _waveshare_open103z_board:
Waveshare Open103Z
##################
Overview
********
The Waveshare Open103Z-64 is a development board equipped with STM32F103ZE MCU.
.. image:: img/waveshare_open103z.jpg
Hardware
********
The Waveshare Open103Z provides the following hardware components:
.. i... | /content/code_sandbox/boards/waveshare/open103z/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 528 |
```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/waveshare/nrf51_ble400/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_ble400
vendor: waveshare
socs:
- name: nrf51822
``` | /content/code_sandbox/boards/waveshare/nrf51_ble400/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
/*
*/
&pinctrl {
i2c0_default: i2c0_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 0)>,
<NRF_PSEL(TWIM_SCL, 0, 1)>;
};
};
i2c0_sleep: i2c0_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 0)>,
<NRF_PSEL(TWIM_SCL, 0, 1)>;
low-power-enable;
};
};
spi1_default: spi1_default {... | /content/code_sandbox/boards/waveshare/nrf51_ble400/nrf51_ble400-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 482 |
```unknown
# nRF51 BLE400 board configuration
if BOARD_NRF51_BLE400
config BT_CTLR
default BT
endif # BOARD_NRF51_BLE400
``` | /content/code_sandbox/boards/waveshare/nrf51_ble400/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf51822_qfac.dtsi>
#include "nrf51_ble400-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Waveshare BLE400";
compatible = "waveshare,BLE400";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,bt-mon-uart =... | /content/code_sandbox/boards/waveshare/nrf51_ble400/nrf51_ble400.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 780 |
```restructuredtext
.. _boards-dragino:
Dragino
#######
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/dragino/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=STM32L072CZ" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/dragino/lsn50/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
config BOARD_DRAGINO_LSN50
select SOC_STM32L072XX
``` | /content/code_sandbox/boards/dragino/lsn50/Kconfig.dragino_lsn50 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```yaml
board:
name: dragino_lsn50
vendor: dragino
socs:
- name: stm32l072xx
``` | /content/code_sandbox/boards/dragino/lsn50/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# GPIO Controller
CONFIG_GPIO=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/dragino/lsn50/dragino_lsn50_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/l0/stm32l072Xz.dtsi>
#include <st/l0/stm32l072c(b-z)tx-pinctrl.dtsi>
/ {
model = "Dragino LSN50 LoRA Sensor Node";
compatible = "vendor,dragino";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
};... | /content/code_sandbox/boards/dragino/lsn50/dragino_lsn50.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 311 |
```yaml
identifier: dragino_lsn50
name: Dragino LSN50 LoRA Sensor Node
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 20
flash: 192
testing:
ignore_tags:
- net
``` | /content/code_sandbox/boards/dragino/lsn50/dragino_lsn50.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```restructuredtext
.. _nrf51_ble400:
Waveshare BLE400
#################
Overview
********
BLE400 is a motherboard designed for BLE Bluetooth 2.4G Wireless Module. Used together with core board -- Core51822.
Supported Features
==================
Motherboard
------------
- Onboard battery holder, multi power suppl... | /content/code_sandbox/boards/waveshare/nrf51_ble400/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,438 |
```ini
source [find interface/stlink.cfg]
transport select hla_swd
set WORKAREASIZE 0x2000
source [find target/stm32l0_dual_bank.cfg]
# There is only system reset line and JTAG/SWD command can be issued when SRST
reset_config srst_only
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: ha... | /content/code_sandbox/boards/dragino/lsn50/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 123 |
```cmake
board_runner_args(jlink "--device=STM32L072CZ" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/dragino/nbsn95/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# GPIO Controller
CONFIG_GPIO=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/dragino/nbsn95/dragino_nbsn95_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/l0/stm32l072Xz.dtsi>
#include <st/l0/stm32l072c(b-z)tx-pinctrl.dtsi>
/ {
model = "Dragino NBSN95 NB-IoT Sensor Node";
compatible = "vendor,dragino";
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &usart2;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};... | /content/code_sandbox/boards/dragino/nbsn95/dragino_nbsn95.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 375 |
```unknown
config BOARD_DRAGINO_NBSN95
select SOC_STM32L072XX
``` | /content/code_sandbox/boards/dragino/nbsn95/Kconfig.dragino_nbsn95 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```yaml
board:
name: dragino_nbsn95
vendor: dragino
socs:
- name: stm32l072xx
``` | /content/code_sandbox/boards/dragino/nbsn95/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```yaml
identifier: dragino_nbsn95
name: Dragino NBSN95 NB-IoT Sensor Node
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 20
flash: 192
testing:
ignore_tags:
- net
``` | /content/code_sandbox/boards/dragino/nbsn95/dragino_nbsn95.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 75 |
```ini
#
source [find interface/stlink.cfg]
transport select hla_swd
set WORKAREASIZE 0x2000
source [find target/stm32l0_dual_bank.cfg]
# There is only system reset line and JTAG/SWD command can be issued when SRST
reset_config srst_only
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching:... | /content/code_sandbox/boards/dragino/nbsn95/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 124 |
```restructuredtext
.. _dragino_lsn50_board:
Dragino LSN50 LoRA Sensor Node
##############################
Overview
********
The Dragino LSN50 LoRA Sensor Node for IoT allows users to develop
applications with LoraWAN connectivity via the HopeRF / SX1276/SX1278.
Dragino LSN50 enables a wide diversity of applications... | /content/code_sandbox/boards/dragino/lsn50/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,453 |
```restructuredtext
.. _boards-aconno:
Aconno
######
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/aconno/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```cmake
board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/aconno/acn52832/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```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/aconno/acn52832/acn52832_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 42 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52832_qfaa.dtsi>
#include "acn52832-pinctrl.dtsi"
/ {
model = "Aconno ACN52832 Module";
compatible = "aconno,acn52832";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
zephyr,sram =... | /content/code_sandbox/boards/aconno/acn52832/acn52832.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 595 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.