user_version.h 592 B

12345678910111213141516171819202122
  1. #ifndef __USER_VERSION_H__
  2. #define __USER_VERSION_H__
  3. #include "version.h" /* ESP firmware header */
  4. #define NODE_VERSION_MAJOR ESP_SDK_VERSION_MAJOR
  5. #define NODE_VERSION_MINOR ESP_SDK_VERSION_MINOR
  6. #define NODE_VERSION_REVISION ESP_SDK_VERSION_PATCH
  7. #define NODE_VERSION_INTERNAL 0
  8. #define NODE_VERSION_STR(x) #x
  9. #define NODE_VERSION_XSTR(x) NODE_VERSION_STR(x)
  10. #define NODE_VERSION "NodeMCU " ESP_SDK_VERSION_STRING "." NODE_VERSION_XSTR(NODE_VERSION_INTERNAL)
  11. #ifndef BUILD_DATE
  12. #define BUILD_DATE "unspecified"
  13. #endif
  14. extern char SDK_VERSION[];
  15. #endif /* __USER_VERSION_H__ */