Skip to content
Discussion options

You must be logged in to vote

Turns out that the idf (docker) I am using does not load tinyusb by default. Adding the following statement

idf.py add-dependency espressif/esp_tinyusb

before idf.py build solves the problem.

For posteriority, I am including my configuration here.

Makefile:

# board specifiation (in boards/ directory)
BOARD=ESP32_S3_WROOM_1_N16R8
BOARD_DIR=/project/boards/$(BOARD)

.PHONY: build submodules

build: submodules
	make -C lib/micropython/mpy-cross
	docker run --rm \
		-v .:/project \
		-w /project espressif/idf:v5.0.4 \
		bash -c " \
			make -C lib/micropython/ports/esp32 submodules; \
			rm -rf $(BOARD_DIR)/build; \
			rm -rf $(BOARD_DIR)/managed_components; \
			cd $(BOARD_DIR); \
			idf.py …

Replies: 1 comment 5 replies

Comment options

andrewleech
Apr 7, 2024
Collaborator Sponsor

You must be logged in to vote
5 replies
@andrewleech
Comment options

andrewleech Apr 8, 2024
Collaborator Sponsor

@iot49
Comment options

iot49 Apr 8, 2024
Author Sponsor

@andrewleech
Comment options

andrewleech Apr 9, 2024
Collaborator Sponsor

@iot49
Comment options

iot49 Apr 9, 2024
Author Sponsor

Answer selected by iot49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants