Skip to content

Commit

Permalink
Update Tinyusb Build System Integration (#1)
Browse files Browse the repository at this point in the history
* Update tinyusb build system integration

- Swap out Makefile for latest project "driver" Makefile.  The only
  difference here is that TARGET is floating.
- Simplify tinyusb.mk
- Add build-specific configuration to project.mk, and simplify
  IPATH/VPATH requirements
- Add clean.tinyusb
- Build library inside the tinyusb library by default
- Add default configuration directory

* Use override on PROJECT
  • Loading branch information
Jake-Carter authored Aug 12, 2024
1 parent 1501575 commit ab4d5e5
Show file tree
Hide file tree
Showing 5 changed files with 500 additions and 103 deletions.
2 changes: 1 addition & 1 deletion Libraries/libs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ endif
LIB_TINYUSB ?= 0
ifeq ($(LIB_TINYUSB), 1)
TINYUSB_DIR ?= $(LIBS_DIR)/tinyusb
TINYUSB_CONFIG_DIR ?= .
include $(TINYUSB_DIR)/tinyusb.mk
libclean: clean.tinyusb
endif
# ************************

Expand Down
Loading

0 comments on commit ab4d5e5

Please sign in to comment.