STM32F103C8 - RFM69 Compilation error

Post Reply
Myk13
Posts: 2
Joined: Sun Sep 08, 2024 10:23 pm

STM32F103C8 - RFM69 Compilation error

Post by Myk13 »

Dear everybody!

I am trying to program through ARDUINO IDE 2.3.2 a STM32F103C8T6 BluePill using HID Bootloader 2.2 on a Windows 11 Home, but I get an error:
"Compilation error:

"C:\Users\Myk13\AppData\Local\Temp\.arduinoIDE-unsaved202489-10700-m63q25.c3m6d\RFM69-Gateway-STM32\RFM69-Gateway-STM32.ino:97:12:
fatal error: libmaple/iwdg.h: No such file or directory
97 | #include <libmaple/iwdg.h> // STM Marple Watchdog lib
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Alternatives for libmaple/iwdg.h: []
ResolveLibrary(libmaple/iwdg.h)
-> candidates: []
exit status 1
Compilation error: libmaple/iwdg.h: No such file or directory"

I'm using a sketch from the library without any changes: "https://github.com/brainelectronics/RFM69-STM32"
My board Manager : https://github.com/stm32duino/BoardMana ... index.json

Other sketches play without problems. Please help, thanks.
ag123
Posts: 1793
Joined: Thu Dec 19, 2019 5:30 am
Answers: 28

Re: STM32F103C8 - RFM69 Compilation error

Post by ag123 »

the library is written for libmaple core, not stm core, you would need to update the library manually to build it.
Myk13
Posts: 2
Joined: Sun Sep 08, 2024 10:23 pm

Re: STM32F103C8 - RFM69 Compilation error

Post by Myk13 »

Thanks for the reply. :D

For me this may turn out to be impossible to do alone.

I have no idea how or where to overwrite the library to fit STM. I couldn't find a library for these transceivers and STM anywhere on the internet. :(
ag123
Posts: 1793
Joined: Thu Dec 19, 2019 5:30 am
Answers: 28

Re: STM32F103C8 - RFM69 Compilation error

Post by ag123 »

it shouldn't be too difficult to review the codes and figure out what to change
alternatively, you may want to log a ticket in the repository where you get the library from

the (roger's) libmaple core is here
https://github.com/rogerclarkmelbourne/Arduino_STM32
but the usual 'you are on your own' applies to practically all cores. Volunteers here may reply in response (out of kindness etc), but that no one is obliged to.

I think there are more than a single version of RFM69 libraries
https://github.com/LowPowerLab/RFM69
https://lowpowerlab.com/category/rfm69/

probably more if you search github or google / bing / yahoo search for them
Post Reply

Return to “USB to Serial adaptors”