Where can i find the other header files?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where can i find the other header files?

1,250 Views
joecampbell
Contributor II

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

0 Kudos
Reply
1 Reply

756 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Joe Campbell,

    Actually, you don't need to find the same source file as the KL25 file which you get, I think these KL25 sample code is not from Freescale website, it is just the driver for KL25.

You can use the Freescale's KL26 sample code and the driver source file directly, now our KSDK is supporting your FRDM-KL26, and have the according project, then you can use your CMSIS-DAP to download it.

After you install the KSDK, you can find the sample code project from path: C:\Freescale\KSDK_1.3.0\examples\frdmkl26z

Wish it helps you!

If you still have question, please contact me!


Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply