AnsweredAssumed Answered

KL03 struggling to set up a bare metal ksdk application

Question asked by Ted Mawson on Apr 18, 2016
Latest reply on Apr 25, 2016 by Derek Snell

I have designed my own board that uses a MKL03Z32CAF4R processor.


I'm using KDS 3.1.0 and KSDK 1.3.0 and I want to create a simple bare metal application that operates the GPIO pins and reads an A2D on PTA9.  I tried to find an example of how to do this that wasn't related to a development board but the nearest I found was the pdf at the bottom of this link Writing my first KSDK1.2 Application in KDS3.0 - Hello World and Toggle LED with GPIO Interrupt which is for KSDK 1.2.0 and may not work for KSDK 1.3.0.  got as far as adding the /Board directory and copying the files across into it but gpio_pins.h contains a #include "fsl_gpio_drvier.h" that is giving a not found fatal error even though I've added a path to the Includes of C:\Freescale\KSDK_1.3.0\platform\drivers\inc


A. Will this KSDK 1.2.0 example even work with KSDK 1.3.0 ?

B. Is there not a simpler way to achieve my aim?


I'm frustrated that there are all these cool fsl_xxx drivers that I can open and understand but it's far from clear in the documentation how to add them to a bare project.