2020-04-01 20:24:46 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# The following five lines of boilerplate have to be in your project's
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# CMakeLists in this exact order for cmake to work correctly
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								cmake_minimum_required(VERSION 3.5)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-07 13:42:48 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# TOP is absolute path to root directory of TinyUSB git repo
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								set(TOP "../../..")
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								get_filename_component(TOP "${TOP}" REALPATH)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-09 11:19:08 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# Add example src and bsp directories
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-29 16:52:08 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								set(EXTRA_COMPONENT_DIRS "src" "${TOP}/hw/bsp/${BOARD}")
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-09 11:19:08 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-01 20:24:46 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								include($ENV{IDF_PATH}/tools/cmake/project.cmake)
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-08 23:20:05 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								set(SUPPORTED_TARGETS esp32s2)
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-01 20:24:46 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-01 22:55:26 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								project(cdc_msc_freertos)
							 |