Changes to support running on smaller memory LPC device LPC1764

Fork of mbed-dev by mbed official

common/wait_api.c@ce498f071de9: not found in manifest