Skip to main content
Wissem Chouchene
Visitor II
February 11, 2018
Question

How to Add the I-CUBE LRWAN1 to the Keil env ? can I use the I-CUBE LRWAN1 in STM32CubeMx ? thank you for your help

  • February 11, 2018
  • 3 replies
  • 682 views
Posted on February 11, 2018 at 17:32

!

How to Add the I-CUBE LRWAN1 to the Keil env ? can I use the I-CUBE LRWAN1 in STM32CubeMx ? thank you for your help 

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    February 11, 2018
    Posted on February 11, 2018 at 17:52

    The LRWAN1 software trees include Keil projects, you should be able to load those and build directly in Keil 5, might need to pull some packs automatically from Keil.

    The Cube name here is a bit misleading, the LRWAN1 is more of a standalone HAL package than an 'add-on' to CubeMX. The way the Semtech code is integrated is also a bit divergent from the normal HAL/CubeMX models. This topic has be addressed in similar threads, check some of those out.

    You can use CubeMX to create L0 code, but you'd then need to merge that into the LRWAN1 trees, or get sufficiently confortable with HAL/LL or register level coding to add features to the existing code.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Technical Moderator
    February 13, 2018
    Posted on February 13, 2018 at 14:10

    Hello

    Chouchene.Wissem

    ,

    The I-CUBE LRWAN1 is not supported in STM32CubeMx.You have to add it manually to the project generated under project's workspace.

    I recommend that you start with the examples using Keil in theI-CUBE LRWAN package:

    STM32CubeExpansion_LRWAN_V1.1.4\Projects\Multi\Applications\LoRa\

    Best Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Andrew Neil
    Super User
    February 13, 2018
    Posted on February 13, 2018 at 14:58

    As

    Turvey.Clive.002

    ‌, the

    I-CUBE LRWAN1 comes with example Keil projects - so start with them.

    They do build as-is with the free STM32L0/F0 Keil edition.

    the LRWAN1 is more of a standalone HAL package than an 'add-on'

    Agreed.

    This topic has be addressed in similar threads, check some of those out.

    For example:

    https://community.st.com/0D50X00009XkWqTSAV

    DAHMEN.IMEN

    You have to add it manually to the project generated

    Disagree - I think you will find it far easier to add other stuff to it that to try adding it to anything else!

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.