Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VScode setup for new project #1

Open
Stredoslovak opened this issue Aug 14, 2024 · 1 comment
Open

VScode setup for new project #1

Stredoslovak opened this issue Aug 14, 2024 · 1 comment

Comments

@Stredoslovak
Copy link

Stredoslovak commented Aug 14, 2024

Hello, me again.
Been looking into the PSoC4 example that you've provided and I would like to know, what should I do if I want to work on my specific PSoC4 applications using your repository.

How can I import existing project from PSoC Creator to VSCode using your repository?

I've figured that I need to export to IDE from PSoC Creator, should it be done as a "makefile"?

Thanks.

@RolfNoot
Copy link
Owner

RolfNoot commented Aug 14, 2024

It is possible to use an existing project however there are some things to know:

  • Export to IDE in PSoC Creator is solely used to generate a XML file (export/PSoCCreatorExportIDE.xml) which informs OTX Maestro about the project sources / libraries etc. It only has to be set once and this file is used by OTX Maestro to adapt the meson.build file.
  • The PSoC Creator files are currently in project/PSoC_Creator.cydsn folder. You can change this to your own specific folder name. However there are some references inside .vscode/tasks.json which should be set accordingly (use search 'PSoC_Creator.cydsn' to find these references).
  • All source files are in the project/sources folder. So any current source files should be moved / copied there (you can use nested folders).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants