From e06f4a3ffef4a55db1e583f24483d1ce6daa5ec8 Mon Sep 17 00:00:00 2001 From: Greg Steiert Date: Mon, 30 Dec 2019 09:11:52 -0800 Subject: [PATCH] fixed build issue with i.MXRT1010-EVK, corrected typo in examples/readme --- examples/readme.md | 2 +- hw/bsp/mimxrt1010_evk/board.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/readme.md b/examples/readme.md index dc4c563d..897931b0 100644 --- a/examples/readme.md +++ b/examples/readme.md @@ -12,7 +12,7 @@ $ cd tinyusb TinyUSB examples includes external repos aka submodules to provide low-level MCU peripheral's driver to compile with. Therefore we will firstly fetch those mcu driver repo by running this command in the top folder repo ``` -$ git submodule update --init --rescursive +$ git submodule update --init --recursive ``` It will takes a bit of time due to the number of supported MCUs, luckily we only need to do this once. diff --git a/hw/bsp/mimxrt1010_evk/board.mk b/hw/bsp/mimxrt1010_evk/board.mk index 24a3dbdc..7b61cb24 100644 --- a/hw/bsp/mimxrt1010_evk/board.mk +++ b/hw/bsp/mimxrt1010_evk/board.mk @@ -11,7 +11,8 @@ CFLAGS += \ -DCFG_TUSB_MCU=OPT_MCU_MIMXRT10XX # mcu driver cause following warnings -CFLAGS += -Wno-error=unused-parameter -Wno-error=implicit-fallthrough= +# CFLAGS += -Wno-error=unused-parameter -Wno-error=implicit-fallthrough= +CFLAGS += -Wno-error=unused-parameter MCU_DIR = hw/mcu/nxp/sdk/devices/MIMXRT1011