Topic : Ride7

Forum : ARM

Original Post
Post Information Post
March 13, 2011 - 9:33am
Guest

Hi, how to make project in RIDE7 with firmware libraries? For example I make new project, create main.c file, then I copy stm32f10x_gpio.h and stm32f10x_gpio.c to project folder, but it gives me errors in compilation process... what I do wrong?

Replies
Post Information Post
+1
0
-1
March 16, 2011 - 10:00am
Raisonance Support Team

Hi,

There are a few tricks for doing this properly. You need more header files than this (stm32f10x.h, stm32f10x_conf.h, etc.) and probably more c files too (stm32f10x_it.c, stm32f10x_rcc.c, etc.).

Please first download the latest version of the ST lib from the ST website.

Then use it as it is done in the examples provided by Ride (\examples\ARM\...) and/or in the ST lib, which contains a preconfigured Ride template project with comments and everything. (and a doc explaining this, of course ;) )

Best Regards,

Vincent