Replies: 3 comments
-
Hi @JchenEng , could you please double check that you have defined every symbol which is available in the file ".vscode/settings.json"? E.g. have you defined In general, i would recommend to use VS Code which helps to have an easy start. |
Beta Was this translation helpful? Give feedback.
-
The README.md file provides the instructions on how to build the project at chapter Building Process The commands example were provided to build periodic-uplink-lpp example for NucleoL476 platform with LR1110MB1DIS MBED shield and using LR1110 pre-provisioned secure-element. This means that you need to adapt the command according to your needs. $ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release \
-DTOOLCHAIN_PREFIX=""C:/9 2019-q4-major"" \
-DCMAKE_TOOLCHAIN_FILE="../cmake/toolchain-arm-none-eabi.cmake" \
-DAPPLICATION="LoRaMac" \
-DSUB_PROJECT="periodic-uplink-lpp" \
-DCLASSB_ENABLED="ON" \
-DACTIVE_REGION="LORAMAC_REGION_EU868" \
-DREGION_EU868="ON" \
-DREGION_US915="OFF" \
-DREGION_CN779="OFF" \
-DREGION_EU433="OFF" \
-DREGION_AU915="OFF" \
-DREGION_AS923="OFF" \
-DREGION_CN470="OFF" \
-DREGION_KR920="OFF" \
-DREGION_IN865="OFF" \
-DREGION_RU864="OFF" \
-DBOARD="<YOUR PLATFORM NAME>" \
-DMBED_RADIO_SHIELD="<YOUR SHIELD NAME IF NECESSARY>" \
-DSECURE_ELEMENT="SOFT_SE" \
-DSECURE_ELEMENT_PRE_PROVISIONED="ON" \
-DUSE_RADIO_DEBUG="ON" ..
$ make |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, Sorry for the delay. I am using a NucleoL073 board with the radio shield (CWX1ZZABZ) which I believe is a SX1276MB1MAS.
Here is the following build commands that I used:
@djaeckle "C:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update/bin/arm-none-eabi-gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/XXXXXX/Downloads/LoRaMac-node-master/build/CMakeFiles/CMakeTmp Run Build Command(s):C:/msys64/mingw64/bin/mingw32-make.exe cmTC_798f0/fast && C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_798f0.dir\build.make CMakeFiles/cmTC_798f0.dir/build CMake will not be able to correctly generate this project.` Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello,
I fairly inexperienced with the whole cmake software, but essentially I am encountering some issues compiling the project. I have followed the development environment (https://github.com/Lora-net/LoRaMac-node/blob/master/doc/development-environment.md). I am trying to use the CMake GUI (CMake 3.19.0), but I receive the following errors:
Please specify the TOOLCHAIN_PREFIX !
For example: -DTOOLCHAIN_PREFIX="C:/Program Files/GNU Tools ARM Embedded"
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:18 (project):
The CMAKE_C_COMPILER:
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:18 (project):
The CMAKE_CXX_COMPILER:
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Where is the source code: "C:/Users/XXXXX/Desktop/Electronics/LoRaMac-node-master"
Where to build the binaries: "C:/Users/XXXXX/Desktop/Electronics/build"
I have tried adding a new entry called DTOOLCHAIN_PREFIX to where I installed the GNU tools ARM Embedded
but that did not resolve my issue.
Beta Was this translation helpful? Give feedback.
All reactions