Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7a0aa25
refactor espidf.py with path
Jason2866 Sep 3, 2025
7283c55
Fix cache check for Arduino libraries
Jason2866 Sep 4, 2025
41ef65a
Update lib_ignore to exclude 'ble' for ESP32 boards
Jason2866 Sep 4, 2025
7f1b4e1
Update platformio.ini to ignore 'ble' library
Jason2866 Sep 4, 2025
56104c9
Add Arduino TinyUSB library support in component manager
Jason2866 Sep 4, 2025
13e7ee6
remove assert from code model check
Jason2866 Sep 4, 2025
d762d39
remove another assert
Jason2866 Sep 4, 2025
1985e31
Remove unsetting of IDF_TOOLS_PATH in espidf.py
Jason2866 Sep 4, 2025
c19ed74
Refactor component_manager.py to use pathlib
Jason2866 Sep 4, 2025
6acbe37
Implement component ignore handling and improve error messages
Jason2866 Sep 4, 2025
fbaab58
Refactor path handling to use pathlib
Jason2866 Sep 4, 2025
5fe26f6
Refactor file path handling to use pathlib
Jason2866 Sep 4, 2025
c44641e
Refactor path handling to use pathlib
Jason2866 Sep 4, 2025
0650fc7
Refactor file paths to use pathlib
Jason2866 Sep 4, 2025
79b170d
Refactor path handling to use Path objects
Jason2866 Sep 4, 2025
2eab540
Fix formatting for CMAKE_DIR in espidf.py
Jason2866 Sep 4, 2025
a8cb3fd
Fix formatting in upload command
Jason2866 Sep 4, 2025
82f30fc
Refactor find_lib_deps to use a set for ignores (more reliable)
Jason2866 Sep 4, 2025
9faaa9e
Fix formatting in UPLOADER path assignment
Jason2866 Sep 4, 2025
8a45838
Update examples by removing components
Jason2866 Sep 4, 2025
625b8a7
Align custom_component_remove entries in platformio.ini
Jason2866 Sep 4, 2025
f4bf033
Add network_provisioning to custom_component_remove
Jason2866 Sep 4, 2025
c4218bc
Add some more libs to lib_ignore
Jason2866 Sep 4, 2025
77bc425
Specify exception types in lib_ignore processing
Jason2866 Sep 5, 2025
5b43aea
Refactor file handling for custom_sdkconfig
Jason2866 Sep 5, 2025
2b3b2ca
revert custom_sdkconfig file detection
Jason2866 Sep 5, 2025
90e5e09
Improve error handling for Ninja build file and Python path find
Jason2866 Sep 5, 2025
cb86688
project link script and improve extra images handling
Jason2866 Sep 5, 2025
ada05db
Improve object path resolution in espidf.py
Jason2866 Sep 5, 2025
838e072
Refactor string formatting to be whitespace safe in path
Jason2866 Sep 5, 2025
355ca44
Refactor file paths to use f-strings
Jason2866 Sep 5, 2025
e00157c
Fix file extraction and null byte handling
Jason2866 Sep 5, 2025
b83440e
Refactor Arduino libraries path assignment
Jason2866 Sep 5, 2025
c00e566
no str in function string
Jason2866 Sep 5, 2025
2165443
Refactor arduino_libs_mcu assignment for clarity
Jason2866 Sep 5, 2025
54ece58
Handle case when ald is not defined
Jason2866 Sep 5, 2025
85ab51f
Update embedded file handling in _embed_files.py
Jason2866 Sep 5, 2025
9217fbb
Escape TARGET and SOURCES variables in command
Jason2866 Sep 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions builder/frameworks/component_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,9 @@ def _get_lib_ignore_entries(self) -> List[str]:
'spi_flash', # Flash memory access
'esp_timer', # Timer functions
'esp_event', # Event system
'log' # Logging system
'log', # Logging system
'arduino_tinyusb', # Arduino TinyUSB library
'tinyusb' # TinyUSB library
]

filtered_entries = []
Expand Down Expand Up @@ -808,7 +810,10 @@ def _map_library_to_include_path(self, lib_name: str, dir_name: str) -> str:
'esptouch': 'esp_smartconfig',
'ping': 'lwip',
'netif': 'lwip',
'tcpip': 'lwip'
'tcpip': 'lwip',
'usb': 'arduino_tinyusb',
'tinyusb': 'arduino_tinyusb',
'arduino_tinyusb': 'arduino_tinyusb'
}

# Check extended mapping first
Expand Down Expand Up @@ -837,7 +842,7 @@ def _convert_lib_name_to_include(self, lib_name: str) -> str:
Converted include directory name for path removal
"""
# Load Arduino Core Libraries on first call
if not hasattr(self, '_arduino_libraries_cache'):
if self._arduino_libraries_cache is None:
self._arduino_libraries_cache = self._get_arduino_core_libraries()

lib_name_lower = lib_name.lower()
Expand Down
Loading