7 years, 8 months ago.

exporting to uVision has a compiing error

exporting the projection of mbed-os-example-blinky to uVision,there is a compiling error as below:

"no source": Error: #5: cannot open source input file "mbed_config.h": No such file or directory mbed-os/features/mbedtls/src/aes.c: 0 warnings, 1 error

what happen? thanks!

1 Answer

7 years, 8 months ago.

Hello,

I had the same problem. Its unable to locate the mbed_config.h file in you project. what i did is that jus copy and paste the code by creating file name as mbed_config.h. I hope that below code will help you in solving the error. But for now we need to wait untill mbed makes some update for this issue.

// Automatically generated configuration file.
// DO NOT EDIT, content will be overwritten.

#ifndef __MBED_CONFIG_DATA__
#define __MBED_CONFIG_DATA__

// Configuration parameters
#define MBED_CONF_PLATFORM_STDIO_BAUD_RATE          9600// set by library:platform
#define MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE 9600// set by library:platform
#define MBED_CONF_PLATFORM_STDIO_FLUSH_AT_EXIT      1    // set by library:platform
#define MBED_CONF_PLATFORM_STDIO_CONVERT_NEWLINES   0    // set by library:platform

#endif

Where can this file be found? Can this one be used by all boards?

posted by Manos Kav 30 Mar 2017