 
					
				
		
I have two FRDM-KL25 boards, I installed CW 10.3 and The Kinetis L sample code. Using the instructions in the FRDM-KL25Z-QSP document I compiled and ran the hello-world application without incident. When I try the other samples in the same folder they all fail with errors like:
Description Resource Path Location Type
ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c undefined reference to `WriteUARTN' accelerometer_demo line 151 C/C++ Problem
or:
Description Resource Path Location Type
mingw32-make: *** [accelerometer_demo.elf] Error 1 accelerometer_demo C/C++ Problem
Sample programs that fail are never a good sign. Can I expect an update soon?
Solved! Go to Solution.
 
					
				
		
Hi,
KL25_sc provides CW examples using Processor Expert (PEx) tool, one of this examples is accelerometer_demo which is in projects folder. PEx projects needs to generate the code for each component. That is why CW compiler does not find some UART functions or others.
You need to Generate Processor Expert Code:
        
2. Wait......
3. Compile again.
Hope this helps.
 
					
				
		
 dereksnell
		
			dereksnell
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Also, the reason WriteUARTN() is required is because of the ANSI library. Erich has a great post discussing using the ANSI library in CW10 at this link:
Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse
 
					
				
		
Hi,
KL25_sc provides CW examples using Processor Expert (PEx) tool, one of this examples is accelerometer_demo which is in projects folder. PEx projects needs to generate the code for each component. That is why CW compiler does not find some UART functions or others.
You need to Generate Processor Expert Code:
        
2. Wait......
3. Compile again.
Hope this helps.
 
					
				
		
I needed the Community Development License for PE to work, once I found
that all is well.
