From 59b687cf68537d6d5d5ca4b371500d3c6ba54609 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Sat, 23 Dec 2023 17:21:15 +0100 Subject: [PATCH] boards/native: forward eeprom flags to pyterm --- boards/native/Makefile.include | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index 0e7016caed..f17eab6cf3 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -114,7 +114,11 @@ EEPROM_FILE ?= $(BINDIR)/native.eeprom # set the eeprom file flags only when the periph_eeprom feature is used. ifneq (,$(filter periph_eeprom,$(FEATURES_USED))) EEPROM_FILE_FLAGS = --eeprom $(EEPROM_FILE) - TERMFLAGS += $(EEPROM_FILE_FLAGS) + ifeq (native,$(RIOT_TERMINAL)) + TERMFLAGS += $(EEPROM_FILE_FLAGS) + else + TERMFLAGS += --process-args '$(EEPROM_FILE_FLAGS)' + endif endif VCAN_IFNUM ?= 0