Compiling LoRaMac-node on Arch Linux #1101
Replies: 2 comments
-
The development-environment.md just provides basic instructions on how to launch The problem that you are encountering is due to some missing parameters on your Please refer to the README.md file Building Process chapter for an example on how to execute the $ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release \
-DTOOLCHAIN_PREFIX="<replace by toolchain path>" \
-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="NucleoL476" \
-DMBED_RADIO_SHIELD="SX1276MB1MAS" \
-DSECURE_ELEMENT="SOFT_SE" \
-DSECURE_ELEMENT_PRE_PROVISIONED="ON" \
-DUSE_RADIO_DEBUG="ON" ..
$ make Please note that as you are using an SX1276 Dragino shield you need to add the support for it. You can base your work on the In order to get your shield supported you need to modify/create the following files
Once you have added the support for your shield the In the future it would be nice if you could post this kind of questions on the project Discussions tab. It is a better place to engage discussions and then we can agree if it is an issue or not. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your pointers! And yes, I will keep in mind to move further discussions to the right tab. |
Beta Was this translation helpful? Give feedback.
-
Thank you for enabling gnu utilities so this project can be compiled without any specific IDE but just using the terminal. This is what I am trying to achieve. I am following the advice given on https://github.com/Lora-net/LoRaMac-node/blob/master/doc/development-environment.md, step by step.
The hardware I want to compile this LoRaWAN library for is:
My goal is to get a first basic version to be able to transmit a LoRa frame using this library. I first do a git clone of the project
git clone https://github.com/Lora-net/LoRaMac-node.git
I then follow the instructions to setup the utilities. My exact commands are
Then I visit the project dir, make a build folder and cd into it.
These commands finish successfully. However I receive an error saying the following
I'm curious to know some pointers where I can get started. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions