8 years, 9 months ago.

A separate file for UART printf and Basic I2C stuff..Keil Error: L6002U and C4065E

I had code for debugging via UART. Made a separate file for it, so it could be included easily..it shows up as fatal error..I believe it because of some linking problem. "Basics.h" does UART debug and blink led's stuff and "I2Cbasics.h" write and read register and shit..

/media/uploads/spookymelonhead/basicsh.png /media/uploads/spookymelonhead/basicsc.png /media/uploads/spookymelonhead/i2cbasicsh.png /media/uploads/spookymelonhead/i2cbasicsc.png /media/uploads/spookymelonhead/main.png

code: https://drive.google.com/file/d/0B7DTK1d6SHIfUGg1SDY1Vk4xS1k/view?usp=sharing

Did you generate and export your project for Keil on Mbed? If not probably best to post on the Keil forums. I think your system/object files are missing looking at that error.

posted by Paul Staron 08 Feb 2016

The problem was name of the folder..once I removed the empty spaces it worked.

posted by Brian B 09 Feb 2016

2 Answers

5 years, 2 months ago.

Hi, even to me from the L6002U error, but I didn't understand where I have to remove the empty spaces. can you help me please? I also have another problem: L3912W Option 'legacyalign' is deprecated. I don't know where to put my hands...

8 years, 9 months ago.

Hi,

as Paul pinpointed, this is best to ask on keil forums. I don't see any mbed file used there. There are sw packs within uVision, and using ST drivers. If you share it there, provide more details. why main file is missing? Is there any other error? how did you set up your project (basic settings)?