Skip to content

Commit

Permalink
ADd LFC_GEN_COMPILE_DEFS to RIOT build
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Jan 23, 2025
1 parent f16a973 commit b64cc46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/riot/coap_federated_lf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ DEVELHELP ?= 1
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1

# Enable reactor-uc features
CFLAGS += -DNETWORK_CHANNEL_COAP_RIOT

# Configure CoAP retransmission timeout
CFLAGS += -DCONFIG_GCOAP_NO_RETRANS_BACKOFF=1
CFLAGS += -DCONFIG_COAP_ACK_TIMEOUT_MS=400
Expand Down
3 changes: 3 additions & 0 deletions make/riot/riot-lfc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ else
# Include generated h files
CFLAGS += -I$(LF_SRC_GEN_PATH)

# Add compile definitions produced by the LF compiler
CFLAGS += $(patsubst %, -D%, $(LFC_GEN_COMPILE_DEFS))

include $(RIOT_MK_DIR)/riot.mk
endif

0 comments on commit b64cc46

Please sign in to comment.