CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Visual Studio Code and the CCS compiler

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
allenhuffman



Joined: 17 Jun 2019
Posts: 540
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

Visual Studio Code and the CCS compiler
PostPosted: Tue Apr 20, 2021 11:31 am     Reply with quote

Has anyone experimented with using Visual Studio Code to do builds with the CCS compiler? A coworker of mine got his set up where it can build and then load to the board all from within VS Code. The only thing he needs the IDE for is setting project settings and using the debugger.

I wondered if anyone had made an extension to handle all of this.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?
dluu13



Joined: 28 Sep 2018
Posts: 395
Location: Toronto, ON

View user's profile Send private message Visit poster's website

PostPosted: Tue Apr 20, 2021 5:59 pm     Reply with quote

I haven't used VS code for this, but I've only ever used MPLAB X. Since CCS compiler has a plug-in for MPLAB X, setup is quite easy.

But from what I know, VS code is quite flexible. You just have to wait for somebody to write a plug-in... Or do it yourself
vasiliok



Joined: 17 May 2011
Posts: 19
Location: Kaunas, Lithuania

View user's profile Send private message

PostPosted: Fri May 21, 2021 4:41 am     Reply with quote

Visual Studio Code doesn't have a plugin for PICC CCS.

There should be the way to make VSC run pcwhd compiler (aka build project) with args to compile exact file but I can't find how to do this Confused

Anyone could help?
Ttelmah



Joined: 11 Mar 2010
Posts: 19477

View user's profile Send private message

PostPosted: Fri May 21, 2021 6:58 am     Reply with quote

There have been a number of threads about using VS in the past. This one
seems to describe how to do it:

[url]
http://www.ccsinfo.com/forum/viewtopic.php?t=29216&highlight=visual+studio[/url]
jeremiah



Joined: 20 Jul 2010
Posts: 1342

View user's profile Send private message

PostPosted: Fri May 21, 2021 3:24 pm     Reply with quote

Ttelmah wrote:
There have been a number of threads about using VS in the past. This one
seems to describe how to do it:

[url]
http://www.ccsinfo.com/forum/viewtopic.php?t=29216&highlight=visual+studio[/url]


Just as a note, VS Code is not the same as Visual Studio. VS Code is more of a flexible extendable text editor/IDE for any language/platform that people can write plugins for, where as Visual Studio is an IDE targetted specifically for coding for Windows based platforms using languages that Microsoft supports.

I'm sure you already know this, but highlighting it for others who may get them confused.
Ttelmah



Joined: 11 Mar 2010
Posts: 19477

View user's profile Send private message

PostPosted: Sat May 22, 2021 12:46 am     Reply with quote

I must admit I can't think how you could use MS Visual studio with CCS, or
even think that it would be useful, since it's syntax rules are not changeable.
I assumed that the poster would be asking about a development IDE that
could be used with a compiler like CCS, which VS can. You can integrate
third party compilers with Visual Studio by editing the vcproj file, but it
won't change the syntax rules.
He says 'code' as the last part of the question, so I assumed he was talking
about VS Code, rather that Visual Studio....
vasiliok



Joined: 17 May 2011
Posts: 19
Location: Kaunas, Lithuania

View user's profile Send private message

PostPosted: Tue May 25, 2021 7:14 am     Reply with quote

jeremiah, Ttelmah, thanks!

Yes, about VS Code!
Ttelmah



Joined: 11 Mar 2010
Posts: 19477

View user's profile Send private message

PostPosted: Tue May 25, 2021 8:19 am     Reply with quote

Phew!... Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group