Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kiel uVision generates an error coming from uart.c line 86 in the project KeypadUART.uvprojx #1

Open
Rightrax opened this issue Feb 12, 2021 · 0 comments

Comments

@Rightrax
Copy link

Hello Kevin

I am new to c programming and arm mbed lpc1768 etc and as a learner with a need to start using a matrix keypad in a project I came across your great help however when I went to compile in uvision I got the following - your help to a newbie is appreciated. I realize this was sometime ago.

In the meantime thanks Kevin

Build started: Project: KeypadUART
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
*** Note: Rebuilding project, since 'Options->Output->Create Batch File' is selected.
Rebuild target 'Target 1'
assembling startup_LPC17xx.s...
compiling system_LPC17xx.c...
compiling main.c...
uart.h(22): warning: #1-D: last line of file ends without a newline
void UART0_INIT(void);
main.c(52): warning: #940-D: missing return statement at end of non-void function "readbite"
}
main.c: 2 warnings, 0 errors
compiling delay.c...
compiling uart.c...
uart.h(22): warning: #1-D: last line of file ends without a newline
void UART0_INIT(void);
uart.c(86): error: #20: identifier "SystemFrequency" is undefined
Clock_Frequency = SystemFrequency/4;
uart.c(94): warning: #1-D: last line of file ends without a newline
}
uart.c(68): warning: #177-D: variable "ch" was declared but never referenced
char ch;
uart.c(69): warning: #177-D: variable "i" was declared but never referenced
int i;
uart.c: 4 warnings, 1 error
linking...
.\Objects\KeypadUART.axf: error: L6002U: Could not open file .\objects\uart.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
".\Objects\KeypadUART.axf" - 2 Error(s), 6 Warning(s).
Target not created.
Build Time Elapsed: 00:00:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant