version.c 561 B

123456789101112131415161718192021222324252627282930313233
  1. #include "system/includes.h"
  2. #include "generic/log.h"
  3. extern char __VERSION_BEGIN[];
  4. extern char __VERSION_END[];
  5. _INLINE_
  6. int app_version_check()
  7. {
  8. char *version;
  9. puts("=================Version===============\n");
  10. for (version = __VERSION_BEGIN; version < __VERSION_END;) {
  11. version += 4;
  12. printf("%s\n", version);
  13. version += strlen(version) + 1;
  14. }
  15. puts("=======================================\n");
  16. return 0;
  17. }
  18. int lib_btstack_version(void)
  19. {
  20. return 0;
  21. }
  22. int lib_media_version(void)
  23. {
  24. return 0;
  25. }