Go to build/jerryscript/targets/mbedos5, then run `make source/pins.cpp`. This fails, because the `Target` constructor has been removed in mbed OS 5.2 now; which is used in https://github.com/jerryscript-project/jerryscript/blob/master/targets/mbedos5/tools/generate_pins.py.