3 years, 9 months ago.

Where can we find the board initialization of K22 ?

I need to the bsp for the K22 , how to find any initialization example for this board?

Question relating to:

The FRDM-K22F is an ultra-low-cost development platform for Kinetis K Series K2x (K22F) MCUs built on ARM® Cortex™-M4 processor. Features include easy access to MCU I/O, battery-ready, low-power operation, a …

1 Answer

3 years, 9 months ago.

Do you want to look at the HAL for K22F? If so, please see here for the full directory - https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F.

Here is the startup file for GCC_ARM (located in the HAL directory) - https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/TOOLCHAIN_GCC_ARM/startup_MK22F51212.S. You can find the other startup files for other compilers one directory up.