penv setup moved in platform (#296)

This commit is contained in:
Jason2866
2025-10-08 18:57:41 +02:00
committed by GitHub
parent 85062ff9e3
commit dabbde41f9
9 changed files with 933 additions and 269 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ import os
import shutil
import re
import yaml
from yaml import SafeLoader
from pathlib import Path
from typing import Set, Optional, Dict, Any, List, Tuple, Pattern
from yaml import SafeLoader
class ComponentManagerConfig:
@@ -252,7 +252,7 @@ class ComponentHandler:
Returns:
Absolute path to the component YAML file
"""
# Try Arduino framework first
# Check Arduino framework directory first
afd = self.config.arduino_framework_dir
framework_yml = str(Path(afd) / "idf_component.yml") if afd else ""
if framework_yml and os.path.exists(framework_yml):