View previous topic :: View next topic |
Author |
Message |
allenhuffman
Joined: 17 Jun 2019 Posts: 540 Location: Des Moines, Iowa, USA
|
Visual Studio Code and the CCS compiler |
Posted: Tue Apr 20, 2021 11:31 am |
|
|
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
|
|
Posted: Tue Apr 20, 2021 5:59 pm |
|
|
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
|
|
Posted: Fri May 21, 2021 4:41 am |
|
|
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
Anyone could help? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19477
|
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1342
|
|
Posted: Fri May 21, 2021 3:24 pm |
|
|
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
|
|
Posted: Sat May 22, 2021 12:46 am |
|
|
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
|
|
Posted: Tue May 25, 2021 7:14 am |
|
|
jeremiah, Ttelmah, thanks!
Yes, about VS Code! |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19477
|
|
Posted: Tue May 25, 2021 8:19 am |
|
|
Phew!... |
|
|
|