-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello, I tried to use thread-v1.4-ti to build on CC2340R53 (the table indicates that FTD and MTD implementations are supported for this chip) so following the steps described in the README I successfully executed ./script/bootstrap and started executing ./script/build LP_EM_CC2340R53
But when executing I encountered the following error:
vlad@dubinaPC:/mnt/d/Texas Instruments/ot-ti$ ./script/build LP_EM_CC2340R53
+ OT_CMAKE_NINJA_TARGET=
+ TI_SYSCONFIG_ROOT=
+ SYSCONFIG_VERSION=sysconfig_1.24.1
+ SYSCONFIG_USER=/home/vlad/ti/sysconfig_1.24.1/
+ SYSCONFIG_SYSTEM=/opt/ti/sysconfig_1.24.1/
+ CMAKE=cmake
+ GCC_ARMCOMPILER=/opt/gcc-arm-none-eabi-9-2020-q2-update
+ TICLANG_ARMCOMPILER=
+ IAR_ARMCOMPILER=
+ '[' -z '' ']'
+ '[' -d /home/vlad/ti/sysconfig_1.24.1/ ']'
+ TI_SYSCONFIG_ROOT=/home/vlad/ti/sysconfig_1.24.1/
+ TI_LAUNCHPAD=('CC1352P1_LAUNCHXL' 'CC1352P_2_LAUNCHXL' 'CC1352P_4_LAUNCHXL' 'CC1352R1_LAUNCHXL' 'CC26X2R1_LAUNCHXL' 'LP_CC1352P7_1' 'LP_CC1352P7_4' 'LP_CC2652PSIP' 'LP_CC2652R7' 'LP_CC2652RB' 'LP_CC2652RSIP' 'LP_EM_CC1354P10_1' 'LP_EM_CC1354P10_6' 'LP_CC2653P10' 'CC2674P10RGZ' 'CC2674P10RSK' 'CC2674R10RGZ' 'CC2674R10RSK' 'LP_EM_CC2340R5' 'LP_EM_CC2340R53' 'LP_EM_CC2755P10')
+ readonly TI_LAUNCHPAD
++ pwd
+ readonly 'OT_SRCDIR=/mnt/d/Texas Instruments/ot-ti'
+ OT_SRCDIR='/mnt/d/Texas Instruments/ot-ti'
+ OT_OPTIONS=('-DOT_PLATFORM=external')
+ readonly OT_OPTIONS
+ main LP_EM_CC2340R53
+ local 'usage=usage: ./script/build [-h] <TI LaunchPad> [-D<OT_XXXX=ON> -D<OT_YYYY=OFF>]'
+ local ot_reference_release=false
+ optspec=:h-:
+ getopts :h-: optchar
+ [[ 1 == 0 ]]
+ options=('-DOT_PLATFORM=external')
+ local options
+ local launchpad=LP_EM_CC2340R53
+ echo CC1352P1_LAUNCHXL CC1352P_2_LAUNCHXL CC1352P_4_LAUNCHXL CC1352R1_LAUNCHXL CC26X2R1_LAUNCHXL LP_CC1352P7_1 LP_CC1352P7_4 LP_CC2652PSIP LP_CC2652R7 LP_CC2652RB LP_CC2652RSIP LP_EM_CC1354P10_1 LP_EM_CC1354P10_6 LP_CC2653P10 CC2674P10RGZ CC2674P10RSK CC2674R10RGZ CC2674R10RSK LP_EM_CC2340R5 LP_EM_CC2340R53 LP_EM_CC2755P10
+ grep -wq LP_EM_CC2340R53
+ case "${launchpad}" in
+ options+=("-DCMAKE_TOOLCHAIN_FILE=src/arm-none-eabi-m0p.cmake")
+ options+=("$@")
+ build -DTI_SIMPLELINK_BOARD=LP_EM_CC2340R53 -DOT_PLATFORM=external -DCMAKE_TOOLCHAIN_FILE=src/arm-none-eabi-m0p.cmake LP_EM_CC2340R53
+ OT_SDK_DIR=third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx
+ OT_SDK_DIR_CC23XX_CC27XX=third_party/ti_simplelink_sdk/repo_cc23xx_cc27xx
+ local builddir=build
+ make -C third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx CMAKE=cmake GCC_ARMCOMPILER=/opt/gcc-arm-none-eabi-9-2020-q2-update IAR_ARMCOMPILER= TICLANG_ARMCOMPILER= GENERATOR=Ninja
make: Entering directory '/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx'
Skipping TICLANG build, no compiler defined
-- The ASM compiler identification is GNU
-- Found assembler: /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc
-- Supported platforms: cc13x1, cc26x1, cc13x2, cc26x2, cc13x2x7, cc26x2x7, cc13x4, cc26x4, cc26x3
-- Supported architectures: m4, m4f, m33f
-- Package search paths:
-- /mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/cmake/platforms/gcc
-- /mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/cmake/wrappers/gcc
-- Configuring done (24.1s)
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/tfm_s/cc26x4/build_dependencies"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/tfm/interface/include"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/tfm/secure_fw/include"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/tfm/config"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/tfm_s/build/cc26x4/production_full/Release/export/tfm/inc"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/mbedtls/include"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/mbedtls/ti"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc27xx" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/tfm_s/cc27xx/build_dependencies"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc27xx" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc27xx" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/tfm/interface/include"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc27xx" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/mbedtls/include"
which is prefixed in the source directory.
CMake Error in source/ti/drivers/CMakeLists.txt:
Target "tfm_dependencies_cc27xx" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/third_party/mbedtls/ti"
which is prefixed in the source directory.
-- Generating done (7.6s)
CMake Generate step failed. Build files cannot be regenerated correctly.
make: *** [Makefile:26: build-gcc] Error 1
make: Leaving directory '/mnt/d/Texas Instruments/ot-ti/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx'
It looks like some kind of problem with the paths, from my side I have definitely downloaded all the dependencies.
Could you please tell me how exactly to compile the project for CC2340R53 to implement an FTD or MTD device on it.
Best regards, Vlad
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels