S32M2xx_Development_Package_User_Guide
S32M2xx_Development_Package_User_Guide
13
User Guide
Chapter 1: Introduction...........................................................................................3
About this document.............................................................................................................................................4
About the product................................................................................................................................................. 4
Installation and update..........................................................................................................................................4
Related documentation..........................................................................................................................................5
Glossary.................................................................................................................................................................5
Chapter 2: Tasks...................................................................................................... 6
Designing projects................................................................................................................................................ 7
Creating a project..................................................................................................................................... 7
2 NXP Semiconductors
Introduction
Chapter
1
Introduction
Topics:
NXP Semiconductors 3
Introduction
4 NXP Semiconductors
Introduction
Related documentation
These referenced documents are available in the help system of S32 Design Studio for S32 Platform 3.5.13:
[1] S32DS User Guide, the PDF version is available in the <S32DS_install_path>/S32DS/help/pdf folder
[2] S32 Configuration Tools Getting Started
[3] PnE GDB Server Plug-In Debug Configuration User Guide, the PDF version is available in the
<S32DS_install_path>/S32DS/help/pdf folder.
Glossary
The following table deciphers the acronyms used in this document.
Table 1: Acronyms
Acronym Description
ABI Application Binary Interface
FPU Floating Point Unit
GCC GNU Compiler Collection
GDB GNU Debugger
I/O Input/output
IDE Integrated Development Environment
MCU Microcontroller Unit
S32DS S32 Design Studio for S32 Platform
SDK Software Development Kit
RTD Real-Time Drivers
NXP Semiconductors 5
Tasks
Chapter
2
Tasks
Topics:
• Designing projects
6 NXP Semiconductors
Tasks
Designing projects
Creating a project
To create an application project or a library project for S32M2xx:
1. Run S32 Design Studio for S32 Platform.
2. On the File menu, click New, then click S32DS Application Project or S32DS Library Project to launch the
respective project creation wizard.
3. Select the required target in the Processors pane:
Setting Description
Project name The project name. A valid project name is unique in the current workspace,
uses ASCII characters in the range of ‘A-z’, digits, and underscores, and starts
with a letter.
Use default location If this option is enabled, the project files are stored in the default folder
specified in the Location field. Disable this option to specify a different path in
the Location field.
Location The full path of the project’s root folder.
ToolChain Selection Details on the selected processor: core kind, core name, and GCC toolchain that
will be used to build the project. The following options are available depending
on the processor selected:
• NXP GCC 10.2 for Arm 32-bit Bare-Metal for processors based on
Cortex-M
• NXP GCC 9.2 for Arm 32-bit Bare-Metal for processors based on
Cortex-M
NXP Semiconductors 7
Tasks
Setting Description
• NXP GCC 6.3 for Arm 32-bit Bare-Metal for processors based on
Cortex-M
• IAR Toolchain for ARM - (8.x)
The IAR toolchain is not included in the installation package. Install
IAR Embedded Workbench for ARM 8.x, then install IAR
Embedded Workbench plug-in manager to S32 Design Studio for
S32 Platform 3.5.13. After that, install IAR Embedded Workbench
plug-in for ARM 8.x using the plug-in manager.
• GHS ARM Standalone Executable Toolchain for 32-bit processors
The GHS plug-in is not included in the installation package. Click Help
> Install New Software to install the plug-in from the corresponding
site.
5. Click Next.
6. On the next wizard page, select the cores. A dedicated project will be created for each selected core.
8 NXP Semiconductors
Tasks
Setting Description
Library The ANSI C/C++ library (GCC compiler) to be linked to the project. Options:
• NewLib: An open-source C/C++ library.
• NewLib Nano: A Newlib version that is targeting memory constrained
devices.
• EWL: A proprietary library created by NXP.
• EWL Nano: An EWL version that is targeting memory constrained
devices. Has a smaller footprint than NewLib Nano.
The availability of libraries depends on GCC toolchain.
NXP Semiconductors 9
Tasks
Setting Description
Operation Mode Operation Mode:
• Not Applicable
8. Click Finish.
The wizard creates the new project according to the specified details. The new project is displayed in the Project
Explorer view. If you have selected multiple cores, the wizard creates a separate project for each selected core.
10 NXP Semiconductors
How to Reach Us: Information in this document is provided solely to enable system and software
implementers to use NXP products. There are no express or implied copyright licenses
Home Page:
granted hereunder to design or fabricate any integrate circuits based on the information
nxp.com in this document. NXP reserves the right to make changes without further notice to any
products herein.
Web Support:
NXP makes no warranty, representation, or guarantee regarding the suitability of its
nxp.com/support
products for any particular purpose, nor does NXP assume any liability arising out of
the application or use of any product or circuit, and specifically disclaims any and all
liability, including without limitation consequential or incidental damages. “Typical”
parameters that may be provided in NXP data sheets and/or specifications can and do
vary in different applications, and actual performance may vary over time. All operating
parameters, including “typicals”, must be validated for each customer application by
customer's technical experts. NXP does not convey any license under its patent rights nor
the rights of others. NXP sells products pursuant to standard terms and conditions of sale,
which can be found at the following address: nxp.com/SalesTermsandConditions.
While NXP Semiconductors has implemented advanced security features, all products may
be subject to unidentified vulnerabilities. Customers are responsible for the design and
operation of their applications and products to reduce the effect of these vulnerabilities on
customer’s applications and products, and NXP Semiconductors accepts no liability for
any vulnerability that is discovered. Customers should implement appropriate design and
operating safeguards to minimize the risks associated with their applications and products.
NXP, the NXP logo, NXP SECURE CONNECTIONS FOR A SMARTER WORLD,
Airfast, Altivec, CodeWarrior, ColdFire, ColdFire+, CoolFlux, CoolFluxDSP, the CoolFlux
logo, EdgeLock, EdgeScale, EdgeVerse, eIQ, Embrace, Freescale, the Freescale logo,
GreenChip, the GreenChip logo, HITAG, ICODE, I - CODE, Immersiv3D, JCOP, Kinetis,
Layerscape, MagniV, Mantis, MIFARE, the MIFARE logo, MIFARE CLASSIC, MIFARE
DESFire, MIFARE FleX, MIFARE Plus, MIFARE Ultralight, MIFARE 4Mobile, the
MIFARE4Mobile logo, MiGLO, mobileGT, NTAG, the NTAG logo, PEG, Plus X,
PowerQUICC, Processor Expert, QorIQ, QorIQ Qonverge, Qorivva, RoadLINK, the
RoadLINK logo, SafeAss ure, SmartM X, StarCore, Symphony, Tower, TriMedia,
UCODE, the UCODE DNA logo, VortiQa and Vybrid are trademarks of NXP. All other
product or service names are the property of their respective owners. AMBA, Arm, Arm7,
Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio, CoreLink, CoreSight, Cortex,
DesignStart, DynamIQ, Jazelle, Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView,
SecurCore, Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS,
ULINKpro, µVision, Versatile are trademarks or registered trademarks of Arm Limited
(or its subsidiaries) in the US and/or elsewhere. The related technology may be protected
by any or all of patents, copyrights, designs and trade secrets. All rights reserved. Oracle
and Java are registered trademarks of Oracle and/or its affiliates. The Power Architecture
and Power.org word marks and the Power and Power.org logos and related marks are
trademarks and service marks licensed by Power.org.
NXP Semiconductors 11