S32 SDK
Hello World - Makefile

Basic application that presents the project scenarios for S32 SDK using makefiles for various compilers

Application description


The purpose of this demo is to provide the user with an out-of-the box example application for S32K148 platform, using S32 SDK. The demo uses hardware abstraction layer primitives for PCC and PORT modules in order to toggle two LEDs alternatively.

There are five projects delivered with this package:

  • Makefile project (GCC compiler)
  • Makefile project (GHS compiler)
  • Makefile project (IAR compiler)
  • Makefile project (CSMC compiler)
  • Makefile project (DCC compiler)
Note
For information about how to run the makefile please refer to Usage

Prerequisites


The run the example you will need to have the following items:

  • 1 S32K148 board
  • 1 Power Adapter 12V (if the board cannot be powered from the USB port)
  • 1 Personal Computer
  • 1 Jlink Lite Debugger (optional, users can use Open SDA)

Boards supported


The following boards are supported by this application:

  • S32K148EVB-Q100
  • S32K148-MB

Hardware Wiring


The following connections must be done to for this example application to work:

PIN FUNCTION S32K148EVB-Q100 S32K148-MB
RED_LED (PTD15) RGB_RED - wired on the board J12.17 - J11.31
GREEN_LED (PTD16) RGB_GREEN - wired on the board J12.16 - J11.30