I don't think it would turn TinyUSB back on, there doesn't seem to be anything in the board definition.leosok wrote: ↑Wed Jan 26, 2022 11:23 pmYour last reply helped me a lot. "idf.py set-target esp32s2" did copy stuff, and after I could see/turn off TinyUSB in "idf.py menuconfig" - which seems to be off by default. "make BOARD=GENERIC_S2" did build a micropython.bin, which I found out, I needed to flash with the code from provided by make/idfThis did work. But unfortunately again - no REPL.Code: Select all
esptool.py -p COM11 -b 460800 --before default_reset --after hard_reset --chip esp32s2 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 micropython.bin
I wonder if the board-definition BOARD=GENERIC_S2 turns on the TunyUSB again?
What board are you using? Are you compiling with something like this.
Code: Select all
idf.py -D MICROPY_BOARD=ESP32_S2_WROVER build