Hi,
Just a quick question.
I cloned a project in the online version of Keil studio and got the error "Cannot set "Project" as Active Project as it is not recognized as a valid project." when trying to make it active. Does anyone know what I'm doing wrong?Regards,
Joe
What exactly do you mean with "clone"? Did you (1) clone a project from GitHub with "File -> Clone..." or (2) "Duplicate" a project folder in the Workspace?
For (1), I tried with: https://github.com/Arm-Examples/Blinky_MIMXRT1064-EVK_RTX. And this can be set as an active project once it is in the workspace. What project do you use?
For (2), I duplicated the "blinky_mimxrt1064-evk_rtx" which creates "blinky_mimxrt1064-evk_rtx_copy"- And I can also make this the active project.
So, so far, no issue has been found. If problems remain for you, please describe things in more detail.
Hi Andreas/Xuefei/Johan,
Sorry for this late reply I got distracted from the problem, thanks for looking into it. It seems that since I first posted this problem has in part been resolved and I don't get the same error message anymore.
There were two issues in Keil studio online.
Issue 1 (seems to be solved now) to repeat:
File->New…->mbed-os-example-blinky
Project name default “mbed-os-example-blinky” Make this the active project, checked.
Initialise this project as a Git repository, checked.
Target hardware->NUCLEO-F303K8
Compile to test.
Right click on project->Duplicate
Set duplicate project to active project.
Clean build, this time it works fine, this didn’t work a month ago thanks for fixing it.
Issue 2 (still a problem)
Import all projects from (Old) Mbed online compiler.
Set any project as active
Works.
Unable to select target? Even though the project is a seemingly perfect duplicate?
Issue 2 work around (For Johan)
Project name “your project name” Make this the active project, checked.
Target hardware->Your hardware
If ok, delete the main file and then copy all of the contents except the old mbed OS drivers into the new project. This worked for me but its an absolute mess when you’ve go a lot of projects from the old Mbed environment.
Best Regards,Joe
Hello Joe, we have tried this now without issue. However, it is still not fully clear what exactly is failing for you when you say "Unable to select target?" What exactly are you doing, and what is the exact error message you get?
Maybe this depends also on the actual project you use.