AnsweredAssumed Answered

Where can i find the other header files?

Question asked by Joe Campbell on Oct 13, 2015
Latest reply on Oct 13, 2015 by Kerry Zhou

I am currently porting the Mbed CMSIS-DAP firmware to the FRDM-KL26Z board.
I have been looking for the files that are avalible for the other supported microcontrollers, and these are similar to as follows:

 

//     #include "device/MKL25Z4/MKL25Z4_adc.h"
//     #include "device/MKL25Z4/MKL25Z4_cmp.h"
//     #include "device/MKL25Z4/MKL25Z4_dac.h"
//     #include "device/MKL25Z4/MKL25Z4_dma.h"
//     #include "device/MKL25Z4/MKL25Z4_dmamux.h"
//     #include "device/MKL25Z4/MKL25Z4_fgpio.h"
 #include "device/MKL25Z4/MKL25Z4_ftfa.h"
//     #include "device/MKL25Z4/MKL25Z4_gpio.h"
//     #include "device/MKL25Z4/MKL25Z4_i2c.h"
//     #include "device/MKL25Z4/MKL25Z4_llwu.h"
//     #include "device/MKL25Z4/MKL25Z4_lptmr.h"
//     #include "device/MKL25Z4/MKL25Z4_mcg.h"
  #include "device/MKL25Z4/MKL25Z4_mcm.h"
//     #include "device/MKL25Z4/MKL25Z4_mtb.h"
//     #include "device/MKL25Z4/MKL25Z4_mtbdwt.h"
//     #include "device/MKL25Z4/MKL25Z4_nv.h"
//     #include "device/MKL25Z4/MKL25Z4_osc.h"
//     #include "device/MKL25Z4/MKL25Z4_pit.h"
//     #include "device/MKL25Z4/MKL25Z4_pmc.h"
//     #include "device/MKL25Z4/MKL25Z4_port.h"
//     #include "device/MKL25Z4/MKL25Z4_rcm.h"
//     #include "device/MKL25Z4/MKL25Z4_rom.h"
//     #include "device/MKL25Z4/MKL25Z4_rtc.h"
#include "device/MKL25Z4/MKL25Z4_sim.h"
//     #include "device/MKL25Z4/MKL25Z4_smc.h"
//     #include "device/MKL25Z4/MKL25Z4_spi.h"
//     #include "device/MKL25Z4/MKL25Z4_tpm.h"
//     #include "device/MKL25Z4/MKL25Z4_tsi.h"
//     #include "device/MKL25Z4/MKL25Z4_uart.h"
//     #include "device/MKL25Z4/MKL25Z4_uart0.h"
//     #include "device/MKL25Z4/MKL25Z4_usb.h"

 

however i am unable to find thse files for the KL26z processor, and i have been informed by another contributor to the CMSIS-DAP firmware that these files are generated by freescale and should be part of the SDK, Also, they come with a statement in the header that they have been automatically generated and should not be directly edited.

however after installing several versions of the SDK i am unable to find the files, instead i find

 

MKL26Z4.h
MKL26Z4_extension.h
MKL26Z4_features.h
fsl_bitaccess.h 

 

 

are these other files available somewhere? if not can they be generated somehow?

Or are the header files listed above for the KL26 a concatenation of the other files and i would have to edit the code to suit?

 

 

thanks,

 

Joe

Outcomes