Thanks for your reply Diego!
Firstly, as I mentioned, it was necessary to modify at least app/prj.conf and app/src/main.c to make a project that will compile.
Simplest option is to use what is in the "hello world" sample: for app/prj.conf use
# nothing here!
and for app/srsc/main.c use
#include <stdio.h>
int main(void)
{
printf("Hello World! %s\n", CONFIG_BOARD_TARGET);
return 0;
}
Next, before running the west build command, cd to the directory that you cloned. In your case, since you didn't specify a directory name, the directory is called example-application.
Then, specify the app directory as what is to be compiled.
So, if your board's name is mimxrt1010_evk, the command is:
west build --force -p always -b mimxrt1010_evk app
Secondly, thanks for the wiki hint! I missed the .vscode directory; should have looked for hidden files!
I tried working through the README you listed, this command
git clone https://github.com/wolfSSL/nxp-appcodehub.git ssh-rgb
got me a setup.sh which I think is the one referenced in
https://github.com/wolfSSL/nxp-appcodehub/blob/main/README.md
although there is no nxp-appcodehub directory.
(.venv) test@zephyr-vm:~/zephyrproject/applications/ssh-rgb$ ./setup.sh dm-wolfssl-tls-hello-server-with-zephyr
Created .vscode directory in dm-wolfssl-tls-hello-server-with-zephyr.
cmake-kits.json created.
cmake-variants.json created.
launch.json created.
mcuxpresso-tools.json created.
settings.json created.
As I mentioned, I was able to import a couple of the zephyr sample projects into VSCode -- "Import Example from Repository" works, it's "Import Project" that I have a problem with -- so I do have a couple of VSCode projects. So I was able to copy a .vscode directory with
launch.json mcuxpresso-tools.json settings.json tasks.json
But there was no sign of a cmake-kits.json or cmake-variants.json anywhere in my home directory so I added the files from your script.
Now the Import Project seems to be working!