AtomVM
AtomVM copied to clipboard
Add menuconfig option for USE_USB_SERIAL
Let me know which changelog to target;-)
Improve DX a lot for enabling serial over usb for boards like the S2 Mini.
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