1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/renode: use RUNTIME_TMP_DIR in EMULATOR_SERIAL_PORT

This commit is contained in:
Alexandre Abadie 2022-03-04 13:34:18 +01:00
parent 38a263efab
commit d425cbb2bf
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -35,7 +35,7 @@ endif
# Configure local serial port
RENODE_SYSBUS_UART ?= sysbus.uart0
EMULATOR_SERIAL_PORT ?= /tmp/riot_$(APPLICATION)_$(BOARD)_uart
EMULATOR_SERIAL_PORT ?= $(RUNTIME_TMP_DIR)/uart
RENODE_CONFIG_FLAGS += -e "emulation CreateUartPtyTerminal \"term\" \"$(EMULATOR_SERIAL_PORT)\" true"
RENODE_CONFIG_FLAGS += -e "connector Connect $(RENODE_SYSBUS_UART) term"