mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 11:39:46 +08:00
fab85afc91
Add board definitions for Olimex LoRa STM32WL DevKit. Signed-off-by: Martin Jäger <martin@libre.solar>
12 lines
539 B
CMake
12 lines
539 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(pyocd "--target=stm32wle5ccux")
|
|
board_runner_args(pyocd "--flash-opt=-O cmsis_dap.limit_packets=1")
|
|
board_runner_args(jlink "--device=STM32WLE5CC" "--speed=4000" "--reset-after-load")
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
|
|
|
# OpenOCD not enabled because it failed with parameters suggested here:
|
|
# https://github.com/OLIMEX/LoRa-STM32WL-DevKIT/blob/main/DOCUMENTS/STM32CubeIDE%20-%20How%20to%20use%20OpenOCD
|