Migrate examples from RT1060EVK to RT1064#
This topic describes the Common steps and the steps to migrate with the IAR, Arm GCC, and MDKtoolchains.
Common steps#
Download SDK_2.13.0_EVK-MIMXRT1060 and SDK_2.13.0_EVK-MIMXRT1064.
Copy the following folders from RT1060EVK package to RT1064 package:
<install_dir>/components/internal_flash/ <install_dir>/middleware/edgefast_bluetooth/ <install_dir>/middleware/wireless/.Create a folder named
edgefast_bluetooth_examples/under<rt1064_install_dir>/boards/evkmimxrt1064/.Copy the entire folder from
<rt1060evk_install_dir>/boards/evkmimxrt1060/edgefast_bluetooth_examples/peripheral_ht/to< rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/.Copy clock_config.[c/h] and board.c from
<rt1064_install_dir>/boards/evkmimxrt1064/demo_apps/hello_world/to<rt1064_installed>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/to replace the previous files.Add
#define EDGEFAST_BT_LITTLEFS_MFLASH 1in<rt1064_install_dir>/boards/ evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht /app_config.c.Make the following changes in
<rt1064_installed>/boards/evkmimxrt1064/edgefast_bluetooth/peripheral_ht/board.h.
Parent topic:Migrate examples from RT1060EVK to RT1064
IAR#
Navigate to
<rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/iar/.Make the following changes.
File name
Previous item
New item
peripheral_ht.ewp
1060
1064
1062
1064
Rename
MIMXRT1062xxxxx_flexspi_nor.icfasMIMXRT1064xxxxx_flexspi_nor.icfand make the following changes.

Parent topic:Migrate examples from RT1060EVK to RT1064
Arm GCC#
Navigate to
<rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/armgcc/.Rename the following files.
Path
Previous name
New name
<rt1064_install_dir>/middleware/wireless/ethermind/middleware_edgefast_bluetooth_k32w061_controller_MIMXRT1062.cmakemiddleware_edgefast_bluetooth_k32w061_controller_MIMXRT1064.cmakeMake following changes.
File name
Previous item
New item
config.cmake
1060
1064
1062
1064
flags.cmake
1062
1064
CMakeLists.txt
1060
1064
1062
1064
mflash is used in RT1064 instead of flash_adapter,therefore, comment
include(component_flexspi_nor_flash_adapter_rt1064_MIMXRT1064)in CMakeLists.txt.Rename
MIMXRT1062xxxxx_flexspi_nor.ldasMIMXRT1064xxxxx_flexspi_nor.ldand make the following changes.

Parent topic:Migrate examples from RT1060EVK to RT1064
MDK#
Navigate to
<rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/mdk/.Make following changes.
File name
Previous item
New item
peripheral_ht.uvprojx
1060
1064
1062
1064
Copy
evkmimxrt1064_flexspi_nor.inifrom<rt1064_install_dir>/boards/evkmimxrt1064/demo_apps/hello_world/mdk/to<rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/mdk/.Rename
MIMXRT1062xxxxx_flexspi_norasMIMXRT1064xxxxx_flexspi_norand make the following changes.

Parent topic:Migrate examples from RT1060EVK to RT1064