I'm a novice with STM32 and Keil. I'd like to use a BMP280 C library and a RFM69 C++ library. I wasn't able to understand how to use both in the same project. Can someone share some advice/guidance? The C++ library uses .hpp files and they were not recognized. I was probably making a mistake. Thank you in advance for any help.
Frank
here is how i do it and it works
stmmxcube-> generate code for keil
compile code in keil
in keil-> right click main.c->options for file main.c->file type->c++ source file
now you can add c++ header files and it will work
when you regenerate code form stm cubemx repeat steps
i generally add c++ files from arduino and make them compatable
it works always
some functions are still not supported
currently c++17 is supported
Thank you very much. I will try that.
View all questions in Keil forum