Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago.
Having troubles exporting projects to e2studio (Renesas RZ on GR-Peach)
I'm trying to build the mbed_blinky program exported to e2studio so I can build it offline.
I managed to do the export/import process without obvious errors, but when I compile, I get a handful of errors.
Specifically: In mbed_blinky's Serial.h file, I get this error: ...\mbed/drivers/Serial.h:70:70: error: 'MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE' was not declared in this scope
MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE is declared in mbed_config.h - but that include file is not referenced by any of the files I pulled down.
The project builds just fine when I use the online compiler.
Anybody got any clues as to what step I may be missing? Or what bug I'm tripping over?
Thanks.
1 Answer
7 years, 5 months ago.
Thank you for yourcomment. And sorry for this late reply.
There is a problem with Exporter currently, the compile can not success if you export with e2 studio. However, you can avoid build errors by doing the following procedure.
1.Right-click on the project name and select "Property".
2.Select "C / C ++ Build" - "Settings".
3.Select "Tool Settings" tab.
4.Select "ARM C++ Compiler" - "Includes".
5.Add ""${workspace_loc: / $ {ProjName} /mbed_config.h}"" to the "Pre-include" column.
6.Press "OK" button at the bottom of "Property".