example hang in the retarget code with ARM Embedded 4.8