wolfssl-examples/RT1060
tim-weller-wolfssl b13220c375 Update RT1060 example to support MIMXRT1060-EVKB board with SDK 2.13.1 2023-04-11 09:41:41 -05:00
..
MIMXRT1062xxxxx_flexspi_nor.ld Update RT1060 example to support MIMXRT1060-EVKB board with SDK 2.13.1 2023-04-11 09:41:41 -05:00
Makefile Update RT1060 example to support MIMXRT1060-EVKB board with SDK 2.13.1 2023-04-11 09:41:41 -05:00
README.md Update RT1060 example to support MIMXRT1060-EVKB board with SDK 2.13.1 2023-04-11 09:41:41 -05:00
board.c Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
board.h Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
clock_config.c Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
clock_config.h Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
common.c Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
dcd.c Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
dcd.h Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
main-bench.c Added "wolfCrypt_Init" for DCP initialization. 2020-09-23 13:18:49 +02:00
main-test.c Added "wolfCrypt_Init" for DCP initialization. 2020-09-23 13:18:49 +02:00
peripherals.c Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
peripherals.h Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
pin_mux.c Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
pin_mux.h Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
results.md Added wolfCrypt test+benchmark for NXP IMX-RT1060 2020-09-14 10:25:25 +02:00
user_settings.h Added "wolfCrypt_Init" for DCP initialization. 2020-09-23 13:18:49 +02:00

README.md

The examples for NXP i.MXRT1060 support the MMIMXRT1060-EVKB and the MMIMXRT1060-EVK boards.

Building and running the examples

Set up the NXP MCUXpresso SDK

  • Use the NXP MCUXpresso SDK Builder available from NXP (https://mcuxpresso.nxp.com) to generate the SDK choosing:

    • Required Toolchains: GCC ARM Embedded

    For MIMXRT1060-EVKB:

    • Development Board: MIMXRT1060-EVKB (IMXRT1062xxxxA)
    • Version: 2.13.1

    For EVK-IMXRT1060:

    • Development Board: EVK-MIMXRT1060 (IMXRT1062xxxxA)
    • Version: 2.8.2
  • Download the generated SDK archive and unpack it into:

    For MIMXRT1060-EVKB:

    • wolfssl-examples/RT1060/SDK_2_13_1_MIMXRT1060-EVKB

    For EVK-MIMXRT1060:

    • wolfssl-examples/RT1060/SDK_2_8_2_EVK-MIMXRT1060

Set up ARM cross-compilation tools

  • Ensure that a recent arm-gcc toolchain is installed and reachable via the CC environment variable.

Set up wolfSSL

  • In the same directory as wolfssl-examples (i.e. the parent directory):
$ git clone git@github.com:wolfssl/wolfssl.git

Build wolfSSL

  • In the wolfssl-examples/RT1060 directory:

    • For MIMXRT1060-EVKB:
$ SDK=SDK_2_13_1_MIMXRT1060-EVKB make
  • For EVK-MIMXRT106:
$ SDK=SDK_2_8_2_EVK-MIMXRT1060 make

The resulting binary files will be in wolfssl-examples/RT1060:

  • wolfcrypt-test.bin - wolfCrypt crytography test

  • wolfcrypt-benchmark.bin - wolfCrypt cryptography benchmark

Download and run the built wolfSSL examples

  • Connect the board to the host computer via the debug port

  • Copy a wolfSSL example binary file to the storage device associated with the board

  • Wait for the board to flash the image and reset

  • Open a terminal console emulator and connect it to the port associated with the board, e.g. /dev/ttyACM0

  • Reset the board. The wolfSSL example output will display in the terminal console

Notes

  • EVK-MIMXRT1060 benchmark results are also available in the file results.md

  • MIMXRT1060-EVKB example developed using arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release) on Ubuntu 22.04LTS host