Skip to content

Commit a806056

Browse files
authored
Add Arduino TinyUSB library to protected libs
includes are not removed
1 parent 9cf1d03 commit a806056

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

builder/frameworks/component_manager.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@ def _get_lib_ignore_entries(self) -> List[str]:
577577
'spi_flash', # Flash memory access
578578
'esp_timer', # Timer functions
579579
'esp_event', # Event system
580-
'log' # Logging system
580+
'log', # Logging system
581+
'arduino_tinyusb', # Arduino TinyUSB library
582+
'tinyusb' # TinyUSB library
581583
]
582584

583585
filtered_entries = []
@@ -808,7 +810,10 @@ def _map_library_to_include_path(self, lib_name: str, dir_name: str) -> str:
808810
'esptouch': 'esp_smartconfig',
809811
'ping': 'lwip',
810812
'netif': 'lwip',
811-
'tcpip': 'lwip'
813+
'tcpip': 'lwip',
814+
'usb': 'arduino_tinyusb',
815+
'tinyusb': 'arduino_tinyusb',
816+
'arduino_tinyusb': 'arduino_tinyusb'
812817
}
813818

814819
# Check extended mapping first

0 commit comments

Comments
 (0)