Dialog DA16200 SDK User Manual

User Manual
DA16200 SDK Porting Guide
UM-WI-045
Abstract
This document describes changes in SDK structure and IAR projects in DA16200 SDK v2.3.4.0 to make porting for the user easier compared to the previous version.
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
2 of 11
© 2021 Dialog Semiconductor
Contents
Abstract ................................................................................................................................................ 1
Contents ............................................................................................................................................... 2
Figures .................................................................................................................................................. 2
1 References ..................................................................................................................................... 3
2 Introduction.................................................................................................................................... 3
3 SDK Structure ................................................................................................................................ 3
3.1 Changes in SDK Structure .................................................................................................... 3
3.2 Customer Folder ................................................................................................................... 4
3.3 User Application Codes......................................................................................................... 4
4 IAR Project ..................................................................................................................................... 5
4.1 IAR Workspace File .............................................................................................................. 5
4.2 IAR Project Structure ............................................................................................................ 7
4.3 Change in IAR Project........................................................................................................... 8
4.3.1 User Application Code ........................................................................................... 8
4.3.2 Provision Project .................................................................................................... 9
Revision History ................................................................................................................................ 10
Figures
Figure 1: SDK Structure in v2.3.4.0 ....................................................................................................... 3
Figure 2: New Customer Folder in v2.3.4.0 ........................................................................................... 4
Figure 3: User Application Code in v2.3.3.0 .......................................................................................... 4
Figure 4: User Application Code in v2.3.4.0 .......................................................................................... 5
Figure 5: IAR IDE Workspace File in v2.3.3.0 ....................................................................................... 5
Figure 6: IAR IDE Workspace File in v2.3.4.0 ....................................................................................... 6
Figure 7: IAR Project Structure in v2.3.3.0 ............................................................................................ 7
Figure 8: IAR Project Structure in v2.3.4.0 ............................................................................................ 7
Figure 9: User Application Code in v2.3.3.0 .......................................................................................... 8
Figure 10: User Application Code in v2.3.4.0 ........................................................................................ 8
Figure 11: Provision Project Location in v2.3.4.0 .................................................................................. 9
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
3 of 11
© 2021 Dialog Semiconductor
1 References
[1] DA16200, EVK User Manual, User Manual, Dialog Semiconductor [2] DA16200, Example Application Manual, User Manual, Dialog Semiconductor
2 Introduction
This document describes changes in SDK structure and IAR projects in DA16200 SDK v2.3.4.0 to make porting for the user easier compared to the previous version.
3 SDK Structure
The DA16200 SDK v2.3.4.0 has eight folders:
build: build scripts, temporary build artifacts, or environment files
customer: IAR project files and applications for customer
doc: user documents (user guides, programmer guides, etc)
img: to which the images built / pre-compiled are copied
lib: to which the pre-compiled lib files (.a) are saved
sample: to demonstrate common use cases of what the DA16200 SDK provides
src: core source codes
src_tim: source codes for TIM
version: version files to include when Image created
3.1 Changes in SDK Structure
DA16200 Generic SDK v2.3.4.0 adds the new customer folder for customer code to be developed independently of the SDK core code.
Figure 1: SDK Structure in v2.3.4.0
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
4 of 11
© 2021 Dialog Semiconductor
3.2 Customer Folder
The user application codes of v2.3.4.0 are combined in new customer folder that is composed of three sub-folders:
apps: user application code and header files
main: start code and configuration header files
project: customer SDK project files
Figure 2: New Customer Folder in v2.3.4.0
3.3 User Application Codes
The user application codes of v2.3.3.0 are distributed in several folders.
Figure 3: User Application Code in v2.3.3.0
Loading...
+ 7 hidden pages