Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] problem with working stm32f4xx library

Status
Not open for further replies.

elli

Junior Member level 3
Joined
May 3, 2015
Messages
26
Helped
2
Reputation
4
Reaction score
1
Trophy points
3
Location
IRAN
Activity points
192
Hi...
im begginer with stm32f4 programming.
as a project i write a program to run keypad ... now i wanna show it on the 2*16 lcd ,every time the buttom pressed.
and i find the library,.h,.c files. but dont khow how to use it ... i add it to the project directory, and when i rebuild it i get this error from keil:

..\main.c(255): error: #5: cannot open source input file "stm32_ub_lcd_2x16.h": No such file or directory

#include "stm32_ub_lcd_2x16.h"
..\main.c: 17 warnings, 1 error
compiling stm32f4xx_it.c...
 

Hello,

In your code you included "stm32_ub_lcd_2x16.h", the compiler is complaining that it can't find it in the folders/libraries you included.
So find a way to add a folder as an argument in your development environment.

I've done some STM32F4 programming and found that CooCox seems to be working like a charm.
give it a shot ;) and good luck!

153rd
 

yeah
i fixed that ...
now i just get this warning ... and try it on my own but keep getting this error ...
would you help me ....


PIOB,
PIO_Pin_1, 0);
..\main.c(119): warning: #188-D: enumerated type mixed with another type
GPIO_WriteBit(



thanks
 

now i just get this warning ... and try it on my own but keep getting this error ...


PIOB,
PIO_Pin_1, 0);
..\main.c(119): warning: #188-D: enumerated type mixed with another type
GPIO_WriteBit(

Firstly, there is a distinct difference between an error and a warning.

An error prevents compilation, while a warning permits compilation while alerting the coder of a possible issue, which may or may not be a problem.

You'll need to either post, using CODE or SYNTAX tags, the offending code or zip and upload your project and source code files, so that it maybe examined.

Without the ability to review your code the cause of the above warning is indeterminable.


BigDog
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top