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
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
5 of 11
© 2021 Dialog Semiconductor
The user application codes of v2.3.4.0 are combined in \customer\apps\src folder.
Figure 4: User Application Code in v2.3.4.0
4 IAR Project
4.1 IAR Workspace File
The IAR IDE workspace file in v2.3.3.0 is \build\DA16xxx.eww.
Figure 5: IAR IDE Workspace File in v2.3.3.0
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
6 of 11
© 2021 Dialog Semiconductor
The IAR IDE workspace file in v2.3.4.0 is \customer\project\DA16xxx.eww.
Figure 6: IAR IDE Workspace File in v2.3.4.0
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
7 of 11
© 2021 Dialog Semiconductor
4.2 IAR Project Structure
The DA16200 SDK v2.3.4.0 has 11 projects:
common_host: Host interface initialize functions project
sys_common: system common project
atcmd: AT commands project
http: HTTP client and server project
ota: Over the air firmware update project
mqtt: MQTT subscriber and publisher project
coap: CoAP client and server project
Iperf: NetX/NetX Duo IPerf project
src_tim: PTIM project
customer_app: customer application project
main: main project
Figure 7: IAR Project Structure in v2.3.3.0
Figure 8: IAR Project Structure in v2.3.4.0
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
8 of 11
© 2021 Dialog Semiconductor
4.3 Change in IAR Project
4.3.1 User Application Code
The user application codes move to customer_app project from main project.
Figure 9: User Application Code in v2.3.3.0
Figure 10: User Application Code in v2.3.4.0
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
9 of 11
© 2021 Dialog Semiconductor
4.3.2 Provision Project
The provision project moves to the sample project of \sample\ETC\SoftAp_Provisioning.
Figure 11: Provision Project Location in v2.3.4.0
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
10 of 11
© 2021 Dialog Semiconductor
Revision History
Revision
Date
Description
1.0
30-Mar-2020
First Release
UM-WI-045
DA16200 SDK Porting Guide
User Manual
Revision 1.0
30-Mar-2021
CFR0012
11 of 11
© 2021 Dialog Semiconductor
Status Definitions
Status
Definition
DRAFT
The content of this document is under review and subject to formal approval, which may result in modifications or additions.
APPROVED or unmarked
The content of this document has been approved for publication.
Disclaimer
Unless otherwise agreed in writing, the Dialog Semiconductor products (and any associated software) referred to in this document are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of a Dialog Semiconductor product (or associated software) can reasonably be expected to result in personal injury, death or severe property or environmental damage. Dialog Semiconductor and its suppliers accept no liability for inclusion and/or use of Dialog Semiconductor products (and any associated software) in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk.
Information in this document is believed to be accurate and reliable. However, Dialog Semiconductor does not give any representations or warranties, express or implied, as to the accuracy or completeness of such information. Dialog Semiconductor furthermore takes no responsibility whatsoever for the content in this document if provided by any information source outside of Dialog Semiconductor.
Dialog Semiconductor reserves the right to change without notice the information published in this document, including, without limitation, the specification and the design of the related semiconductor products, software and applications. Notwithstanding the foregoing, for any automotive grade version of the device, Dialog Semiconductor reserves the right to change the information published in this document, including, without limitation, the specification and the design of the related semiconductor products, software and applications, in accordance with its standard automotive change notification process.
Applications, software, and semiconductor products described in this document are for illustrative purposes only. Dialog Semiconductor makes no representation or warranty that such applications, software and semiconductor products will be suitable for the specified use without further testing or modification. Unless otherwise agreed in writing, such testing or modification is the sole responsibility of the customer and Dialog Semiconductor excludes all liability in this respect.
Nothing in this document may be construed as a license for customer to use the Dialog Semiconductor products, software and applications referred to in this document. Such license must be separately sought by customer with Dialog Semiconductor.
All use of Dialog Semiconductor products, software and applications referred to in this document is subject to Dialog Semiconductor’s Standard
Terms and Conditions of Sale, available on the company website (www.dialog-semiconductor.com) unless otherwise stated.
Dialog, Dialog Semiconductor and the Dialog logo are trademarks of Dialog Semiconductor Plc or its subsidiaries. All other product or service names and marks are the property of their respective owners.
© 2021 Dialog Semiconductor. All rights reserved.
Contacting Dialog Semiconductor
United Kingdom (Headquarters)
Dialog Semiconductor (UK) LTD
Phone: +44 1793 757700
Germany
Dialog Semiconductor GmbH
Phone: +49 7021 805-0
The Netherlands
Dialog Semiconductor B.V.
Phone: +31 73 640 8822
North America
Dialog Semiconductor Inc.
Phone: +1 408 845 8500
Japan
Dialog Semiconductor K. K.
Phone: +81 3 5769 5100
Taiwan
Dialog Semiconductor Taiwan
Phone: +886 281 786 222
Hong Kong
Dialog Semiconductor Hong Kong
Phone: +852 2607 4271
Korea
Dialog Semiconductor Korea
Phone: +82 2 3469 8200
China (Shenzhen)
Dialog Semiconductor China
Phone: +86 755 2981 3669
China (Shanghai)
Dialog Semiconductor China
Phone: +86 21 5424 9058
Email:
enquiry@diasemi.com
Web site:
www.dialog-semiconductor.com
Loading...