add wrc_diags_regs.h exports and deploy

parent 0ecce2fd
......@@ -3,11 +3,12 @@ DEPLOY_TARGET ?= /acc/local/L867/drv/ertm/$(ERTM_VERSION)
TOOLS = ../tools/uart-bootloader/usb-bootloader.py ertm-cli udev-find
deploy: $(LIBS) libertm.h $(TOOLS) ../wrc.bin ertm-setup
mkdir -p $(DEPLOY_TARGET)/lib $(DEPLOY_TARGET)/include \
mkdir -p $(DEPLOY_TARGET)/lib $(DEPLOY_TARGET)/include/hw \
$(DEPLOY_TARGET)/tools $(DEPLOY_TARGET)/bin
ln -s ../pyenv $(DEPLOY_TARGET)
install -b ../wrc.bin $(LIBS) -C $(DEPLOY_TARGET)/lib
install -b libertm.h -C $(DEPLOY_TARGET)/include
install -b libertm.h ../boards/ertm14/ertm-common.h -C $(DEPLOY_TARGET)/include
install -b ../include/hw/wrc_diags_regs.h -C $(DEPLOY_TARGET)/include/hw
install -b $(TOOLS) -C $(DEPLOY_TARGET)/tools
(cd $(DEPLOY_TARGET)/bin ; ln -sf ../tools/* .)
install -b ertm-setup -C $(DEPLOY_TARGET)/bin
......@@ -16,6 +16,7 @@ extern "C" {
#include <stdint.h>
#include "ertm-common.h"
#include "hw/wrc_diags_regs.h"
struct ertm_lib_version {
char *lib_version;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment