tinyusb: add support of esp32s3 target

add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
This commit is contained in:
Alex Lisitsyn
2021-03-09 11:29:07 +01:00
committed by Alex Lisitsyn
parent c611199632
commit 2f0cb8b5f1
51 changed files with 257 additions and 85 deletions

View File

@@ -35,7 +35,7 @@ all_examples.sort()
# Build all boards if not specified
all_boards = []
for entry in os.scandir("hw/bsp/esp32s2/boards"):
for entry in os.scandir("hw/bsp/esp32sx/boards"):
if entry.is_dir():
all_boards.append(entry.name)
filter_with_input(all_boards)

View File

@@ -38,7 +38,7 @@ all_examples.sort()
# If family are not specified in arguments, build all
all_families = []
for entry in os.scandir("hw/bsp"):
if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != "esp32s2":
if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != "esp32sx":
all_families.append(entry.name)
filter_with_input(all_families)