You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry this is a little vague but on OS X, sed does not support 'sed -r'
This seems to cause the secrets file not to be parsed and included correctly.
This can be fixed by
a) brew install gnu-sed
b) change the components.mk to use gsed rather than sed.
I've fixed it now and didn't capture the exact messages, sorry for the vagueness
The text was updated successfully, but these errors were encountered:
#
# Main component makefile.
#
# This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this.
#
# Add additional subfolders to the build bath
COMPONENT_SRCDIRS += interfaces
COMPONENT_EMBED_TXTFILES := iotnode.crt
COMPONENT_EMBED_TXTFILES += iotnode.key
SHELL := /bin/bash
SECRETS := ${COMPONENT_PATH}/secrets
SECRETS := $(shell cat ${SECRETS} | gsed -r 's/^\#.*$$//g; s/^([^=]+)$$/ -D\1/m; s/^([^=]+=)(.*)$$/ -D\1"\2"/' | tr -d '\n')
CFLAGS += $(SECRETS)
Hi, sorry this is a little vague but on OS X, sed does not support 'sed -r'
This seems to cause the secrets file not to be parsed and included correctly.
This can be fixed by
a) brew install gnu-sed
b) change the components.mk to use gsed rather than sed.
I've fixed it now and didn't capture the exact messages, sorry for the vagueness
The text was updated successfully, but these errors were encountered: