configuration.
Copied source code from mbed.org.