Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


LoRa - REGION_AU915

Hi all,
First my apology, if this is not the appropriate forum for my question, if not please guide me to the correct one.

I have two ST Micro LoRa Development systems (B-L072Z-LRWAN1, discovery cards). - http://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html.Question

I have installed the AC6, OpenSTM32 tool bench for STM32 on window 10.
http://www.openstm32.org/HomePageQuestion

I downloaded the ST Lora Stack – I-CUBE-LRWAN
http://www.st.com/en/embedded-software/i-cube-lrwan.htmlQuestion

I am working on the sub-project in it called AT Slave.

I have two questions:
a. Is this the correct LoRa stack I should use on MuRata module?
b. As default AT_Slave application is set for REGION_EU868. I like to
set it to REGION_AU915, I don’t know how to?

Thanks

One of the first lines in main.c is defined( USE_BAND_915 ) so just put the setting in the preprocessor defined settings in the properties of the project.

Hi Mark,
Thank you for our email. I have already tried this procedure several time but it does not work, couple of points.

a. There are 4 projects (sample code) in this package Only one project (PingPong) uses the USE_BAND flag.
The other 3 projects use REGION_XXXX such as REGION_EU868 switch. Its described in region.h file.

b. I changed the pre-processor flag as follows:
project> Properties > C/C++ Build > Setting > Preprocessor
it had following setting:
STM32L072xx
USE_B_L072Z_LRWAN1
REGION_EU868

I changed REGION_EU868 > REGION_US915  but it does not change the frequency sounds like it hardwired to the EU868 switch, I tried finding the define statement in the code but was unenable to do so.

will appreciate any help,, Thx