Realtek RTL8722DM Build And Debug Environment Setup page 5

Table of Contents

Advertisement

km4_secure
Note:
1.
The configuration items with "-is" are ignore secure configuration, which are designed for applications that do not use TrustZone.
2.
The configuration items with "-tz" are TrustZone configuration, which are designed for applications that use TrustZone.
3.
The configuration items with "mp" are mass production configuration, which are designed for generating MP image.
For applications that do not use TrustZone, users should apply ignore secure configurations as Table 1-2 shows. The km4_secure project
which contains Trustzone-protected code, is not used.
For applications that use TrustZone, users should apply TrustZone configurations as Table 1-2 shows.
Project
km4_bootloader
km4_application
km4_secure
At the top of the Workspace window, there is a drop-down list where you can choose a build configuration for a specific project.
Configuration
drop-down menu
1.3.2 IAR Build
When building SDK for the first time, you should build both KM0 project and KM4 project. Other times, you only need to rebuild the modified
project.
1.3.2.1
Building KM0 Project
The following steps show how to build KM0 project:
(1)
Open project\realtek_amebaD_va0_example\EWARM-RELEASE\Project_lp_release.eww.
(2)
Make sure km0_bootloader and km0_application are in Workspace. Click Project > Options, General Options > Target > Processor
Variant > Core, verify the CPU configurations according to Fig 1-7.
(3)
Right click the project and choose "Rebuild All", as Fig 1-8 shows. The km0_bootloader and km0_application should compile in order.
Application Note
3
km4_application - is (mp
)
km4_application - tz (mp)
km4_secure - tz
km4_secure - tz (mp)
Table 1-2 Configurations for project with/without TrustZone
TrustZone
N
Y
N
Y
Y
Fig 1-6 How to choose a build configuration
All information provided in this document is subject to legal disclaimers.
N
Y
Y
Y
Normal Image
km4_bootloader - is
km4_bootloader - tz
km4_application - is
km4_application - tz
km4_secure - tz
5
Ameba-D Application Note
Y
Y
N
Y
MP Image
km4_bootloader - is
km4_bootloader - tz
km4_application - is (mp)
km4_application - tz (mp)
km4_secure - tz (mp)
© REALTEK 2020. All rights reserved.

Advertisement

Table of Contents
loading

Table of Contents