This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

header file "MKL25Z4.h" not found for FRDM-KL25Z128xxx4

I am using Keil MDK-ARM version for FRDM-KL25Z128xxx4 board. I have downloaded all the required packages using the pack installer.

  

When I create a new project and build the following code, I get the following error even though I have it included:


Build started: Project: SampleProj
*** Using Compiler 'V6.16', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'Target 1'
RTE/Device/MKL25Z128xxx4/system_MKL25Z4.c(100): error: 'MKL25Z4.h' file not found
#include "MKL25Z4.h"
^~~~~~~~~~~
1 error generated.
compiling system_MKL25Z4.c...
"Sample.s", line 1 (column 3): Error: A1137E: Unexpected characters at end of line
1 00000000 #include <MKL25Z4.h>
^
1 Error, 0 Warnings
assembling Sample.s...
".\Objects\SampleProj.axf" - 1 Error(s), 0 Warning(s).
Target not created.


The code is in assembly language (.s):

		area sample, code, readonly
				export __main
					
__main

		mov r1,r2
		mov r3,r2
		end
The following is the screenshot of the error and the code:
So what can be done to resolve this?
Parents Reply Children