Create a new project in Chibi Studio from scratch for a custom board

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

k_vijay
Posts: 20
Joined: Mon Apr 04, 2022 7:06 am

Create a new project in Chibi Studio from scratch for a custom board

Postby k_vijay » Tue Jul 26, 2022 12:00 pm

Hello Team,

We want to create a project in chibi studio for our custom board. We don't want to import a demo project into user_workspace and proceed from there.
All the things we want to have a scratch new blank project with hello world for our target board.

Can anyone help me to do so.

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby Giovanni » Tue Jul 26, 2022 1:23 pm

Hi,

This is usually done by cloning one of the existing projects. Have you seen the video guides on www.playembedded.org?

Giovanni

k_vijay
Posts: 20
Joined: Mon Apr 04, 2022 7:06 am

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby k_vijay » Thu Jul 28, 2022 5:28 am

Hello Sir,

I have seen the video and read the article guide on play embedded on how to create a new project.
It is like we have to import existing demo and than copy pest with new name.

But my concern is how I will create a new project from scratch without importing a existing one.

IN demo folder for stm32 there is no project for "STM32F779" in this case how i will proceed further.
Can't I create a make file project and provide the tool chain, if so than where is the tool chain location will in in chibistudio ?

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby Giovanni » Thu Jul 28, 2022 10:07 am

Hi,

You need to create an Eclipse project File->New->Makefile Project with Existing Code

Then point it to your makefile project directory, this creates the project, all the settings to be applied then are up to you (this is why it is easier to duplicate one), see the Eclipse CDT documentation.

Giovanni

k_vijay
Posts: 20
Joined: Mon Apr 04, 2022 7:06 am

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby k_vijay » Thu Jul 28, 2022 1:08 pm

Hello Sir,

I have followed the steps like "File->New->Makefile Project with Existing Code" to create a new makefile project ("hello_world_makefile_project") but where did it saved in folder not known.
I mean i have search through out the system but could not find it.

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby Giovanni » Thu Jul 28, 2022 2:30 pm

You need to specify a folder with an existing makefile project.

It does not create a project, it adds Eclipse metadata to an existing makefile project (it adds .project .cproject files).

Giovanni

k_vijay
Posts: 20
Joined: Mon Apr 04, 2022 7:06 am

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby k_vijay » Fri Aug 19, 2022 11:02 am

Hello Sir,

It has created .cproject and .project meta data files but there is no option for build this project.

Can you please help us to create a nominal project from scratch with only a main.cpp file and make file.

From here we want to start my project.

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Create a new project in Chibi Studio from scratch for a custom board

Postby Giovanni » Fri Aug 19, 2022 12:39 pm

Hi,

There is no option to create a new project automatically, you can either:
- Clone an existing project then perform the changes you need.
- Create manually a makefile project and then import it using the procedure I wrote above.

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 13 guests