Topic : STM8-Ride How to include Many folders(with.c,.h files) for compilation

Forum : ST7/STM8

Original Post
Post Information Post
October 22, 2011 - 11:45am
Guest

Hello Support Team,

We have a folder structure as show below:

ASW
|-------------radio
| |-----------------_inc----------- radio.h
| |-----------------_src------------ radio.c
| tv
| |-----------------_inc----------- tv.h
| |-----------------_src------------ tv.c

Cinema
|-------------cinema
| |-----------------_inc----------- screen.h
| |-----------------_src------------ screen.c
| seats
| |-----------------_inc----------- seat.h
| |-----------------_src------------ seat.c

How do we include such folder structure for compilation in Ride.
Please support

Thanks and Regards,
Shashikanth

Replies
Post Information Post
+1
0
-1
November 29, 2011 - 3:19pm
Guest

Open Ride7

Create a "Film" Project, go to menus:
File -> New -> Project

Select your microcontroller.

After this:
Project -> Add Item

Select your radio.c, ... files.

PS. you could build a similar directory structure in your project with Add Folder