How i add I-CUBE-LRWAN libraries to my own project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-07 4:30 AM
Hello,
Once i create a project with CubeMX for B-L072Z-LRWAN1 kit, how i can add I-CUBE-LRWAN libraries externally. Before this project i used ping-pong example in called library. It was divergent for which i want to do.
Thanks.
- Labels:
-
LoRa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-07 6:23 AM
Yes, in my experience the Semtech based driver code is using an entirely different paradigm. I think the trick here is to be able to code HAL, or register level, directly rather than use machine generated code.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-07 7:15 AM
Thanks a lot for your answer, but i have not qualification for coding with register level for now and i am trying to use HAL libraries and LoRa libraries. So, which files or libraries I need for a fresh LoRa project after created with CubeMX?
Thanks for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-07 9:19 AM
Here I don't use CubeMX, I'm instrument rated.
Given most of what's specific to PingPong is all in main.c the simplest route is typically to fork an existing project or framework, clone the project to another directory, cut out the junk you don't want/need and merge in the functionality you want.
Got a bunch of I2c sensor or display code, build it in HAL or CubeMX, test it in isolation, and then pull the core functionality into a file that encapsulates the initializes and relevant code. CubeMX wants to spread it across a whole load of files, but you need to pull it together more cohesively.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-15 11:24 AM
My advice is to usethe test codes (STM32CubeExpansion_LRWAN_V1.2.1), open the projects in either IAR, KEIL or SW4STM32 and edit them for your needs.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-20 7:30 AM
Thanks for your advice.
