Skip to content

Commit

Permalink
[nrf toup][Zephyr] Change native_posix_64 to native_posix/native/64
Browse files Browse the repository at this point in the history
Change board as native_posix_64 was removed from Zephyr.

Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Feb 19, 2025
1 parent 2b20c79 commit 8cace83
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/nrfconnect/chip-module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ endif()

if (BOARD STREQUAL "native_posix")
matter_add_gn_arg_string("target_cpu" "x86")
elseif (BOARD STREQUAL "native_posix_64")
elseif (BOARD STREQUAL "native_posix/native/64")
matter_add_gn_arg_string("target_cpu" "x64")
endif()

Expand Down
2 changes: 1 addition & 1 deletion config/nxp/chip-module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ endif()

# if (BOARD STREQUAL "native_posix")
# matter_add_gn_arg_string("target_cpu" "x86")
# elseif (BOARD STREQUAL "native_posix_64")
# elseif (BOARD STREQUAL "native_posix/native/64")
# matter_add_gn_arg_string("target_cpu" "x64")
# endif()

Expand Down
2 changes: 1 addition & 1 deletion config/zephyr/chip-module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if(CONFIG_CHIP)

if(BOARD STREQUAL "native_posix")
matter_add_gn_arg_string("target_cpu" "x86")
elseif(BOARD STREQUAL "native_posix_64")
elseif(BOARD STREQUAL "native_posix/native/64")
matter_add_gn_arg_string("target_cpu" "x64")
endif()

Expand Down
2 changes: 1 addition & 1 deletion scripts/build/builders/nrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def GnArgName(self):
elif self == NrfBoard.NRF5340DK:
return 'nrf5340dk_nrf5340_cpuapp'
elif self == NrfBoard.NATIVE_POSIX_64:
return 'native_posix_64'
return 'native_posix/native/64'
else:
raise Exception('Unknown board type: %r' % self)

Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/nrfconnect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# @file
# CMake project for building and running selected CHIP unit tests using
# 'nrfconnect' platform integration layer in CHIP and Zephyr
# 'native_posix[_64]' platforms. Note that certain design decisions behind
# 'native_posix[/native/64]' platforms. Note that certain design decisions behind
# the native_posix platforms make them inapplicable for some unit tests,
# hence only a subset of CHIP unit tests is listed in the project.
# See: https://docs.zephyrproject.org/1.12.0/boards/posix/native_posix/doc/board.html
Expand Down

0 comments on commit 8cace83

Please sign in to comment.