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

  1. Download SDK_2.13.0_EVK-MIMXRT1060 and SDK_2.13.0_EVK-MIMXRT1064.

  2. Copy the following folders from RT1060EVK package to RT1064 package: <install_dir>/components/internal_flash/ <install_dir>/middleware/edgefast_bluetooth/ <install_dir>/middleware/wireless/.

  3. Create a folder named edgefast_bluetooth_examples/ under <rt1064_install_dir>/boards/evkmimxrt1064/.

  4. Copy the entire folder from <rt1060evk_install_dir>/boards/evkmimxrt1060/edgefast_bluetooth_examples/peripheral_ht/ to < rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/.

  5. 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.

  6. Add #define EDGEFAST_BT_LITTLEFS_MFLASH 1 in <rt1064_install_dir>/boards/ evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht /app_config.c.

  7. Make the following changes in <rt1064_installed>/boards/evkmimxrt1064/edgefast_bluetooth/peripheral_ht/board.h.

Parent topic:Migrate examples from RT1060EVK to RT1064

IAR

  1. Navigate to <rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/iar/.

  2. Make the following changes.

    File name

    Previous item

    New item

    peripheral_ht.ewp

    1060

    1064

    1062

    1064

  3. Rename MIMXRT1062xxxxx_flexspi_nor.icf as MIMXRT1064xxxxx_flexspi_nor.icf and make the following changes.

Parent topic:Migrate examples from RT1060EVK to RT1064

Arm GCC

  1. Navigate to <rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/armgcc/.

  2. Rename the following files.

    Path

    Previous name

    New name

    <rt1064_install_dir>/middleware/wireless/ethermind/

    middleware_edgefast_bluetooth_k32w061_controller_MIMXRT1062.cmake

    middleware_edgefast_bluetooth_k32w061_controller_MIMXRT1064.cmake

  3. Make following changes.

    File name

    Previous item

    New item

    config.cmake

    1060

    1064

    1062

    1064

    flags.cmake

    1062

    1064

    CMakeLists.txt

    1060

    1064

    1062

    1064

  4. mflash is used in RT1064 instead of flash_adapter,therefore, comment include(component_flexspi_nor_flash_adapter_rt1064_MIMXRT1064) in CMakeLists.txt.

  5. Rename MIMXRT1062xxxxx_flexspi_nor.ld as MIMXRT1064xxxxx_flexspi_nor.ld and make the following changes.

Parent topic:Migrate examples from RT1060EVK to RT1064

MDK

  1. Navigate to <rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/mdk/.

  2. Make following changes.

    File name

    Previous item

    New item

    peripheral_ht.uvprojx

    1060

    1064

    1062

    1064

  3. Copy evkmimxrt1064_flexspi_nor.ini from <rt1064_install_dir>/boards/evkmimxrt1064/demo_apps/hello_world/mdk/ to <rt1064_install_dir>/boards/evkmimxrt1064/edgefast_bluetooth_examples/peripheral_ht/mdk/.

  4. Rename MIMXRT1062xxxxx_flexspi_nor as MIMXRT1064xxxxx_flexspi_nor and make the following changes.

Parent topic:Migrate examples from RT1060EVK to RT1064