Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1341 from petermm/use_usb_serial-menuconfig
Add menuconfig option for USE_USB_SERIAL Improve DX a lot for enabling serial over usb for boards like the S2 Mini. <img width="572" alt="Screenshot 2024-10-15 at 11 36 22" src="https://github.com/user-attachments/assets/ea851cbd-52b8-4874-ae04-0ebf79609f3d"> Will fail in a good way if enabled without esp_tinyusb being installed: ``` /AtomVM/src/platforms/esp32/main/main.c:45:10: fatal error: tinyusb.h: No such file or directory 45 | #include "tinyusb.h" | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. HINT: tinyusb.h was removed. Please use esp_tinyusb component from IDF component manager instead. You can install `esp_tinyusb` using 'idf.py add-dependency espressif/esp_tinyusb' command. Refer to the migration guide for more details. ``` These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
- Loading branch information