We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
The techniques for mixing 'C' and C++ are standard - not specific to Keil - so should be covered in standard references.
one key factor is the use of
extern "C"
Unknown said:I'm a novice with STM32 and Keil
Are you familiar with using STM32 in any other IDE(s) ?
Are you familiar with using any other microcontroller(s) ?
Are you familiar with 'C' and/or C++ programming in general ?
For learning, start here:
http://www2.keil.com/mdk5/learn
See also: https://www.keil.com/books/
Thank you. I will take a look at those resources. No I've not used STM32 in other IDE's. I've used other microcontrollers, but at a higher level of abstraction. I am familiar with C and a have less experience with C++ .