mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Set correct include_dir in platformio.ini (#2999)
This commit is contained in:
		| @@ -5,8 +5,13 @@ | ||||
|  | ||||
| [platformio] | ||||
| default_envs = esp8266, esp32, esp32-idf | ||||
| ; Ideally, we want src_dir to be the root directory of the repository, to mimic the runtime build | ||||
| ; environment as best as possible. Unfortunately, the ESP-IDF toolchain really doesn't like this | ||||
| ; being the root directory. Instead, set esphome/ as the source directory, all our sources are in | ||||
| ; there anyway. Set the root directory as the include_dir, so that the esphome/ directory is on the | ||||
| ; include path. | ||||
| src_dir = esphome | ||||
| include_dir = | ||||
| include_dir = . | ||||
|  | ||||
| [runtime] | ||||
| ; This are the flags as set by the runtime. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user