penv setup moved in platform (#296)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user