This commit is contained in:
2025-02-11 22:21:56 +01:00
commit 287a28f789
51 changed files with 16390 additions and 0 deletions

11
app/CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
# Application configuration
add_executable(
bs
main.c
)
# linking configuration
target_link_libraries(
bs PRIVATE jtag_core
)

21
app/main.c Normal file
View File

@@ -0,0 +1,21 @@
#include <stdio.h>
#include "jtag_core.h"
void jtcprint(jtag_core *jc, const char *msg) {
printf(msg);
}
int main(int argc, char **argv) {
jtag_core *jc;
jc = jtagcore_init();
if (jtagcore_set_logs_callback(jc, jtcprint) < 0) goto end;
end:
jtagcore_deinit(jc);
printf("Finished.");
return 0;
}