summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-01-01 13:35:36 +0700
committerGitHub <[email protected]>2020-01-01 13:35:36 +0700
commit97c216bc040a8cde289382d5caff9a8a5e2cbdb5 (patch)
treea9bf60a6c450de104587ef3f520f028d339be243
parent6b3eb5f17386d21b2b9f0bad2d1c06b73f07cb5f (diff)
parente06f4a3ffef4a55db1e583f24483d1ce6daa5ec8 (diff)
Merge pull request #257 from gsnxp/rt1010fix
fixed build issue with i.MXRT1010-EVK, corrected typo in examples/readme
-rw-r--r--examples/readme.md2
-rw-r--r--hw/bsp/mimxrt1010_evk/board.mk3
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/readme.md b/examples/readme.md
index dc4c563dd..897931b0e 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 24a3dbdcd..7b61cb241 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