JianyuWang0623 opened a new pull request, #20581:
URL: https://github.com/apache/nuttx/pull/20581
## Summary
The shared esp32s3 init.rc gates "exec -- sercon" on CONFIG_SYSTEM_CDCACM,
so the usbnsh configs never connect the CDC/ACM gadget and boot with no
USB console after switching to nxinit.
Enable CONFIG_SYSTEM_CDCACM in the usbnsh defconfig of esp32s3-devkit,
esp32s3-eye, esp32s3-lhcbit, esp32s3-meadow and esp32s3-touch-lcd7, the
same fix already applied to esp32s3-xiao in 8bd50d27970.
SYSTEM_CDCACM selects BOARDCTL_USBDEVCTRL, so savedefconfig drops the
latter as redundant.
## Impact
Restores the USB CDC/ACM console on the five esp32s3 usbnsh configs.
Defconfig-only change.
## Testing
- All five configs: ./tools/configure.sh <board>:usbnsh, make
savedefconfig (no diff) and full build pass.
- Hardware: esp32s3-devkit:usbnsh flashed on an ESP32-S3 board
(lckfb-szpi); CDC/ACM gadget 0525:a4a7 enumerates and nsh runs on
/dev/ttyACM*:
```
nsh> uname -a
NuttX 13.0.1 9d3472d4191 ... xtensa esp32s3-devkit
nsh> ps
PID PPID ... COMMAND
2 0 ... init_main
4 2 ... sh
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]