Username:     
Password:     
             

Forum

# 1   2014-01-20 12:26:40 stm32f10x_lib.h: No such file

shohreh
New member
Registered: 2014-01-15
Posts: 1

stm32f10x_lib.h: No such file

Hello

I am new with STM32 primer. I installed latest version of Ride7 and rkit-ARM from website.
I also downloaded the maze project. But,   when I try to run it, I receive this error:
stm32f10x_lib.h: No such file or directory compilation terminated. 

I cannot locate stm32f10x_lib.h in my computer. should I download it from anywhere?
can you please help me to solve this error

Thank you

Offline

 

# 2   2014-01-22 15:54:13 stm32f10x_lib.h: No such file

Etienne.C
Administrator
Registered: 2012-12-04
Posts: 71

Re: stm32f10x_lib.h: No such file

Hello,

This project is very old and the ST libraries has not been updated.
Before to use it you should update the libraries that you can find at: http://www.st.com/web/en/catalog/tools/PF257890,

Best regards,

Offline

 

# 3   2014-01-27 11:04:17 stm32f10x_lib.h: No such file

Etienne.C
Administrator
Registered: 2012-12-04
Posts: 71

Re: stm32f10x_lib.h: No such file

hello,

This project was done for a primer2 and not for the open4, then you need to do some changes:

* Configuration: make a new project -> select primer -> choose your primer and save the application.
* From Ride7, remove "Application.c".
* Add in your new application: "maze.c" and "maze_112_128.h" from  the maze project you already downloaded.
* Add "maze.c" to your new application: right click on the application name -> Add -> item
* Add code on "maze.c":
After:

Code:

const char Application_Name[9] = "Maze";

add this code

Code:

#define SCREEN_WIDTH        128         /*< Default application Width of visible screen in pixels. */
#define SCREEN_HEIGHT       128         /*< Default application Height of visible screen in pixels. */
#define RGB_LIGHTBLUE   RGB_MAKE(0x00, 0xFF, 0xFF)

best regards

Offline

 

Board footer