| 
									
										
										
										
											2019-08-24 23:30:35 +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)) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-06 14:11:45 +07:00
										 |  |  | # board_test example is special example that doesn't enable device or host stack
 | 
					
						
							|  |  |  | # This can cause some TinyUSB API missing, this hack to allow us to fill those API
 | 
					
						
							|  |  |  | # to pass the compilation process
 | 
					
						
							|  |  |  | CFLAGS +=	\
 | 
					
						
							| 
									
										
										
										
											2020-04-17 12:27:53 +07:00
										 |  |  | 	-D"tud_int_handler(x)= " \
 | 
					
						
							| 
									
										
										
										
											2020-04-06 14:11:45 +07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-24 23:30:35 +07:00
										 |  |  | include ../../rules.mk |