mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
6d6fd5a975
This board is based on a stm32mp157cac which has a dual architecture: * Dual core Cortex-A7 * Cortex-M4 Only Cortex-M4 is supported by RIOT-OS. Cortex-M4 can be used in Engineering mode if stm32mp1_eng_mode pseudomodule is used. By default the RIOT firmware can be loaded by Linux on the Cortex-M4 using remoteproc Linux framework. This the initial commit with a limited set of supported peripheral: * gpio * timer * uart Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
21 lines
614 B
Makefile
21 lines
614 B
Makefile
# we use shared STM32 configuration snippets
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
# set default port depending on operating system
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# this board has an on-board ST-link adapter
|
|
DEBUG_ADAPTER = stlink-dap
|
|
OPENOCD_CORE = stm32mp15x.cm4
|
|
GDB_PORT_CORE_OFFSET = 1
|
|
|
|
FFLAGS ?= flashr $(FLASHFILE)
|
|
DEBUGGER_FLAGS ?= debugr $(ELFFILE)
|
|
|
|
# Setup of programmer and serial is shared between STM32 based boards
|
|
include $(RIOTMAKE)/boards/stm32.inc.mk
|