saramonteiro opened a new pull request #3029: URL: https://github.com/apache/incubator-nuttx/pull/3029
## Summary This PR adds the termios support for ESP32-C3 according to NuttX support. Support status: Termios Interfaces: 1. `cfgetspeed()` and `cfsetspeed()` are implemented by the OS and relies on `tcsetattr` and on `tcgetattr`. 2. `cfmakeraw()` was implemented by the OS. 3. `tcdrain()` - Associated IOCTLS were implementes in `serial.c` 4. `tcflow()` - Pending Requires TCXONC ioctl to be implemented with the following actions: TCOOFF suspends output. TCOON restarts suspended output. TCIOFF transmits a STOP character, which stops the terminal device from transmitting data to the system. TCION transmits a START character, which starts the terminal device transmitting data to the system. No chip implements it. 3. `tcflush()` - Associated IOCTLS were implementes in `serial.c` 4. `tcgetattr()` - Associated IOCTLS were implemented in `esp32c3-serial.c`. 5. `tcgetsid()` - Interface declared but never defined in NuttX. 6. `tcsendbreak()` - Interface declared but never defined in NuttX. 7. `tcsetattr()` - Associated IOCTLS were implemented in `esp32c3-serial.c`. ------------------------------------------------------------------------------------------------------------- DEBUG feature: TIOCSERGSTRUCT IOCTL was implemented. ## Impact All ESP32-C3 users. ## Testing The tested was perfomed using the `termios` example. (This example will still be submitted to `/apps`)   ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org