I’m building a STM32 project with the STM32 Low Level (LL) Driver library using VisualGDP and VS2022. Many of the STM32xx_LL_xx.h header files enable or disable some functionality using something like this.
#if defined(USE_FULL_LL_DRIVER)
{
//stm32 low level driver code here
}
Rather than manually type a #define USE_FULL_LL_DRIVER line in a bunch of the STM header files, it seems like I should be able to define a preprocessor directive or definition (maybe using the Project Property Pages > Configuration Properties > C/C++ Preprocessor > Preprocessor Definitions) that inserts a #define USE_FULL_LL_DRIVER line in every header file but I haven’t figure out how yet. Can I do this in VisualGDB and if so, how?
Thanks
-
This topic was modified 1 year, 10 months ago by GeneM.
-
This topic was modified 1 year, 10 months ago by GeneM.
-
This topic was modified 1 year, 10 months ago by GeneM.