I am having similar problem with RTS control (it absolulty required for RS485 halfduplex coms). Funny to say but MSF52259 chip has excelent hardware option for such flow control - see UMR2 register bit 5 TXRTS. When set to one RTS pin is automaticly manipulated by chips UART (MSF52259 Reference mamual pafe 28-7).
I found the place in MQX where OS is setting UMR2 register values. It seams to be in fuction _mcf52xx_uart_serial_polled_ioctl in serl_pol_mcf52xx.c file. But there only stop bit length control portion of the UMR2 register is manipulated.
By the way proper bit values already declared in MXQ file mcf52xx_uart.h (see defenition of MCF52XX_UART_UMR2_TXRTS ), but sadly it's not used anywhere in actual control function. I think I could right proper function extensions for _mcf52xx_uart_serial_polled_ioctl, but I am not sure what I have to compile after that. Is recompiling BSP would be sufficient for it or I have to recompile entire MQX build?
Another concern for such modification is MQX update. If alter MQX code the new releses installation would wipe it off clean I will be forced to found same solution all over again.
Is anyone did such things before? Does it really the way to fix inhereted MQX problem or I better off with making my own serial drivers?