1.低版本的DTC不支持no-unique_unit_address

This commit is contained in:
payton 2023-10-08 14:12:46 +08:00
parent 2a6de9aec8
commit 0e77596362

View File

@ -3,7 +3,7 @@ NVT_CFG_DTS="nvt-evb"
#C_DEFINE_EXT = -DBIN_NAME='"$(BIN_NAME)"' \
# -DEMBMEM='"$(EMBMEM)"'
DTC_VER=$(shell ver=`dtc -v | awk -F' ' '{print $$NF}' | awk -F'-' '{print $$(NF-1)}'`; echo "$$ver" | sed 's/[^a-zA-Z0-9]//g')
DTC_CFLAGS=$(shell echo "-W no-unit_address_format -W no-unit_address_vs_reg -W no-unique_unit_address")
DTC_CFLAGS=$(shell echo "-W no-unit_address_format -W no-unit_address_vs_reg")
define gen_model_cfg_link
MODEL=`echo $(NVT_PRJCFG_MODEL_CFG) | awk -F'/' '{print $$(NF-1)}'`;\