All use C, and the storage occupied by global variables used by the business is too large,So I want to take CPP to complete it.
When C99 is checked, many errors are prompted when compiling the cpp file. After canceling C99, compiling lv_color.h file prompts many errors.
How to be compatible with C++ on the STM32 platform?
What MCU/Processor/Board and compiler are you using?
STM32F429,ARM Compiler V5
What LVGL version are you using?
What do you want to achieve?
Using arm compiler V5, I can compile littlevgl and C++.
What have you tried so far?
Code to reproduce
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.