compiles and works

This commit is contained in:
François Dausseur
2025-02-18 11:36:18 +01:00
parent b66e82da87
commit 5dfe5b123e
17 changed files with 7087 additions and 2021 deletions

View File

@@ -62,7 +62,7 @@ typedef struct _script_label
typedef struct _script_ctx script_ctx;
typedef int (*SCRIPT_PRINTF_FUNC)(script_ctx * ctx, int MSGTYPE, char *string, ...);
typedef int (*SCRIPT_PRINTF_FUNC)(script_ctx * ctx, enum MSGTYPE typ, char *string, ...);
typedef struct _script_ctx
{

View File

@@ -1,21 +1,20 @@
#ifndef _VERSION_H
#define _VERSION_H
#define VDIG1 2
#define VDIG2 6
#define VDIG3 7
#define VDIG4 1
#define VDIG1 2
#define VDIG2 6
#define VDIG3 7
#define VDIG4 1
#define STR_DATE "28 Oct 2024"
#define STR_DATE "28 Oct 2024"
#define vxstr(s) vstr(s)
#define vstr(s) #s
#define vxstr(s) vstr(s)
#define vstr(s) #s
#define LIB_JTAG_CORE_VERSION vxstr(VDIG1) "." vxstr(VDIG2) "." vxstr(VDIG3) "." vxstr(VDIG4)
#define LIB_JTAG_CORE_VERSION_COMMA vxstr(VDIG1) "," vxstr(VDIG2) "," vxstr(VDIG3) "," vxstr(VDIG4)
#define APP_VER VDIG1.VDIG2.VDIG3.VDIG4
#define APP_VER_TXT( N ) JTAG Boundary Scanner v##N
#define APP_VER_STR( N ) vxstr( APP_VER_TXT( N ) )
#define APP_VER VDIG1.VDIG2.VDIG3.VDIG4
#define APP_VER_TXT_LONG( N ) JTAG Boundary Scanner v##N
#define APP_VER_TXT( N ) v##N
#define APP_VER_STR_LONG( N ) vxstr( APP_VER_TXT_LONG( N ) )
#define APP_VER_STR( N ) vxstr( APP_VER_TXT( N ) )
#endif