I have MPLAB v7.40 and have written many successful programmes, but I would like to know if there is an easier way to create a new project than the following:-
Select Project/New
Enter project name eg. "test"
Click on "Browse" and select a folder.
A small window "test.mcw" appears with a folder "test.mcp" and several sub folders such as "Source files".
So far so good.
But how do I start a source code file?
I've tried various methods to achieve this end, but the only one that works is as follows:-
Click on the "New file" icon in the Toolbar.
A window appears "MPLAB IDE Editor" with "Untitled" in the top left corner.
I then type in the code.
But if I press button F10 to assemble, a "Save as" window appears, so I type in the file name, eg. "test" and click on
"Save".
The following message appears:-
"Build aborted. The project contains no source files"
However, the "Untitled" tag changes to "test.asm".
Now if I right click on the "Source file" folder in the "test.mcw" window and add the "test.asm" file, I can press F10
and then the code will assemble successfully.
This seems to be a clumsy procedure, is there a simpler method?
Any advice will be appreciated.
Select Project/New
Enter project name eg. "test"
Click on "Browse" and select a folder.
A small window "test.mcw" appears with a folder "test.mcp" and several sub folders such as "Source files".
So far so good.
But how do I start a source code file?
I've tried various methods to achieve this end, but the only one that works is as follows:-
Click on the "New file" icon in the Toolbar.
A window appears "MPLAB IDE Editor" with "Untitled" in the top left corner.
I then type in the code.
But if I press button F10 to assemble, a "Save as" window appears, so I type in the file name, eg. "test" and click on
"Save".
The following message appears:-
"Build aborted. The project contains no source files"
However, the "Untitled" tag changes to "test.asm".
Now if I right click on the "Source file" folder in the "test.mcw" window and add the "test.asm" file, I can press F10
and then the code will assemble successfully.
This seems to be a clumsy procedure, is there a simpler method?
Any advice will be appreciated.