12 lines
		
	
	
		
			366 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			366 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
cmake_minimum_required(VERSION 3.16)
 | 
						|
 | 
						|
# Minimal ESP-IDF project to build only the bootloader
 | 
						|
# You must have ESP-IDF installed and IDF_PATH exported.
 | 
						|
 | 
						|
# Pin the target to ESP32-C6 to ensure correct bootloader build
 | 
						|
# (must be set before including project.cmake)
 | 
						|
set(IDF_TARGET "esp32c6")
 | 
						|
 | 
						|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
 | 
						|
project(custom_bootloader)
 |