/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / stm32f10x_lib.h: No such file

Username:     
Password:     
             

Forum

# 1   2014-01-20 11: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 14: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 10: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:

* $1: make a new project -> select primer -> choose your primer and save the application.
* $1, remove "Application.c".
* $1: "maze.c" and "maze_112_128.h" from  the maze project you already downloaded.
* $1 to your new application: right click on the application name -> Add -> item
* $1:
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