Embedded code development (especially for PIC with C18) in Visual Studio

I use Visual Studio to write desktop applications, and I find it very convenient and easy to use.

If possible, I also want to write inline code in Visual Studio. For example, is it possible to generate .hex files for the PIC18Fxxx series with C18 or any other similar C language?

+5
source share
3 answers

Unfortunately, there is no official PIC support from Visual Studio. And I never heard anyone do this in an “unofficial” way. There have always been rumors and speculation about such a function, but they never had the opportunity to be realized. Thus, the answer is no, there is no way to compile the .hex file with the standard Visual Studio environment.

+1
source

I do development with embedded systems, including PIC, and for most I use Visual Studio, mainly because I like VIsual Assist to work C.

What I'm doing is a multi-purpose task .... so I compile the code for the PC and use the module testing tools to test the code http://code.google.com/p/seatest/

, , ,

TOOLS, IDE (, MPLAB)

+7

Visual Studio ( , Visual ++) , IDE, .

MPLAB make . Visual Studio, "Makefile Project" build. makefile MPLAB GNU make, MS nmake, . Visual Studio Intellisense, Visual Studio - , , .. , , , .

, , , . , , VS, , , /. GNU sed . MPLAB ; Visual Studio, , MPLAB ( !).

, MPLAB VS - .

Another problem is that for some reason, the makefile that MPLAB generates does not include the post / pre biuld steps in setting up the project. You can either modify the makefile manually or create a batch file that performs the pre / make / post operations and is called instead of the simple make in your project.

+2
source

All Articles