There is a comment PD5 GPIO pull-up and PA3 GPIO pull-up but it takes a BSET PD_CR1,#5 or BSET PA_CR1,#3 to make it so.
When HALF_DUPLEX = 2 in globconf.inc the init code shall check OPT2 for STM8S "Low Density Device UART remapping" and set PD_CR1 or PA_CR1 accordingly.
There is a comment
PD5 GPIO pull-up
andPA3 GPIO pull-up
but it takes aBSET PD_CR1,#5
orBSET PA_CR1,#3
to make it so. WhenHALF_DUPLEX = 2
inglobconf.inc
the init code shall check OPT2 for STM8S "Low Density Device UART remapping" and set PD_CR1 or PA_CR1 accordingly.