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=STM32F746NG" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/st/stm32f746g_disco/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f7/stm32f746Xg.dtsi>
#include <st/f7/stm32f746nghx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
... | /content/code_sandbox/boards/st/stm32f746g_disco/stm32f746g_disco.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,604 |
```restructuredtext
.. _nucleo_l476rg_board:
ST Nucleo L476RG
################
Overview
********
The Nucleo L476RG board features an ARM Cortex-M4 based STM32L476RG MCU
with a wide range of connectivity support and configurations. Here are
some highlights of the Nucleo L476RG board:
- STM32 microcontroller in QFP6... | /content/code_sandbox/boards/st/nucleo_l476rg/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,119 |
```yaml
board:
name: stm32f746g_disco
vendor: st
socs:
- name: stm32f746xx
``` | /content/code_sandbox/boards/st/stm32f746g_disco/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```yaml
identifier: stm32f746g_disco
name: ST STM32F746G Discovery
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 256
flash: 1024
supported:
- arduino_i2c
- netif:eth
- i2c
- spi
- gpio
- pwm
- counter
- usb_device
- display
- memc
vendor: st
``` | /content/code_sandbox/boards/st/stm32f746g_disco/stm32f746g_disco.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 119 |
```unknown
# STM32F746G DISCOVERY board configuration
if BOARD_STM32F746G_DISCO
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
config INPUT
default y if LVGL
if DISPLAY
# MEMC needs to be enabled in order to store
# display buffer to external SDRAM connected to FMC
config MEMC
default y
e... | /content/code_sandbox/boards/st/stm32f746g_disco/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 134 |
```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/st/stm32f746g_disco/stm32f746g_disco_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```unknown
config BOARD_STM32F746G_DISCO
select SOC_STM32F746XX
``` | /content/code_sandbox/boards/st/stm32f746g_disco/Kconfig.stm32f746g_disco | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
<1 0 &gpiof 10 0>, /* A1 */
<2 0 &gpiof 9 0>, /* A2 */
<3 0 &gpiof 8 0>, /... | /content/code_sandbox/boards/st/stm32f746g_disco/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 498 |
```ini
source [find board/stm32f746g-disco.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
}
if { [info exists _ZEPHYR_BOARD_SERI... | /content/code_sandbox/boards/st/stm32f746g_disco/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 159 |
```unknown
config BOARD_NUCLEO_F412ZG
select SOC_STM32F412ZX
``` | /content/code_sandbox/boards/st/nucleo_f412zg/Kconfig.nucleo_f412zg | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```cmake
board_runner_args(jlink "--device=STM32F412ZG" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/st/nucleo_f412zg/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/stm32f412Xg.dtsi>
#include <st/f4/stm32f412z(e-g)tx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "STMicroelectronics STM32F412ZG-NUCLEO board";
compatible = "st,stm32f412zg-nucleo";
chosen {
... | /content/code_sandbox/boards/st/nucleo_f412zg/nucleo_f412zg.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 899 |
```yaml
board:
name: nucleo_f412zg
vendor: st
socs:
- name: stm32f412zx
``` | /content/code_sandbox/boards/st/nucleo_f412zg/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# NUCLEO-144 F412ZG board configuration
if BOARD_NUCLEO_F412ZG
if NETWORKING
config USB_DEVICE_STACK
default y
config USB_DEVICE_NETWORK_ECM
default y
endif # NETWORKING
endif # BOARD_NUCLEO_F412ZG
``` | /content/code_sandbox/boards/st/nucleo_f412zg/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 65 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
<1 0 &gpioc 0 0>, /* A1 */
<2 0 &gpioc 3 0>, /* A2 */
<3 0 &gpioc 1 0>, /*... | /content/code_sandbox/boards/st/nucleo_f412zg/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 500 |
```yaml
identifier: nucleo_f412zg
name: ST Nucleo F412ZG
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 256
flash: 1024
supported:
- arduino_i2c
- arduino_gpio
- arduino_spi
- pwm
- i2c
- spi
- gpio
- usb_device
- counter
vendor: st
``` | /content/code_sandbox/boards/st/nucleo_f412zg/nucleo_f412zg.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 115 |
```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/st/nucleo_f412zg/nucleo_f412zg_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```ini
source [find board/st_nucleo_f4.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/st/nucleo_f412zg/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```restructuredtext
.. _stm32f746g_disco_board:
ST STM32F746G Discovery
#######################
Overview
********
The discovery kit enables a wide diversity of applications taking benefit
from audio, multi-sensor support, graphics, security, security, video,
and high-speed connectivity features. Important board feat... | /content/code_sandbox/boards/st/stm32f746g_disco/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,219 |
```restructuredtext
.. _nucleo_f412zg_board:
ST Nucleo F412ZG
################
Overview
********
The Nucleo F412ZG board features an ARM Cortex-M4 based STM32F412ZG MCU
with a wide range of connectivity support and configurations. Here are
some highlights of the Nucleo F412ZG board:
- STM32 microcontroller in LQFP1... | /content/code_sandbox/boards/st/nucleo_f412zg/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,400 |
```cmake
board_runner_args(jlink "--device=STM32H745XI" "--speed=4000")
if(CONFIG_BOARD_STM32H745I_DISCO_STM32H745XX_M7)
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
elseif(CONFIG_BOARD_STM32H745I_DISCO_STM32H745XX_M4)
board_runner_args(openocd --target-handle=_CHIPNAME.cpu1)
endif()
if(CONFIG_STM32_MEMM... | /content/code_sandbox/boards/st/stm32h745i_disco/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 238 |
```unknown
# STM32H745XI DISCOVERY board configuration
config BOARD_STM32H745I_DISCO
select SOC_STM32H745XX_M7 if BOARD_STM32H745I_DISCO_STM32H745XX_M7
select SOC_STM32H745XX_M4 if BOARD_STM32H745I_DISCO_STM32H745XX_M4
``` | /content/code_sandbox/boards/st/stm32h745i_disco/Kconfig.stm32h745i_disco | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
# Enable GPIO
CONFIG_GPIO=y
# Enable clock
CONFIG_CLOCK_CONTROL=y
# By default SERIAL peripherals are assigned to m7
# Enable uart driver
#CONFIG_SERIAL=y
# Console
#CONFIG_CONSOLE=y
#CONFIG_UART_CONSOLE=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m4_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 64 |
```unknown
# Enable the internal SMPS regulator
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
# Enable UART ( disable to assign to M4 core)
CONFIG_SERIAL=y
# Console ( disable to assign to M4 core)
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
#... | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/h7/stm32h745Xi_m4.dtsi>
#include "stm32h745i_disco.dtsi"
/ {
model = "STMicroelectronics STM32H745I-DISCO board";
compatible = "st,stm32h745i-disco";
/* HW resources belonging to CM4 */
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &usart2;
zephyr,sram =... | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m4.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 211 |
```unknown
/*
*
*/
#include <st/h7/stm32h745xihx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
leds: leds {
compatible = "gpio-leds";
green_led: led_1 {
gpios = <&gpioj 2 GPIO_ACTIVE_HIGH>;
label = "User LD7";
};
red_led: led_2 {
gpi... | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 296 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/h7/stm32h745Xi_m7.dtsi>
#include "stm32h745i_disco.dtsi"
/ {
model = "STMicroelectronics STM32H745I-DISCO board";
compatible = "st,stm32h745i-disco";
/* HW resources belonging to CM7 */
chosen {
zephyr,console = &usart3;
zephyr,shell-uart = &usart3;
zephyr,dtcm =... | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,318 |
```yaml
identifier: stm32h745i_disco/stm32h745xx/m7
name: STM32H745XI Discovery (M7)
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
ram: 512
flash: 1024
supported:
- arduino_gpio
- arduino_i2c
- uart
- gpio
- counter
- i2c
- pwm
- netif:eth
- qspi
- memc
- spi
- rtc
- can
vendor: st
... | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 138 |
```yaml
board:
name: stm32h745i_disco
vendor: st
socs:
- name: stm32h745xx
``` | /content/code_sandbox/boards/st/stm32h745i_disco/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```yaml
identifier: stm32h745i_disco/stm32h745xx/m4
name: STM32H745XI Discovery (M4)
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
ram: 288
flash: 1024
supported:
- arduino_gpio
- gpio
testing:
ignore_tags:
- mpu
- nfc
vendor: st
``` | /content/code_sandbox/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m4.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 99 |
```unknown
# STM32H745XI DISCOVERY board configuration
if BOARD_STM32H745I_DISCO
if NETWORKING
config NET_L2_ETHERNET
default y
config ETH_STM32_HAL_MII
default y
endif # NETWORKING
config MEMC
default y if DISPLAY
endif # BOARD_STM32H745I_DISCO
``` | /content/code_sandbox/boards/st/stm32h745i_disco/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioc 0 0>, /* A0 */
<1 0 &gpiof 8 0>, /* A1 */
<2 0 &gpioa 0 0>, /* A2 */
<3 0 &gpioa 1 0>, /*... | /content/code_sandbox/boards/st/stm32h745i_disco/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 501 |
```ini
# STM32H745XI DISCOVERY board OpenOCD ST-LINK V3 configuration
#
#
source [find board/stm32h745i-disco.cfg]
# Use connect_assert_srst here to be able to program
# even when core is in sleep mode
reset_config srst_only srst_nogate connect_assert_srst
$_CHIPNAME.cpu0 configure -event gdb-attach {
echo "... | /content/code_sandbox/boards/st/stm32h745i_disco/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 174 |
```unknown
/*
*/
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/gpio/st-morpho-header.h>
/ {
st_morpho_header: st-morpho-header {
compatible = "st-morpho-header";
#gpio-cells = <2>;
gpio-map-mask = <ST_MORPHO_PIN_MASK 0x0>;
gpio-map-pass-thru = <0x0 GPIO_DT_FLAGS_MASK>;
gpio-map = ... | /content/code_sandbox/boards/st/nucleo_g0b1re/st_morpho_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,367 |
```yaml
identifier: nucleo_g0b1re
name: ST Nucleo G0B1RE
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 144
flash: 512
supported:
- adc
- arduino_gpio
- arduino_i2c
- arduino_spi
- arduino_serial
- can
- uart
- gpio
- i2c
- spi
- nvs
- dma
- usb_device
- lptim
- us... | /content/code_sandbox/boards/st/nucleo_g0b1re/nucleo_g0b1re.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 146 |
```cmake
# keil.stm32g0xx_dfp.1.3.0.pack introduced stm32g0b series, but the target does
# not work with pyocd currently.
board_runner_args(pyocd "--target=stm32g071rbtx")
board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
board_runner_args(jlink "... | /content/code_sandbox/boards/st/nucleo_g0b1re/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 207 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# 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/st/nucleo_g0b1re/nucleo_g0b1re_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```yaml
board:
name: nucleo_g0b1re
vendor: st
socs:
- name: stm32g0b1xx
``` | /content/code_sandbox/boards/st/nucleo_g0b1re/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```unknown
config BOARD_NUCLEO_G0B1RE
select SOC_STM32G0B1XX
``` | /content/code_sandbox/boards/st/nucleo_g0b1re/Kconfig.nucleo_g0b1re | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 25 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
<1 0 &gpioa 1 0>, /* A1 */
<2 0 &gpioa 4 0>, /* A2 */
<3 0 &gpiob 1 0>, /*... | /content/code_sandbox/boards/st/nucleo_g0b1re/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 502 |
```restructuredtext
.. _stm32h745i_disco_board:
ST STM32H745I Discovery
#######################
Overview
********
The STM32H745I-DISCO Discovery kit is a complete demonstration and development
platform for STMicroelectronics Arm |reg| Cortex |reg|M7 and Cortex |reg|M4 core-based STM32H745XI microcontroller.
The ful... | /content/code_sandbox/boards/st/stm32h745i_disco/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,441 |
```ini
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32g0x.cfg]
reset_config srst_only
``` | /content/code_sandbox/boards/st/nucleo_g0b1re/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/g0/stm32g0b1Xe.dtsi>
#include <st/g0/stm32g0b1r(b-c-e)tx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include "st_morpho_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "STMicroelectronics STM32G0B1RE-NUCLEO board";
compatible = ... | /content/code_sandbox/boards/st/nucleo_g0b1re/nucleo_g0b1re.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,608 |
```cmake
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
``` | /content/code_sandbox/boards/st/b_g474e_dpow1/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47 |
```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
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW... | /content/code_sandbox/boards/st/b_g474e_dpow1/b_g474e_dpow1_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/g4/stm32g474Xe.dtsi>
#include <st/g4/stm32g474r(b-c-e)tx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "B-G474E-DPOW1 Discovery board";
compatible = "st,b-g474e-dpow1";
chosen {
zephyr,console = &usart3;
zephyr,shell-uart = &usart... | /content/code_sandbox/boards/st/b_g474e_dpow1/b_g474e_dpow1.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,534 |
```yaml
identifier: b_g474e_dpow1
name: ST B-G474E-DPOW1 Discovery
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 128
flash: 512
supported:
- uart
- gpio
- watchdog
- tcpc
- usb
- usbd
vendor: st
``` | /content/code_sandbox/boards/st/b_g474e_dpow1/b_g474e_dpow1.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```yaml
board:
name: b_g474e_dpow1
vendor: st
socs:
- name: stm32g474xx
``` | /content/code_sandbox/boards/st/b_g474e_dpow1/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
config BOARD_B_G474E_DPOW1
select SOC_STM32G474XX
``` | /content/code_sandbox/boards/st/b_g474e_dpow1/Kconfig.b_g474e_dpow1 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```restructuredtext
.. _nucleo_g0b1re_board:
ST Nucleo G0B1RE
################
Overview
********
The Nucleo G0B1RE board features an ARM Cortex-M0+ based STM32G0B1RE MCU
with a wide range of connectivity support and configurations. Here are
some highlights of the Nucleo G0B1RE board:
- STM32 microcontroller in QFP64... | /content/code_sandbox/boards/st/nucleo_g0b1re/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,820 |
```unknown
# STM32H7S78-DK Discovery kit board configuration
#
#
#
config BOARD_STM32H7S78_DK
select SOC_STM32H7S7XX
``` | /content/code_sandbox/boards/st/stm32h7s78_dk/Kconfig.stm32h7s78_dk | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```cmake
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
# FIXME: openocd runner not yet available.
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
``` | /content/code_sandbox/boards/st/stm32h7s78_dk/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 90 |
```unknown
# Enable SMPS
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y
# 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
# enab... | /content/code_sandbox/boards/st/stm32h7s78_dk/stm32h7s78_dk_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 88 |
```yaml
board:
name: stm32h7s78_dk
vendor: st
socs:
- name: stm32h7s7xx
``` | /content/code_sandbox/boards/st/stm32h7s78_dk/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```yaml
identifier: stm32h7s78_dk
name: ST STM32H7S78 Discovery Kit
type: mcu
arch: arm
toolchain:
- zephyr
ram: 640
flash: 64
supported:
- arduino_gpio
- gpio
- uart
- watchdog
- entropy
- adc
vendor: st
``` | /content/code_sandbox/boards/st/stm32h7s78_dk/stm32h7s78_dk.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 84 |
```restructuredtext
.. _b_g474e_dpow1_board:
ST B-G474E-DPOW1 Discovery
##########################
Overview
********
The B-G474E-DPOW1 Discovery kit is a digital power solution and a complete
demonstration and development platform for the STMicroelectronics STM32G474RET6
microcontroller. Leveraging the new HRTimer-or... | /content/code_sandbox/boards/st/b_g474e_dpow1/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,366 |
```unknown
# STM32H7S78 DISCOVERY KIT board configuration
#
#
#
if BOARD_STM32H7S78_DK
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
endif # BOARD_STM32H7S78_DK
``` | /content/code_sandbox/boards/st/stm32h7s78_dk/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/h7rs/stm32h7s7X8.dtsi>
#include <st/h7/stm32h7s7l8hx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "STMicroelectronics STM32H7S78 DISCOVERY KIT board";
compatible = "st,stm32h7s78-dk";
chosen {
z... | /content/code_sandbox/boards/st/stm32h7s78_dk/stm32h7s78_dk.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,100 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioc 0 0>, /* A0 */
<1 0 &gpioc 2 0>, /* A1 */
<2 0 &gpioc 3 0>, /* A2 */
<3 0 &gpiof 12 0>, /... | /content/code_sandbox/boards/st/stm32h7s78_dk/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 490 |
```ini
source [find interface/stlink-dap.cfg]
transport select "dapdirect_swd"
set WORKAREASIZE 0x8000
set CHIPNAME STM32H7S7XX
set BOARDNAME STM32H7S78_DK
# Enable debug when in low power modes
set ENABLE_LOW_POWER 1
# Stop Watchdog counters when halt
set STOP_WATCHDOG 1
# Reset configuration
# use hardware reset,... | /content/code_sandbox/boards/st/stm32h7s78_dk/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 257 |
```unknown
/*
*/
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/gpio/st-morpho-header.h>
/ {
st_morpho_header: st-morpho-header {
compatible = "st-morpho-header";
#gpio-cells = <2>;
gpio-map-mask = <ST_MORPHO_PIN_MASK 0x0>;
gpio-map-pass-thru = <0x0 GPIO_DT_FLAGS_MASK>;
gpi... | /content/code_sandbox/boards/st/nucleo_h503rb/st_morpho_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,231 |
```cmake
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(openocd "--tcl-port=6666")
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
board_runner_args(openocd "--no-halt")
board_runner_args(pyocd "--target=stm32h503rbtx")
include(${ZEPHYR_BASE}/boards/... | /content/code_sandbox/boards/st/nucleo_h503rb/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 152 |
```unknown
config BOARD_NUCLEO_H503RB
select SOC_STM32H503XX
``` | /content/code_sandbox/boards/st/nucleo_h503rb/Kconfig.nucleo_h503rb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 21 |
```unknown
# enable uart driver
CONFIG_SERIAL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable clock
CONFIG_CLOCK_CONTROL=y
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# enable pin controller
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/st/nucleo_h503rb/nucleo_h503rb_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```yaml
board:
name: nucleo_h503rb
vendor: st
socs:
- name: stm32h503xx
``` | /content/code_sandbox/boards/st/nucleo_h503rb/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```yaml
identifier: nucleo_h503rb
name: ST Nucleo H503RB
type: mcu
arch: arm
toolchain:
- zephyr
ram: 32
flash: 128
supported:
- arduino_gpio
- arduino_serial
- gpio
- uart
- i2c
- watchdog
vendor: st
``` | /content/code_sandbox/boards/st/nucleo_h503rb/nucleo_h503rb.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/h5/stm32h503Xb.dtsi>
#include <st/h5/stm32h503rbtx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include "st_morpho_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "STMicroelectronics STM32H503RB-NUCLEO board";
compatible = "st,s... | /content/code_sandbox/boards/st/nucleo_h503rb/nucleo_h503rb.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 668 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
<1 0 &gpioa 1 0>, /* A1 */
<2 0 &gpioa 2 0>, /* A2 */
<3 0 &gpiob 0 0>, /*... | /content/code_sandbox/boards/st/nucleo_h503rb/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 516 |
```ini
source [find interface/stlink-dap.cfg]
source [find target/stm32h5x.cfg]
transport select "dapdirect_swd"
set CHIPNAME STM32H503RBTX
set BOARDNAME NUCLEO-STM32H503RB
# Reset configuration
# use hardware reset, connect under reset
# connect_assert_srst needed if low power mode application running (WFI...)
res... | /content/code_sandbox/boards/st/nucleo_h503rb/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```restructuredtext
.. _stm32h7s78_dk_board:
ST STM32H7S78-DK Discovery
##########################
Overview
********
The STM32H7S78-DK Discovery kit is designed as a complete demonstration and
development platform for STMicroelectronics Arm |reg| Cortex |reg|-M7 core-based
STM32H7S7L8H6H microcontroller with TrustZo... | /content/code_sandbox/boards/st/stm32h7s78_dk/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,743 |
```cmake
board_runner_args(jlink "--device=STM32F401CC" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/st/steval_fcu001v1/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f4/stm32f401Xc.dtsi>
#include <st/f4/stm32f401c(b-c)ux-pinctrl.dtsi>
/ {
model = "STMicroelectronics Flight Controller Board";
compatible = "st,flight-controller-board";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr... | /content/code_sandbox/boards/st/steval_fcu001v1/steval_fcu001v1.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 587 |
```yaml
identifier: steval_fcu001v1
name: ST STM32 Flight Controller Unit
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- gpio
- pwm
- i2c
- rtc
- watchdog
ram: 64
flash: 256
vendor: st
``` | /content/code_sandbox/boards/st/steval_fcu001v1/steval_fcu001v1.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 88 |
```yaml
board:
name: steval_fcu001v1
vendor: st
socs:
- name: stm32f401xc
``` | /content/code_sandbox/boards/st/steval_fcu001v1/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
config BOARD_STEVAL_FCU001V1
select SOC_STM32F401XC
``` | /content/code_sandbox/boards/st/steval_fcu001v1/Kconfig.steval_fcu001v1 | 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
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/st/steval_fcu001v1/steval_fcu001v1_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```ini
source [find interface/stlink.cfg]
transport select hla_swd
set WORKAREASIZE 0x10000
source [find target/stm32f4x.cfg]
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-d... | /content/code_sandbox/boards/st/steval_fcu001v1/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```restructuredtext
.. _nucleo_h503rb_board:
ST Nucleo H503RB
################
Overview
********
The Nucleo-H503RB board features an ARM |reg| Cortex |reg|-M33 core-based
STM32H503RBT6 microcontroller with a wide range of connectivity support and
configurations.
Here are some highlights of the Nucleo-H503RB board:
... | /content/code_sandbox/boards/st/nucleo_h503rb/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,367 |
```unknown
config BOARD_STM32H735G_DISCO
select SOC_STM32H735XX
``` | /content/code_sandbox/boards/st/stm32h735g_disco/Kconfig.stm32h735g_disco | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```cmake
board_runner_args(jlink "--device=STM32H735IG" "--speed=4000")
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/st/stm32h735g_disco/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```restructuredtext
.. _steval_fcu001v1:
ST STM32 Flight Controller Unit
###############################
Overview
********
The STEVAL-FCU001V1 is a Cortex M4 MCU-based flight controller unit for toy quad-copter drones.
.. figure:: img/steval_fcu001v1.jpg
:align: center
:alt: STM32 Flight Controller Unit
... | /content/code_sandbox/boards/st/steval_fcu001v1/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,172 |
```yaml
identifier: stm32h735g_disco
name: ST STM32H735G Discovery
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 368
flash: 1024
supported:
- arduino_gpio
- gpio
- netif:eth
- memc
- adc
- counter
- can
- usb_device
vendor: st
``` | /content/code_sandbox/boards/st/stm32h735g_disco/stm32h735g_disco.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 107 |
```unknown
/*
*
*/
/ {
pmod0: pmod-connector {
compatible = "digilent,pmod";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpiof 9 0>, /* IO1 */
<1 0 &gpiof 7 0>, /* IO2 */
<2 0 &gpiof 6 0>, /* IO3 */
<3 0 &gpiof 8 0>, /* IO4 ... | /content/code_sandbox/boards/st/stm32h735g_disco/pmod_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```yaml
board:
name: stm32h735g_disco
vendor: st
socs:
- name: stm32h735xx
``` | /content/code_sandbox/boards/st/stm32h735g_disco/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
# Enable the internal SMPS regulator
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y
# 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 p... | /content/code_sandbox/boards/st/stm32h735g_disco/stm32h735g_disco_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 85 |
```unknown
# STM32H735G DISCOVERY board configuration
if BOARD_STM32H735G_DISCO
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_STM32H735G_DISCO
``` | /content/code_sandbox/boards/st/stm32h735g_disco/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```ini
source [find interface/stlink-dap.cfg]
transport select dapdirect_swd
set WORKAREASIZE 0x2000
set CHIPNAME STM32H735IG
set BOARDNAME STM23H735G_DK
source [find target/stm32h7x.cfg]
# Use connect_assert_srst here to be able to program
# even when core is in sleep mode
reset_config srst_only srst_nogate connect... | /content/code_sandbox/boards/st/stm32h735g_disco/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 199 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/h7/stm32h735Xg.dtsi>
#include <st/h7/stm32h735igkx-pinctrl.dtsi>
#include "pmod_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "STMicroelectronics STM32H735G DISCOVERY board";
compatible = "st,stm32h735g-disco";
chosen {
zephyr,con... | /content/code_sandbox/boards/st/stm32h735g_disco/stm32h735g_disco.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,746 |
```cmake
board_runner_args(jlink "--device=STM32F207ZG" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
``` | /content/code_sandbox/boards/st/nucleo_f207zg/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```yaml
identifier: nucleo_f207zg
name: ST Nucleo F207ZG
type: mcu
arch: arm
ram: 128
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- arduino_gpio
- arduino_i2c
- arduino_spi
- i2c
- spi
- gpio
- usb_device
- watchdog
- counter
- adc
- dac
- backup_sram
- pwm
- rng
... | /content/code_sandbox/boards/st/nucleo_f207zg/nucleo_f207zg.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 150 |
```unknown
config BOARD_NUCLEO_F207ZG
select SOC_STM32F207XX
``` | /content/code_sandbox/boards/st/nucleo_f207zg/Kconfig.nucleo_f207zg | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22 |
```yaml
board:
name: nucleo_f207zg
vendor: st
socs:
- name: stm32f207xx
``` | /content/code_sandbox/boards/st/nucleo_f207zg/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
CONFIG_SERIAL=y
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=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/st/nucleo_f207zg/nucleo_f207zg_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```restructuredtext
.. _stm32h735g_disco_board:
ST STM32H735G Discovery
#######################
Overview
********
The STM32H735G-DK Discovery kit is a complete demonstration and development
platform for Arm Cortex-M7 core-based STM32H735IGK6U microcontroller, with
1 Mbyte of Flash memory and 564 Kbytes of SRAM.
The... | /content/code_sandbox/boards/st/stm32h735g_disco/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,315 |
```unknown
# NUCLEO-144 F207ZG board configuration
if BOARD_NUCLEO_F207ZG
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
endif # BOARD_NUCLEO_F207ZG
``` | /content/code_sandbox/boards/st/nucleo_f207zg/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```unknown
/*
*
*/
/ {
arduino_header: connector {
compatible = "arduino-header-r3";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
<1 0 &gpioc 0 0>, /* A1 */
<2 0 &gpioc 3 0>, /* A2 */
<3 0 &gpiof 3 0>, /*... | /content/code_sandbox/boards/st/nucleo_f207zg/arduino_r3_connector.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 497 |
```ini
source [find interface/stlink.cfg]
source [find target/stm32f2x.cfg]
reset_config srst_only srst_nogate
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-detach {
e... | /content/code_sandbox/boards/st/nucleo_f207zg/support/openocd.cfg | ini | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```unknown
/*
*
*/
/dts-v1/;
#include <st/f2/stm32f207Xg.dtsi>
#include <st/f2/stm32f207z(c-e-f-g)tx-pinctrl.dtsi>
#include "arduino_r3_connector.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "STMicroelectronics STM32F207ZG-NUCLEO board";
compatible = "st,stm32f207zg-nucleo";
chosen ... | /content/code_sandbox/boards/st/nucleo_f207zg/nucleo_f207zg.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,715 |
```cmake
board_runner_args(openocd --cmd-post-verify "reset halt")
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
board_runner_args(jlink "--device=STM32H743ZI" "--speed=4000")
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(pyocd "--target=stm32h743zitx")
include(${... | /content/code_sandbox/boards/st/nucleo_h743zi/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 165 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.