NET uses things like msbuild to run builds and uses csc as the underlying compiler. NET (the nomenclature and weird namings of these things gives me a bit of a headache).Īs a gross oversimplification, dotnet core uses a command named dotnet to do compilations and runs of your project, while. CooCox is also quite good.įootnote: The same developer who created SublimeClang also created a GDB plugin ( SublimeGDB), however for debugging I think a dedicated IDE with memory views, variable watches, and expressions is hard to beat.If you're using dotnet core (as it appears from your question), you need to use dotnet to execute code and not csc that's the compiler for. It's well maintained and a solid application. Em::Blocks is the one I've used the most. Some people may find that awkward, but I've grown used to that.Īs for IDE's, many of the IC manufacturers provide there own IDEs (TI, Freescale, Microchip, etc.), however there are some good & free ARM-centric IDEs out there now. Any code changes I need to make are still done in Sublime however. Once my coding is ready to be tested on the hardware, I'll use an IDE for debugging. I also make use of custom snippets for code formatting. In fact, I rely on this so heavily that since it is technically for ST2 only, it has prevented me from moving to ST3 until I can try to port this. This excellent plugin provides real-time syntax checking, code verification, and definition/implementation finding. SublimeClang: by far the most crucial package for me.BracketHighlighter: for aiding in visualizing scope in C.SublimeTODO: for tracking TODOs in my projects.Package Control: no description needed I hope.I do a lot of embedded programming though, so describing my workflow may be helpful.Īll of my coding is done in ST2 with a few key packages: You'd be better off starting with a traditional IDE and using that as a template (investigate how it compiles and uploads) and migrate it to SublimeText, or operate a hybrid environment where you do the editing in SublimeText but use the IDE to compile and upload the code.Īs others have said, Sublime is an editor (a very powerful one), not an IDE so using Sublime for debugging is cumbersome, though not impossible (see footnote at bottom). So unless you can find a resource online where someone has actually done just what you want to do, for the same target chip or chip family as you are using, then it's going to be a lot of work to get going. Do you use a hardware programmer? Does your target chip have a bootloader installed? For either of those, what tools are available that are scripting friendly that you can use to add functionality to SublibeText? When it comes to uploading the code, though, that all depends on how you do the uploading. In general the compiler will be GCC, which is freely available for all the main operating systems, so if you know the correct flags to use when compiling source for your specific target then scripting the compilation shouldn't be too much of a problem. How you would do that is somewhat dependant on your host OS and what scripting tools you have available for doing the tasks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |