| 
									
										
										
										
											2020-05-04 00:29:52 +07:00
										 |  |  | include ../../../tools/top.mk | 
					
						
							|  |  |  | include ../../make.mk | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | INC += \
 | 
					
						
							|  |  |  | 	src \
 | 
					
						
							|  |  |  | 	$(TOP)/hw \
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Example source
 | 
					
						
							|  |  |  | EXAMPLE_SOURCE += $(wildcard src/*.c) | 
					
						
							|  |  |  | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 11:42:00 +07:00
										 |  |  | # TODO: suppress warning caused by host stack
 | 
					
						
							|  |  |  | CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference | 
					
						
							| 
									
										
										
										
											2020-05-04 00:29:52 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  | # TinyUSB Host Stack source
 | 
					
						
							|  |  |  | SRC_C += \
 | 
					
						
							| 
									
										
										
										
											2020-09-03 17:07:29 +07:00
										 |  |  | 	src/class/cdc/cdc_host.c \
 | 
					
						
							|  |  |  | 	src/class/hid/hid_host.c \
 | 
					
						
							|  |  |  | 	src/class/msc/msc_host.c \
 | 
					
						
							| 
									
										
										
										
											2020-05-04 00:29:52 +07:00
										 |  |  | 	src/host/hub.c \
 | 
					
						
							| 
									
										
										
										
											2020-09-07 15:19:20 +07:00
										 |  |  | 	src/host/usbh.c \
 | 
					
						
							|  |  |  | 	src/host/usbh_control.c \
 | 
					
						
							| 
									
										
										
										
											2021-02-23 23:09:48 +07:00
										 |  |  | 	src/portable/ohci/ohci.c \
 | 
					
						
							| 
									
										
										
										
											2020-05-22 20:57:52 +07:00
										 |  |  | 	src/portable/nxp/lpc17_40/hcd_lpc17_40.c | 
					
						
							| 
									
										
										
										
											2020-05-04 00:29:52 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  | include ../../rules.mk |