Very nice progress, I will try to at least flash my RTL8710BN soon.
Easyflash seems to be pretty compact and self-contained, I wouldn't worry about it being in the app code right now. Just make sure to don't change the BK7231 config mechanism, as it is used by our flasher for now. As for new platforms, they can use easyflash, altough in the future I may look into adding easyflash to our flash tool, once we have our own flashing solution for RTLs, etc... so we can write OBK config from PC. But that's not important right now and it's a very distant plan.
OTA code is messy for all platforms, but I am not sure what we can do about that. Maybe it could be more integrated, but it would require retesting everything, so maybe we'll just look over it...
What do you need UART - TCP bridge for?
I would probably try to copy to BL0942 code:
and do it in separate driver, in "quick tick", along with handling TCP socket in a non-blocking way so I can poll recv/send. That driver would run multiplatform as both those UART functions and TCP functions are multiplatform right now.
So, create a separate file, add to drv_main.c array, etc, etc, in driver init setup UART and create socket, make socket non-blocking , and in quick tip poll UART and socket.
Added after 1 [minutes]:EDIT: Now that I think about it, the UART<->TCP bridge on OBK could be even used to flash device via second OBK... but BK7231 does not like bad timings, so maybe it wouldn't be reliable...
Added after 4 [hours] 57 [minutes]:EDIT: also see cmd_tcp.c for a TCP code... and of course there is also TCP in HTTP server.