dragino / LoRa_STM32

Source code for Dragino LoRa module base on STM32 Chip
76 stars 77 forks source link

Build with STM32CubeIDE #17

Open cthil opened 2 years ago

cthil commented 2 years ago

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.

tormodvolden commented 2 years ago

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).

cthil commented 2 years ago

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.

IoTThinks commented 2 years ago

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

I may want to start the same journey soon.

Thanks a lot.

FStefanni commented 2 years ago

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

cthil commented 2 years ago

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

FStefanni commented 2 years ago

Hi,

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

Regards

NewHopeApiary commented 2 years ago

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

ypkdani00 commented 1 year ago

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

https://github.com/ypkdani00/dragino_lsn50_v2