Failed compilation still generated MPLAB 8 project
Failed compilation still generated MPLAB 8 project
If my project fails compilation then a .mcp file for MPLAB 8.x is still generated.
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: Failed compilation still generated MPLAB 8 project
Hi Bryant,
This is done on purpose : It allows to find out why compilation breaks. For example, if the blockset mispell one fuse register, you might correct it this way quite easily.
However, depending where the compilation stops, you might have missing files...
Lubin
This is done on purpose : It allows to find out why compilation breaks. For example, if the blockset mispell one fuse register, you might correct it this way quite easily.
However, depending where the compilation stops, you might have missing files...
Lubin
Re: Failed compilation still generated MPLAB 8 project
But there isn't a similarly compiled MPLAB X project, which is why I assumed this was a bug. I'd prefer to switch over to X whenever possible, so could you also make the MPLAB X project be generated?
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: Failed compilation still generated MPLAB 8 project
Bryant, I am a bit confused.
Could you described what you obtained and what you would like to obtain ?
(I am not sure I could do it for this blockset, but it would be useful for next Microchip blockset)
Currently, the model
- generates a .mcp file (mplab 8 project) and
- add into the directory created (with almost similar name than the model) the information for the mplab X project : nbproject folder and files...
Thus with mplab X, you should be able to open that folder which is the project (browse the folder with MPLAB X, you will see that folder icon is like a project).
MPLAB X does not provide one "clikable" file that would allows opening the project.
Lubin
Could you described what you obtained and what you would like to obtain ?
(I am not sure I could do it for this blockset, but it would be useful for next Microchip blockset)
Currently, the model
- generates a .mcp file (mplab 8 project) and
- add into the directory created (with almost similar name than the model) the information for the mplab X project : nbproject folder and files...
Thus with mplab X, you should be able to open that folder which is the project (browse the folder with MPLAB X, you will see that folder icon is like a project).
MPLAB X does not provide one "clikable" file that would allows opening the project.
Lubin
Re: Failed compilation still generated MPLAB 8 project
If I build a project and it fails compilation an MPLAB 8 project is generated but NOT an MPLAB X project. I just thought it was weird that a project was generated for only one of the IDEs and not both. I figured it was a bug because you'd either want no project to be generated when compilation failed or for both projects to be generated regardless of whether compilation fails or not, but what's happening is in between.
Who is online
Users browsing this forum: Bing [Bot] and 43 guests