P1 to P2 migration

Hello,

I am try to compile P1 code into P2 using Visual Studio Code i do necessary changes in my firmware according to P2 but there is an error while compile firmware…
####################################

  • Executing task: make -f ‘C:\Users\Ecloud15.particle\toolchains\buildscripts\1.11.0\Makefile’ compile-user -s

:::: COMPILING APPLICATION

Creating d:/Parth/project/target/5.0.0/p2/memory_platform_user.ld …
make[3]: *** No rule to make target ‘d:\parth\project\src\project.cpp’, needed by ‘…/build/target/user/platform-32-m/project/src/project.o’. Stop.
make[2]: *** […/…/…/build/recurse.mk:12: user] Error 2
make[1]: *** […/build/recurse.mk:12: modules/tron/user-part] Error 2
make: *** [C:\Users\Ecloud15.particle\toolchains\buildscripts\1.11.0\Makefile:68: compile-user] Error 2

  • The terminal process “C:\Users\Ecloud15.particle\toolchains\buildtools\1.1.1\bin\bash.exe ‘-c’, ‘make -f ‘C:\Users\Ecloud15.particle\toolchains\buildscripts\1.11.0\Makefile’ compile-user -s’” terminated with exit code: 2.
  • Press any key to close the terminal.
    #########################################################

→I used P2 deviceOS@5.0.0 in visual code studio.

Any Solution for this???

That looks like a build error not related to your code. Things to try:

  • Do a cloud compile targeting 5.0.0, that will determine if your code compiles correctly
  • Do a Clean Application & Device OS
  • Follow the Workbench bug report steps to get information about your environment
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.