Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Adding a source file of C language in MPLAB

Status
Not open for further replies.

kfet

Newbie level 1
Joined
Oct 21, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
.c file in MPLAB

I'm using MPLAB to write programs for my PIC1330. Normally I write assembly code but now I want to do this in C. But when I make a Project I can't put a .c file in my source file. The .c file comes in other files, so if I compile I get 'Build aborted. The project contains no source files.'.
Can anyone help me?
 

ceciliapl

Newbie level 1
Joined
Nov 25, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
madrid
Activity points
1,284
I have the same problem that you had. Have you been able to resolve it?
Thank you in advance.
 

Raju C

Member level 2
Joined
Sep 17, 2009
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Bangalore
Activity points
1,558
after installing C compiler . have you checked language suite ??some time it will not simulate due to this also
 

miredox

Member level 4
Joined
Oct 21, 2009
Messages
76
Helped
9
Reputation
18
Reaction score
4
Trophy points
1,288
Activity points
1,791
Have a look at the link that Slorn has provided. It explains clearly how to setup a c-based project in MPLAB.
 

baduR

Newbie level 4
Joined
Jun 23, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,316
right click on the mplab editor window and click on add to project.then save the project.you'll be fine
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top