• Pre-Processor Location
    Hi, I have a very silly question and very strange as well. I just created a new project for stm32f407vg in Keilv5 MDK on HAL. Following is the simple code: This is HAL libraries FILE ...
  • Pre-Processor Location
    Hi, I have a very silly question and very strange as well. I just created a new project for stm32f407vg in Keilv5 MDK on HAL. Following is the simple code: This is HAL libraries FILE ...
  • Sub String in Pre-Processor?
    Does anyone know how to get the pre-processor to spit out a substring? In this case, I want to include only the year from the __DATE__ macro. Something like: #define YEAR=substr(8,4,__DATE__) const...
  • Sub String in Pre-Processor?
    Does anyone know how to get the pre-processor to spit out a substring? In this case, I want to include only the year from the __DATE__ macro. Something like: #define YEAR=substr(8,4,__DATE__) const...
  • Nesting of pre-processor #if/#endif
    Hello. Using C51, is nesting of pre-processor #if/#endif statements allowed?