LoRa_STM32 icon indicating copy to clipboard operation
LoRa_STM32 copied to clipboard

Build with STM32CubeIDE

Open cthil opened this issue 3 years ago • 8 comments

Is there a chance the firmware project will be ported to STM32CubeIDE (or any other GNU Arm embedded toolchain)? I tried it on my own and the project builds, but it hangs somewhere at runtime.

cthil avatar Sep 13 '21 17:09 cthil

Maybe you have missed a build flag? Does it hang from start or after some time?

I have successfully built the similar LGT92 firmware with GCC (see dragino/LGT-92_-LoRa_GPS_Tracker#25).

tormodvolden avatar Oct 11 '21 10:10 tormodvolden

I did a mistake adjusting the interrupt vector table. So if someone is interested, I can provide the repo version 1.7.2 modified to build with STM32CubeIDE.

cthil avatar Oct 11 '21 16:10 cthil

@cthil Yes, it is great to know. Please help to share.

I may want to start the same journey soon.

Thanks a lot.

IoTThinks avatar Oct 11 '21 16:10 IoTThinks

Hi,

@cthil I am VERY interesed in building with STM32CubeIDE! So if you can please provide a link to a working repository here on github, it would be great.

Thanks a lot! Regards

FStefanni avatar Feb 17 '22 09:02 FStefanni

Here it is: https://github.com/cthil/lora_stock At current, it is set for the EU868 region. If this doesn't match for you, you have to adjust the preprocessor symbol (Project properties, C/C++ Build, Settings, MCU GCC Compiler, Preprocessor).

Have fun! Christophe

cthil avatar Mar 03 '22 21:03 cthil

Hi,

thank you. I'll start to work on it the next week.

Regards

FStefanni avatar Mar 04 '22 07:03 FStefanni

Interested in finding someone to develop/modify the firmware to support a MEMS microphone. I've tweaked the LSN50v2 firmware to support a modified working mode (MOD) but not skilled enough to integrate a microphone into the code.

https://www.sparkfun.com/products/18011

NewHopeApiary avatar Mar 04 '22 17:03 NewHopeApiary

Hello, if someone need it here you can find the code ported to STM32CubeIDE 1.12.1

https://github.com/ypkdani00/dragino_lsn50_v2

ypkdani00 avatar Jun 06 '23 08:06 ypkdani00