damogranlabs / VS-Code-STM32-IDE

Use VS Code as STM32 IDE with CubeMX
MIT License
247 stars 52 forks source link

#FeatureRequest adding support for importing from MKD_ARM Keil project files #2

Closed ali80 closed 5 years ago

ali80 commented 5 years ago

I believe this feature has the following benefits:

schperplata commented 5 years ago

Well, Keil project importer was the idea from the very beginning, since amost all Damogran Labs projects were based on Keil. I often wish to just fix some minor bug and I can't recompile it, because I don't have all dependencies or it is a version mismatch or I hit code size limit and so on... So yes, work in progress, but no specific ETA.

But I only thought about one way, this is: Keil -> VS Code, never back to Keil. In fact, the whole idea of this project was to move away from restricted and paid stuff. As you said, VS Code debug capabilities so far are quite limited, so I am investigating another option for advanced debug capabilities.

Another problem is reading/parsing/writing/appending data of the Makefile. The syntax of Makefiles is known and common, but currently parser and modifier script is tightly adapted to STM32 Cube generated Makefile. If someone would wish to implement support for other CPUs, Makefile structure and concept is actually the only problem that would take time.

Bottom line:

ali80 commented 5 years ago

But I only thought about one way, this is: Keil -> VS Code, never back to Keil.

I meant the same.

Another problem is reading/parsing/writing/appending data of the Makefile.

I'm wild guessing that this should be easier in Keil project since it has a standard format. anyway, this is great news, hope the bugs get resolved soon :)

schperplata commented 5 years ago

Keil import script available.