dcgong2917 opened a new pull request, #19800:
URL: https://github.com/apache/nuttx/pull/19800
## Summary
Adds GPIO, UART and I2C driver support for the RTL8720F (single-core
Cortex-M55 KM4TZ). All three reuse the shared Ameba common drivers
(arch/arm/src/common/ameba) already in tree, supplying only the per-chip
headers and board wiring:
- **GPIO**: single-port (Port A only) controller; board registers an
output/input/interrupt pin trio.
- **UART**: reuses common ameba_uart.c; exposes UART0 as /dev/ttyS1
(LOG-UART owns the console). TERMIOS enabled.
- **I2C**: reuses common ameba_i2c.c; DesignWare polling master, two
controllers exposed as /dev/i2c0 and /dev/i2c1.
Each adds a chip header, board registration table, a minimal defconfig,
and documentation (board index.rst Features + config section).
## Impact
New chip/board support only; no existing code paths changed.
## Testing
- checkpatch/nxstyle: clean across all 3 commits.
- Build: `rtl8720f_evb:i2c` configures and builds clean.
- Hardware (rtl8720f_evb):
- GPIO: output/input, falling-edge interrupt via PA22↔PA24 loopback.
- UART: serialrx/serialblaster over PA22↔PA23 loopback, 2600 bytes OK.
- I2C: clean bus self-test (no slave), then full write/read verified
against an RTL8721F slave (SDK raw_i2c_polling_slave @ 0x23) —
START/addr/ACK/write-offset+data/repeated-START/read/STOP full chain.
--
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]