summaryrefslogtreecommitdiff
path: root/tools/top.mk
AgeCommit message (Collapse)Author
2023-03-06integrate top.mk into make.mkhathach
2023-03-06clean up tophathach
2023-03-05fix ci build on windowshathach
2023-03-03use make abspath intead of shell realpathhathach
2023-01-30minor clean uphathach
2023-01-22When tools/top.mk finds it is running on Windows, it expects SHELL set to ↵Dave Nadler
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).
2021-01-14replaced variable name to CMDEXE from UNAME.kkitayam
removed the rule that .d files are converted to .P files.
2021-01-11added support for cmd.exe as a shell on make.kkitayam
2019-03-27replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stallhathach
- remove dcd_edpt_stalled() from dcd porting
2018-11-25Introduce a Makefile for the OS_NONE device exampleScott Shawcroft
It currently supports the SAMD21 and SAMD51 only. More will be added later.