1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target
Solomon Peachy 16a6ad032f pp502x: Restructure UART code
* Move to a structure instead of pointers to registers
 * Autobaud operates per-uart
 * When explitily setting uart speed, it applies to all uarts

This allows both UARTs to be enabled and serviced simultaneously,
allowing either accessory port to be used.  Note that the last
port to receive something is where subsequent transmits are directed,
and only one set of IAP state is maintained.

To change this, we will need to revamp IAP to support more than
one state machine, and then extend the serial API to allow for both
UARTs to be used independently.  Probably not worth the effort.

Change-Id: I0142f0906706fc0c4ee6d6d7aa6b0515e1a749dd
2025-08-06 08:27:58 -04:00
..
arm pp502x: Restructure UART code 2025-08-06 08:27:58 -04:00
coldfire Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
hosted rgnano: UI simulator support 2025-08-05 08:30:30 -04:00
mips misc: Properly annotate some intentional case fallthroughs 2025-04-22 20:54:37 -04:00