Skip to content

Commit e18c118

Browse files
committed
uVisor: Add header file copy to importer script
The core_cmSecureAccess.h file contains secure-access APIs that are a good candidate for a proposal to CMSIS. At the moment we maintain these APIs ourselves in ARMmbed/uvisor, and will push updates to ARMmbed/mbed-os when running our usual importer script.
1 parent 7fc73e4 commit e18c118

File tree

1 file changed

+8
-0
lines changed
  • features/FEATURE_UVISOR/importer

1 file changed

+8
-0
lines changed

features/FEATURE_UVISOR/importer/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ TARGET_LIST_DIR_DST:=$(addprefix $(TARGET_SUPPORTED)/,$(TARGET_LIST))
4545
TARGET_LIST_RELEASE:=$(addsuffix /release,$(TARGET_LIST_DIR_DST))
4646
TARGET_LIST_DEBUG:=$(addsuffix /debug,$(TARGET_LIST_DIR_DST))
4747

48+
# mbed OS paths
49+
MBED_OS_ROOT:=../../..
50+
MBED_OS_CMSIS:=$(MBED_OS_ROOT)/cmsis
51+
4852
.PHONY: all deploy rsync publish uvisor uvisor-compile clean cache update
4953

5054
all: uvisor
@@ -75,6 +79,10 @@ rsync:
7579
cp $(UVISOR_DIR)/core/system/inc/page_allocator_config.h $(TARGET_LIB_SRC)/page_allocator_config.h
7680
rsync -a --delete $(UVISOR_API)/rtx/src/ $(TARGET_LIB_SRC)/rtx
7781
#
82+
# Copying the secure API header file...
83+
# Note: This will not be needed when we upstream the file to CMSIS.
84+
cp $(UVISOR_DIR)/core/cmsis/inc/core_cmSecureAccess.h $(MBED_OS_CMSIS)/
85+
#
7886
# Copying the documentation...
7987
cp $(UVISOR_DIR)/docs/api/QUICKSTART.md $(TARGET_PREFIX)/README.md
8088
#

0 commit comments

Comments
 (0)