You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After ct-ng oldconfig, the file .config looks like this:
however in document, it said the .config should look like:
...
CT_LOCAL_TARBALLS_DIR="/Volumes/CrossToolNG/src"
# CT_SAVE_TARBALLS is not set
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_PREFIX_DIR="/Volumes/CrossToolNG/x-tools/${CT_TARGET}"
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
# Following options prevent link errors
CT_WANTS_STATIC_LINK=n
CT_CC_STATIC_LIBSTDCXX=n
...
I think it might cause by the document is behind latest source code, so I run ct-ng build.
When finished, the toolchain should be available under /Volumes/CrossToolNG/x-tools, but in my /Volumes/CrossToolNG there is just a i586-zephyr-elf folder.
There is no such x-tools.
I think it might build successfully. but when I try to run samples/hello_world,
export ZEPHYR_TOOLCHAIN_VARIANT=xtools
export XTOOLS_TOOLCHAIN_PATH=/Volumes/CrossToolNG
export ZEPHYR_TOOLCHAIN_VARIANT=xtools
export ZEPHYR_SDK_INSTALL_DIR=/Volumes/CrossToolNG
cd $ZEPHYR_BASE/samples/hello_world
mkdir build && cd build
Then I run cmake -GNinja -DBOARD=qemu_x86 .. and get this:
CMake Deprecation Warning at /Users/***/project/zephyr/cmake/app/boilerplate.cmake:38 (cmake_policy):
The OLD behavior for policy CMP0000 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:2 (include)
-- Found PythonInterp: /usr/local/bin/python3.4 (found suitable version "3.4.2", minimum required is "3.4")
-- Selected BOARD qemu_x86
Zephyr version: 1.11.99
CMake Error at /Users/***/project/zephyr/cmake/host-tools-zephyr.cmake:24 (message):
The file '/Volumes/CrossToolNG/sdk_version' was not found. Is
ZEPHYR_SDK_INSTALL_DIR=/Volumes/CrossToolNG misconfigured?
Call Stack (most recent call first):
/Users/***/project/zephyr/cmake/host-tools.cmake:1 (include)
/Users/***/project/zephyr/cmake/app/boilerplate.cmake:240 (include)
CMakeLists.txt:2 (include)
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered:
using 1.11.99 , following the installation_mac in doc.
Everything works exactly right until this step:
After
ct-ng oldconfig
, the file .config looks like this:however in document, it said the .config should look like:
I think it might cause by the document is behind latest source code, so I run
ct-ng build
.When finished, the toolchain should be available under /Volumes/CrossToolNG/x-tools, but in my /Volumes/CrossToolNG there is just a i586-zephyr-elf folder.
There is no such x-tools.
I think it might build successfully. but when I try to run samples/hello_world,
Then I run
cmake -GNinja -DBOARD=qemu_x86 ..
and get this:The text was updated successfully, but these errors were encountered: