Skip to content

Commit 7b4ea71

Browse files
authored
Update component_manager.py
1 parent 5d892a2 commit 7b4ea71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/frameworks/component_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def __init__(self, env):
2222
self.ignored_libs: Set[str] = set()
2323

2424
self.arduino_framework_dir = self.platform.get_package_dir("framework-arduinoespressif32")
25-
self.arduino_libs_mcu = join(self.platform.get_package_dir("framework-arduinoespressif32-libs", self.mcu))
25+
base_libs_dir = self.platform.get_package_dir("framework-arduinoespressif32-libs")
26+
self.arduino_libs_mcu = join(base_libs_dir, self.mcu)
2627

2728
def handle_component_settings(self, add_components: bool = False, remove_components: bool = False) -> None:
2829
"""Handle adding and removing IDF components based on project configuration."""

0 commit comments

Comments
 (0)