• Welcome to Andy's Workshop Forums. Please login or sign up.
 

How do I know what version of stm32plus I have installed

Started by pratipm, January 31, 2015, 06:16:54 am

Previous topic - Next topic

pratipm

I downloaded the library couple of weeks back from GitHub, and do not remember which version was it. Looking at the file README.md I do see reference to STM32F030 device, so I must be having the latest.
Is there a direct way to verify?
Thanks.

Pratip

pratipm

After reading the SConstruct file, found this line in ./lib/include/config/stm32plus.h

#define STM32PLUS_BUILD 0x040000

So I must be having 4.0 version.

Andy Brown

Yes that's it; the STM32PLUS_BUILD macro is the correct way to identify the version.
It's worse than that, it's physics Jim!