summaryrefslogtreecommitdiff
path: root/examples/device/hid_boot_interface/src
diff options
context:
space:
mode:
authorDave Nadler <[email protected]>2023-01-22 12:11:50 -0500
committerDave Nadler <[email protected]>2023-01-22 12:11:50 -0500
commit9b6ef4fcbc6f634d2c20a2c16409fbbf50fca4c6 (patch)
tree8e2f9196dc1095db6129a4cfc92ea740a864b19a /examples/device/hid_boot_interface/src
parentea098aeda1c2b9fe467041be325e55049e304ee4 (diff)
When tools/top.mk finds it is running on Windows, it expects SHELL set to cmd.exe.
Some Windows development environments invoke a mingw version of gnu make with SHELL set to /bin/sh or /bin/bash (either explicitly or by default), in which case tinyUSB make fails when a $(shell...) command feeds DOS syntax to sh. We can't just use sh, as many Windows environments won't have unix utilities like realpath (used by this makefile for sh shell commands). This fix forces SHELL=cmd.exe on Windows and documents the issue. Also adds additional documentation to help the next person... With this fix, tinyUSB can be easily built and debugged in environments like NXP's MCUxpresso (import as a makefile project).
Diffstat (limited to 'examples/device/hid_boot_interface/src')
0 files changed, 0 insertions, 0 deletions