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
/*
*
*/
/dts-v1/;
#include <espressif/esp32c3/esp32c3_fx4.dtsi>
#include "stamp_c3-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "M5Stack STAMP-C3";
compatible = "m5stack,stamp_c3";
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = ... | /content/code_sandbox/boards/m5stack/stamp_c3/stamp_c3.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 807 |
```ini
set ESP_RTOS none
source [find interface/esp_usb_jtag.cfg]
source [find target/esp32c3.cfg]
adapter speed 5000
``` | /content/code_sandbox/boards/m5stack/stamp_c3/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```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/m5stack/m5stack_core2/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```restructuredtext
.. _stamp_c3:
M5Stack STAMP-C3
##################
Overview
********
STAMP-C3 featuring ESPRESSIF ESP32-C3 RISC-V MCU with Wi-Fi connectivity
for IoT edge devices such as home appliances and Industrial Automation.
For more details see the `M5Stack STAMP-C3`_ page.
Supported Features
============... | /content/code_sandbox/boards/m5stack/stamp_c3/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,429 |
```unknown
# M5Stack Core2 board configuration
config BOARD_M5STACK_CORE2
select SOC_ESP32_D0WD_V3
select SOC_ESP32_PROCPU if BOARD_M5STACK_CORE2_ESP32_PROCPU
select SOC_ESP32_APPCPU if BOARD_M5STACK_CORE2_ESP32_APPCPU
``` | /content/code_sandbox/boards/m5stack/m5stack_core2/Kconfig.m5stack_core2 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ESP_HEAP_MEM_POOL_REGION_1_SIZE=0
CONFIG_GPIO=y
CONFIG_REGULATOR=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
# for debugging
CONFIG_SHELL=y
``` | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2_procpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 54 |
```yaml
board:
name: m5stack_core2
vendor: m5stack
socs:
- name: esp32
``` | /content/code_sandbox/boards/m5stack/m5stack_core2/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*/
/ {
m5stack_mbus_header: m5stack_mbus_connector {
compatible = "m5stack,mbus-header";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = /* 0 GND */
<1 0 &gpio1 4 0>, /* ADC0 */
/* 2 GND */
<3 0 &gpio1 5 0>, /* ADC1 */
... | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_mbus_connectors.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 575 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_d0wd_v3.dtsi>
#include "m5stack_core2-pinctrl.dtsi"
#include "grove_connectors.dtsi"
#include "m5stack_mbus_connectors.dtsi"
#include <zephyr/dt-bindings/display/ili9xxx.h>
#include <zephyr/dt-bindings/regulator/axp192.h>
/ {
model = "M5Stack Core2 PROCP... | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,018 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```yaml
identifier: m5stack_core2/esp32/procpu
name: M5Stack Core2 PROCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- gpio
- i2c
- spi
- watchdog
- regulator
- uart
- pinmux
- nvs
testing:
ignore_tags:
- net
- bluetooth
vendor: m5stack
``` | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```unknown
/*
*/
/ {
grove_header: grove_header {
compatible = "grove-header";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpio1 1 0>, /* D0/SCL/RX */
<1 0 &gpio1 0 0>; /* D1/SDA/TX */
};
};
grove_i2c: &i2c1 {};
grove_uart: &uart1 ... | /content/code_sandbox/boards/m5stack/m5stack_core2/grove_connectors.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 133 |
```unknown
# M5Stack Core2 board configuration
if BOARD_M5STACK_CORE2_ESP32_PROCPU
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 65535 if WIFI && BT
default 51200 if WIFI
default 65536 if BT
default 4096
config KERNEL_MEM_POOL
default y
config GPIO_HOGS_INIT_PRIORITY
default 70
config MFD_INIT_PRIORITY
d... | /content/code_sandbox/boards/m5stack/m5stack_core2/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 258 |
```yaml
identifier: m5stack_core2/esp32/appcpu
name: M5Stack Core2 APPCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- uart
testing:
ignore_tags:
- net
- bluetooth
- flash
- cpp
- posix
- watchdog
- logging
- kernel
- pm
- gpio
- crypto
- eeprom
- hea... | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```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_tx_gpio1: uart0_tx_gpio1 {
pinmux = <UART0_TX_GPIO1>;
};
uart0_rx_gpio3: uart0_rx_gpio3 {
pinmux = <UART0_R... | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 419 |
```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/m5stack/m5stack_core2/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_appcpu.dtsi>
/ {
model = "M5Stack Core2 APPCPU";
compatible = "espressif,esp32";
chosen {
zephyr,sram = &sram0;
zephyr,ipc_shm = &shm0;
zephyr,ipc = &ipm0;
};
};
&ipm0 {
status = "okay";
};
&trng0 {
status = "okay";
};
&flash0 {
status = ... | /content/code_sandbox/boards/m5stack/m5stack_core2/m5stack_core2_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 403 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```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 =... | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 381 |
```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/m5stack/m5stack_atom_lite/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 129 |
```yaml
identifier: m5stack_atom_lite/esp32/procpu
name: M5Stack ATOM Lite
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- gpio
- i2c
- spi
- watchdog
- uart
- pinmux
- nvs
testing:
ignore_tags:
- net
- bluetooth
vendor: m5stack
``` | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```unknown
# M5Stack Atom Lite board configuration
config BOARD_M5STACK_ATOM_LITE
select SOC_ESP32_PICO_D4
select SOC_ESP32_PROCPU if BOARD_M5STACK_ATOM_LITE_ESP32_PROCPU
select SOC_ESP32_APPCPU if BOARD_M5STACK_ATOM_LITE_ESP32_APPCPU
``` | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/Kconfig.m5stack_atom_lite | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```yaml
identifier: m5stack_atom_lite/esp32/appcpu
name: M5Stack ATOM Lite
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- uart
testing:
ignore_tags:
- net
- bluetooth
- flash
- cpp
- posix
- watchdog
- logging
- kernel
- pm
- gpio
- crypto
- eeprom
- he... | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 129 |
```yaml
board:
name: m5stack_atom_lite
vendor: m5stack
socs:
- name: esp32
``` | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_appcpu.dtsi>
/ {
model = "M5Stack Atom Lite APPCPU";
compatible = "espressif,esp32";
chosen {
zephyr,sram = &sram0;
zephyr,ipc_shm = &shm0;
zephyr,ipc = &ipm0;
};
};
&ipm0 {
status = "okay";
};
&trng0 {
status = "okay";
};
&flash0 {
statu... | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 403 |
```unknown
# M5Stack ATOM Lite board configuration
if BOARD_M5STACK_ATOM_LITE_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_M5STACK_ATOM_LITE_ESP32_PROCPU
if BOARD_M5STACK_ATOM_LITE_ESP32_APPCPU
config HEAP... | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 119 |
```restructuredtext
.. _m5stack_core2:
M5Stack Core2
#############
Overview
********
M5Stack Core2 is an ESP32-based development board from M5Stack. It is the successor for the Core module.
M5Stack Core2 features the following integrated components:
- ESP32-D0WDQ6-V3 chip (240MHz dual core, 600 DMIPS, 520KB SRAM, ... | /content/code_sandbox/boards/m5stack/m5stack_core2/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,060 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_GPIO=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite_procpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 27 |
```unknown
/*
*/
/ {
grove_header: grove_header {
compatible = "grove-header";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpio0 26 0>,
<1 0 &gpio1 0 0>;
};
};
grove_i2c1: &i2c1 {};
``` | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/grove_connectors.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_pico_d4.dtsi>
#include "m5stack_atom_lite-pinctrl.dtsi"
#include "grove_connectors.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/led/led.h>
#include <zephyr/dt-bindings/led/worldsemi_ws2812c.h>
/ {
model = "M5... | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/m5stack_atom_lite_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,170 |
```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/m5stack/m5stack_atoms3_lite/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```restructuredtext
.. _m5stack_atom_lite:
M5Stack ATOM Lite
#################
Overview
********
M5Stack ATOM Lite is an ESP32-based development board from M5Stack.
It features the following integrated components:
- ESP32-PICO-D4 chip (240MHz dual core, Wi-Fi/BLE 5.0)
- 520KB SRAM
- SK6812 RGB LED
- Infrared LED
-... | /content/code_sandbox/boards/m5stack/m5stack_atom_lite/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 947 |
```yaml
identifier: m5stack_atoms3_lite/esp32s3/appcpu
name: M5Stack AtomS3-Lite APPCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- uart
testing:
ignore_tags:
- net
- bluetooth
- flash
- cpp
- posix
- watchdog
- logging
- kernel
- pm
- gpio
- crypto
- ee... | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 136 |
```yaml
identifier: m5stack_atoms3_lite/esp32s3/procpu
name: M5Stack AtomS3-Lite PROCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- gpio
- uart
- i2c
- spi
- counter
- watchdog
- entropy
- pwm
- pinmux
- nvs
- dma
testing:
ignore_tags:
- net
- bluetooth
vendor: m5stack
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 119 |
```unknown
choice BOOTLOADER
default BOOTLOADER_MCUBOOT
endchoice
choice BOOT_SIGNATURE_TYPE
default BOOT_SIGNATURE_TYPE_NONE
endchoice
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/Kconfig.sysbuild | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# M5Stack AtomS3 Lite board configuration
config BOARD_M5STACK_ATOMS3_LITE
select SOC_ESP32S3_FN8
select SOC_ESP32S3_PROCPU if BOARD_M5STACK_ATOMS3_LITE_ESP32S3_PROCPU
select SOC_ESP32S3_APPCPU if BOARD_M5STACK_ATOMS3_LITE_ESP32S3_APPCPU
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/Kconfig.m5stack_atoms3_lite | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 87 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32s3/esp32s3_fn8.dtsi>
#include "m5stack_atoms3_lite-pinctrl.dtsi"
#include <dt-bindings/led/led.h>
#include <dt-bindings/led/worldsemi_ws2812c.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "M5Stack AtomS3 Lite PROCPU";
compatible = "m5s... | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 935 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_GPIO=y
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite_procpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
#include <dt-bindings/pinctrl/esp32s3-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h>
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <UART0_TX_GPIO43>;
output-high;
};
group2 {
pinm... | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 298 |
```yaml
board:
name: m5stack_atoms3_lite
vendor: m5stack
socs:
- name: esp32s3
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
# M5Stack AtomS3 Lite board configuration
if BOARD_M5STACK_ATOMS3_LITE_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
config KERNEL_MEM_POOL
default y
endif # BOARD_M5STACK_ATOMS3_LITE_ESP32S3_PROCPU
if BOAR... | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 144 |
```unknown
/*
*/
/ {
grove_header: grove_header {
compatible = "grove-header";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpio0 1 0>,
<1 0 &gpio0 2 0>;
};
};
grove_i2c1: &i2c1 {};
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/grove_connectors.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32s3/esp32s3_appcpu.dtsi>
/ {
model = "M5Stack AtomS3 Lite APPCPU";
compatible = "espressif,esp32s3";
chosen {
zephyr,sram = &sram0;
zephyr,ipc_shm = &shm0;
zephyr,ipc = &ipm0;
};
};
&trng0 {
status = "okay";
};
&ipm0 {
status = "okay";
};
&flash0 {... | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/m5stack_atoms3_lite_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 409 |
```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/m5stack/m5stack_atoms3/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
#include <dt-bindings/pinctrl/esp32s3-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h>
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <UART0_TX_GPIO43>;
output-high;
};
group2 {
... | /content/code_sandbox/boards/m5stack/m5stack_atoms3/m5stack_atoms3-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 326 |
```yaml
identifier: m5stack_atoms3/esp32s3/procpu
name: M5Stack AtomS3 PROCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- gpio
- i2c
- spi
- watchdog
- regulator
- uart
- pinmux
- nvs
- display
testing:
ignore_tags:
- net
- bluetooth
vendor: m5stack
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/m5stack_atoms3_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 108 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/m5stack_atoms3_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_GPIO=y
CONFIG_REGULATOR=y # for LCD backlight
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/m5stack_atoms3_procpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```unknown
choice BOOTLOADER
default BOOTLOADER_MCUBOOT
endchoice
choice BOOT_SIGNATURE_TYPE
default BOOT_SIGNATURE_TYPE_NONE
endchoice
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/Kconfig.sysbuild | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```restructuredtext
.. _m5stack_atoms3_lite:
M5Stack AtomS3 Lite
###################
Overview
********
M5Stack AtomS3 Lite is an ESP32-based development board from M5Stack.
It features the following integrated components:
- ESP32-S3FN8 chip (240MHz dual core, Wi-Fi/BLE 5.0)
- 512KB of SRAM
- 384KB of ROM
- 8MB of ... | /content/code_sandbox/boards/m5stack/m5stack_atoms3_lite/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 946 |
```yaml
identifier: m5stack_atoms3/esp32s3/appcpu
name: M5Stack AtomS3 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/m5stack/m5stack_atoms3/m5stack_atoms3_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 133 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32s3/esp32s3_appcpu.dtsi>
/ {
model = "M5Stack AtomS3 APPCPU";
compatible = "espressif,esp32s3";
chosen {
zephyr,sram = &sram0;
zephyr,ipc_shm = &shm0;
zephyr,ipc = &ipm0;
};
};
&trng0 {
status = "okay";
};
&ipm0 {
status = "okay";
};
&flash0 {
sta... | /content/code_sandbox/boards/m5stack/m5stack_atoms3/m5stack_atoms3_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 408 |
```yaml
board:
name: m5stack_atoms3
vendor: m5stack
socs:
- name: esp32s3
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# M5Stack AtomS3 board configuration
if BOARD_M5STACK_ATOMS3_ESP32S3_PROCPU
config LV_COLOR_16_SWAP
default y if LVGL
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_M5STACK_ATOMS3_ESP32S3_PROCPU
if BOARD_M5ST... | /content/code_sandbox/boards/m5stack/m5stack_atoms3/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 140 |
```unknown
# M5Stack AtomS3 board configuration
config BOARD_M5STACK_ATOMS3
select SOC_ESP32S3_FN8
select SOC_ESP32S3_PROCPU if BOARD_M5STACK_ATOMS3_ESP32S3_PROCPU
select SOC_ESP32S3_APPCPU if BOARD_M5STACK_ATOMS3_ESP32S3_APPCPU
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/Kconfig.m5stack_atoms3 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```unknown
/*
*/
/ {
grove_header: grove_header {
compatible = "grove-header";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpio0 1 0>,
<1 0 &gpio0 2 0>;
};
};
grove_i2c1: &i2c1 {};
``` | /content/code_sandbox/boards/m5stack/m5stack_atoms3/grove_connectors.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32s3/esp32s3_fn8.dtsi>
#include "m5stack_atoms3-pinctrl.dtsi"
#include "grove_connectors.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
/ {
model = "M5Stack AtomS3 PROCPU";
compatible = "m5stack,at... | /content/code_sandbox/boards/m5stack/m5stack_atoms3/m5stack_atoms3_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,323 |
```restructuredtext
.. _boards-andes:
Andes Technology
################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/andestech/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```yaml
identifier: adp_xc7k/ae350
name: Andes ADP-XC7K AE350
type: mcu
arch: riscv
toolchain:
- zephyr
- cross-compile
ram: 512
supported:
- gpio
- counter
- i2c
- spi
- eeprom
- watchdog
- mbox
- flash
- dma
- led
- syscon
- hwinfo
testing:
ignore_tags:
- bluetooth
vendor: andestech
... | /content/code_sandbox/boards/andestech/adp_xc7k_ae350/adp_xc7k_ae350.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 128 |
```unknown
config BOARD_ADP_XC7K
select SOC_ANDES_AE350 if BOARD_ADP_XC7K_AE350
``` | /content/code_sandbox/boards/andestech/adp_xc7k_ae350/Kconfig.adp_xc7k | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```yaml
board:
name: adp_xc7k
vendor: andestech
socs:
- name: ae350
``` | /content/code_sandbox/boards/andestech/adp_xc7k_ae350/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```restructuredtext
.. _m5stack_atoms3:
M5Stack AtomS3
##############
Overview
********
M5Stack AtomS3 is an ESP32-based development board from M5Stack.
It features the following integrated components:
- ESP32-S3FN8 chip (240MHz dual core, Wi-Fi/BLE 5.0)
- 512KB of SRAM
- 384KB of ROM
- 8MB of Flash
- LCD IPS TFT ... | /content/code_sandbox/boards/m5stack/m5stack_atoms3/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 962 |
```unknown
CONFIG_XIP=n
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Serial driver options
CONFIG_SERIAL=y
# GPIO driver options
CONFIG_GPIO=y
# Syscon driver options
CONFIG_SYSCON=y
# hwinfo driver options
CONFIG_HWINFO=y
CONFIG_HWINFO_ANDES=y
# RV64 options
#CONFIG_RV64I_CPU=y
# FPU (single precision) options
#CONF... | /content/code_sandbox/boards/andestech/adp_xc7k_ae350/adp_xc7k_ae350_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 246 |
```unknown
/*
*
*/
/dts-v1/;
#include <andes/andes_v5_ae350.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Andes ADP-XC7K AE350";
compatible = "andestech,adp_xc7k_ae350";
aliases {
gpio-0 = &gpio0;
counter-0 = &pit0;
i2c-0 = &i2c0;
led0 = &seg7_led1_g;
led1 = &seg7_led2_g;... | /content/code_sandbox/boards/andestech/adp_xc7k_ae350/adp_xc7k_ae350.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,629 |
```restructuredtext
.. _boards-sparkfun-electronics:
SparkFun Electronics
####################
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/sparkfun/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=EFR32MG24BxxxF1536")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
# EFR32XG24 MGM240P board
config BOARD_SPARKFUN_THING_PLUS_MATTER_MGM240P
select SOC_PART_NUMBER_EFR32MG24B020F1536IM40
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/Kconfig.sparkfun_thing_plus_matter_mgm240p | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <dt-bindings/pinctrl/gecko-pinctrl.h>
&pinctrl {
/* configuration for uart0 device, default state */
usart0_default: usart0_default {
group1 {
/* configure PA.6 as UART_RX and PA.5 as UART_TX */
psels = <GECKO_PSEL(UART_TX... | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 235 |
```unknown
/*
*
*/
/dts-v1/;
#include <silabs/efr32mg24b020f1536im40.dtsi>
#include "sparkfun_thing_plus_matter_mgm240p-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Sparkfun MGM240P (Sparkfun Thing Plus Matter)";
compatible = "sparkfun,sparkfun_thing_plus_mgm240p", "silabs,... | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 810 |
```yaml
identifier: sparkfun_thing_plus_matter_mgm240p
name: MGM240P
type: mcu
arch: arm
ram: 256
flash: 1536
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- counter
- gpio
- uart
- spi
- watchdog
testing:
ignore_tags:
- net
- bluetooth
- pm
- hwinfo
vendor: sparkfun
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 112 |
```cmake
# SPI is implemented via usart so node name isn't spi@...
list(APPEND EXTRA_DTC_FLAGS "-Wno-spi_bus_bridge")
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```restructuredtext
.. _adp_xc7k_ae350:
Andes ADP-XC7K AE350
####################
Overview
********
ADP-XC7K AE350 board is for AndeShape AE350 platform on ADP-XC7K series
FPGA-based development boards.
ADP-XC7K series are FPGA-based development and prototyping boards for evaluation of
variety of AndesCore processo... | /content/code_sandbox/boards/andestech/adp_xc7k_ae350/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,683 |
```c
/*
*
*/
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
#include <zephyr/logging/log.h>
#ifdef CONFIG_SOC_GECKO_DEV_INIT
#include "em_cmu.h"
#endif
LOG_MODULE_REGISTER(sparkfun_thing_plus_mgm240p,
CONFIG_BOARD_SPARKFUN_THING_PLUS_MATTER_MGM240P_LOG_LEVEL);
static int ... | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/board.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 562 |
```yaml
board:
name: sparkfun_thing_plus_matter_mgm240p
vendor: sparkfun
socs:
- name: efr32mg24b020f1536im40
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
# SPARKFUN THING PLUS MGM240P board
module = BOARD_SPARKFUN_THING_PLUS_MATTER_MGM240P
module-str = Board Control
source "subsys/logging/Kconfig.template.log_config"
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# SPARKFUN THING PLUS MGM240P board
if BOARD_SPARKFUN_THING_PLUS_MATTER_MGM240P
config CMU_HFXO_FREQ
default 40000000
config CMU_LFXO_FREQ
default 32768
config FLASH_BASE_ADDRESS
hex
default 0x08000000
if SOC_GECKO_USE_RAIL
config FPU
default y
endif # SOC_GECKO_USE_RAIL
if BT
config FPU
defa... | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 170 |
```yaml
description: GPIO Wake Up Trigger for EFR32MG24
compatible: "silabs,gecko-wake-up-trigger"
include: base.yaml
properties:
gpios:
type: phandle-array
required: true
description: |
GPIO used as wake up trigger from EM4 sleep
``` | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/dts/bindings/silabs,gecko-wake-up-trigger.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```unknown
CONFIG_ARM_MPU=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_GPIO=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=76800000
CONFIG_CMU_HFCLK_HFXO=y
CONFIG_SOC_GECKO_EMU_DCDC=y
CONFIG_SOC_GECKO_EMU_DCDC_MODE_ON=y
CONFIG_CMU_HFCLK_LFXO=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_PINC... | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 111 |
```yaml
identifier: sparkfun_red_v_things_plus
name: SparkFun RED-V Things Plus
type: mcu
arch: riscv
toolchain:
- zephyr
ram: 16
testing:
ignore_tags:
- net
- bluetooth
supported:
- uart
- gpio
- i2c
- spi
- pwm
- watchdog
vendor: sparkfun
``` | /content/code_sandbox/boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 92 |
```cmake
board_runner_args(jlink "--device=FE310")
board_runner_args(jlink "--iface=JTAG")
board_runner_args(jlink "--speed=4000")
board_runner_args(jlink "--tool-opt=-jtagconf -1,-1")
board_runner_args(jlink "--tool-opt=-autoconnect 1")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/sparkfun/red_v_things_plus/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```unknown
config BOARD_SPARKFUN_RED_V_THINGS_PLUS
select SOC_SIFIVE_FREEDOM_FE310
``` | /content/code_sandbox/boards/sparkfun/red_v_things_plus/Kconfig.sparkfun_red_v_things_plus | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 24 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/sifive-pinctrl.h>
&pinctrl {
/* UART0 */
uart0_rx_default: uart0_rx_default {
pinmux = <16 SIFIVE_PINMUX_IOF0>;
};
uart0_tx_default: uart0_tx_default {
pinmux = <17 SIFIVE_PINMUX_IOF0>;
};
/* SPI1 */
spi1_cs0_default: spi1_cs0_default {
pinmux = ... | /content/code_sandbox/boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 745 |
```restructuredtext
.. _sparkfun_thing_plus_mgm240p:
SPARKFUN THING PLUS MATTER
###########################
Overview
********
The MGM240P Mighty Sparkfun Think Plus Matter contains
a Wireless System-On-Chip from the EFR32MG24 family built on an
ARM Cortex-M33F processor with excellent low power capabilities.
.. fig... | /content/code_sandbox/boards/sparkfun/thing_plus_matter_mgm240p/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,215 |
```yaml
board:
name: sparkfun_red_v_things_plus
vendor: sparkfun
socs:
- name: fe310
``` | /content/code_sandbox/boards/sparkfun/red_v_things_plus/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```unknown
CONFIG_GPIO=y
CONFIG_PINCTRL=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_SIFIVE_PORT_0=y
CONFIG_UART_CONSOLE=y
``` | /content/code_sandbox/boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
if BOARD_SPARKFUN_RED_V_THINGS_PLUS
config SYS_CLOCK_TICKS_PER_SEC
default 128
config HAS_FLASH_LOAD_OFFSET
default y
config FLASH_LOAD_OFFSET
default 0x0
config FLASH_BASE_ADDRESS
default $(dt_node_reg_addr_hex,/soc/spi@10014000,1)
endif # BOARD_SPARKFUN_RED_V_THINGS_PLUS
``` | /content/code_sandbox/boards/sparkfun/red_v_things_plus/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```unknown
/dts-v1/;
#include <sifive/riscv32-fe310.dtsi>
#include "sparkfun_red_v_things_plus-pinctrl.dtsi"
/ {
model = "SparkFun RED-V Things Plus";
compatible = "sparkfun,red-v_things_plus";
aliases {
led0 = &led0;
watchdog0 = &wdog0;
};
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;... | /content/code_sandbox/boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 473 |
```cmake
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)... | /content/code_sandbox/boards/sparkfun/micromod/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 113 |
```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/sparkfun/micromod/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```restructuredtext
.. _sparkfun_red_v_things_plus:
SparkFun RED-V Things Plus
##########################
Overview
********
The SparkFun RED-V Things Plus is a development board with
a SiFive FE310-G002 RISC-V SoC.
.. image:: img/sparkfun_red_v_things_plus.jpg
:align: center
:alt: SparkFun RED-V Things Plus b... | /content/code_sandbox/boards/sparkfun/red_v_things_plus/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 423 |
```yaml
board:
name: micromod
vendor: sparkfun
socs:
- name: nrf52840
``` | /content/code_sandbox/boards/sparkfun/micromod/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 29 |
```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 console
CONFIG_CONSOLE=y
# Enable UART
CONFIG_SERIAL=y
``` | /content/code_sandbox/boards/sparkfun/micromod/micromod_nrf52840_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```unknown
# Sparkfun micromod board configuration
if BOARD_MICROMOD_NRF52840
config BT_CTLR
default BT
endif # BOARD_MICROMOD_NRF52840
``` | /content/code_sandbox/boards/sparkfun/micromod/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 39 |
```unknown
/*
*
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 3)>,
<NRF_PSEL(UART_RX, 1, 10)>,
<NRF_PSEL(UART_RTS, 1, 2)>,
<NRF_PSEL(UART_CTS, 1, 9)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 3)>,
<NRF_PSEL(UART_RX, ... | /content/code_sandbox/boards/sparkfun/micromod/micromod_nrf52840-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,029 |
```yaml
identifier: micromod/nrf52840
name: Sparkfun Micromod nRF52840 board
type: mcu
arch: arm
ram: 256
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- ble
- gpio
- spi
- qspi
- i2c
- pwm
- adc
- usb_device
- usb_cdc
- watchdog
- micromod_gpio
- micromod_uart
- microm... | /content/code_sandbox/boards/sparkfun/micromod/micromod_nrf52840.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 148 |
```unknown
config BOARD_MICROMOD
select SOC_NRF52840_QIAA if BOARD_MICROMOD_NRF52840
``` | /content/code_sandbox/boards/sparkfun/micromod/Kconfig.micromod | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 27 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "micromod_nrf52840-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Sparkfun Micrmod nRF52840 board";
compatible = "sparkfun,micromod-nrf52840";
chosen {
zephyr,console = &uart0;
zephyr,sram = &sram0... | /content/code_sandbox/boards/sparkfun/micromod/micromod_nrf52840.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,613 |
```unknown
/*
*
*/
/ {
pro_micro: connector {
compatible = "sparkfun,pro-micro";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map
= <1 0 &gpio0 0 0> /* D1 */
, <0 0 &gpio0 1 0> /* D0 */
, <2 0 &gpio0 2 0> /* D2 */
, <3 0 &gpio0 3 0> /* D3 ... | /content/code_sandbox/boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 490 |
```restructuredtext
.. _boardname_linkname:
SparkFun MicroMod board Processor
#################################
Overview
********
MicroMod is a solderless, modular interface ecosystem that uses the M.2 standard
to mix and match your choice of processor with specific Function Boards or
stand-alone Carrier Boards. A M... | /content/code_sandbox/boards/sparkfun/micromod/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,564 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.