3 years, 8 months ago.

Problem: Exporting Mbed Project to Keil 4.6 Workspace. Error: L6200E. Board Nucleo-L476RG

Hi, I wanted to export the simple blinky program to the Keil Workspace and program my Nucleo-L476RG.

include the mbed library with this snippet

#include "mbed.h"

DigitalOut myled(LED1);

int main()
{
		 while(1) {
				myled = 1;
				wait(0.2);
				myled = 0;
				wait(0.2);
    } 

Trying to compile this, i get the following Error Messages:

.\build\mbed_blinky.axf: Error: L6200E: Symbol remove multiply defined (by iostubs.o and retarget.o).

.\build\mbed_blinky.axf: Error: L6200E: Symbol rename multiply defined (by iostubs.o and retarget.o).

.\build\mbed_blinky.axf: Error: L6200E: Symbol tmpfile multiply defined (by iostubs.o and retarget.o).

.\build\mbed_blinky.axf: Error: L6200E: Symbol tmpnam multiply defined (by iostubs.o and retarget.o).

How can i prevent the compiler from multiply creating those symbols? I cannot find the h.-files where these Symols are created.

Many Thanks

Kind regards

Simon

Comment on this question
Be the first to answer this question.

You need to log in to post a question