Invalid escape sequence \c

Hi All,

Today I am migrating my project from ncs 1.9.1 to ncs 2.0.0.

The project was building find with ncs 1.9.1

But I do got this build warning with ncs 2.0.0:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- Found Python3: C:/cm/ncs/toolchains/v2.0.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter
=== child image mcuboot - begin ===
loading initial cache file C:/cm/projects/projectX/build/mcuboot/child_image_preload.cmake
CMake Warning (dev) at C:\cm\projects\projectX\build\mcuboot\child_image_preload.cmake:5 (set):
Syntax error in cmake code at
C:\cm\projects\projectX\build\mcuboot\child_image_preload.cmake:5
when parsing string
C:\cm\projects\my_own_modules\nrf52_fanboy_SDK
Invalid escape sequence \c
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
Loading Zephyr default modules (Zephyr base (cached)).
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Any idea / hint / tip how to fix this correctly.

Parents
  • Hi All,

    I also see this pop-up in MS visual Code (upon opening) when I do build my migrated project with ncs 2.0.0

    Any idea / hint / tip how to fix this correctly?
    Thanks in advance

Reply
  • Hi All,

    I also see this pop-up in MS visual Code (upon opening) when I do build my migrated project with ncs 2.0.0

    Any idea / hint / tip how to fix this correctly?
    Thanks in advance

Children
No Data