Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributions related to Medium Article #11

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Maintaining compatibility with existing Windows build/makefiles
  • Loading branch information
nowinnovation authored and nOw Innovation committed Jun 9, 2022
commit f47f874d491727e558ba1920c2123d1a360f5ab8
5 changes: 1 addition & 4 deletions lib_jtag_core/build/linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ LDFLAGS +=-arch i386 -dynamiclib -current_version 2.0 -install_name @executable_
EXEC=libjtag_core.dylib
endif

LIB_JTAG_CORE = jtag_core.o dbg_logs.o bsdl_loader.o jtag_bsdl.o bsdl_strings.o drv_loader.o script.o env.o fs.o os_interface.o network.o
LIB_JTAG_CORE = jtag_core.o dbg_logs.o bsdl_loader.o bsdl_strings.o drv_loader.o script.o env.o fs.o os_interface.o network.o
PROBES_DRIVERS = drivers_list.o jlink_jtag_drv.o linux_gpio_jtag_drv.o #lpt_jtag_drv.o ftdi_jtag_drv.o
PROTOCOLS_DRIVERS = i2c_over_jtag.o mdio_over_jtag.o spi_over_jtag.o memory_over_jtag.o
NATSORT = strnatcmp.o
Expand Down Expand Up @@ -55,9 +55,6 @@ dbg_logs.o: $(BASEDIR)/dbg_logs.c
bsdl_loader.o: $(BASEDIR)/bsdl_parser/bsdl_loader.c
$(CC) -o $@ -c $< $(CFLAGS)

jtag_bsdl.o: $(BASEDIR)/bsdl_parser/jtag_bsdl.c
$(CC) -o $@ -c $< $(CFLAGS)

bsdl_strings.o: $(BASEDIR)/bsdl_parser/bsdl_strings.c
$(CC) -o $@ -c $< $(CFLAGS)

Expand Down
1 change: 1 addition & 0 deletions lib_jtag_core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set(JTAG_BSDL_SRC
bsdl_parser/jtag_bsdl.c
bsdl_parser/bsdl_strings.c
natsort/strnatcmp.c
dbg_logs.c
)

add_library(jtag_bsdl ${JTAG_BSDL_SRC})
Expand Down
1 change: 1 addition & 0 deletions lib_jtag_core/src/bsdl_parser/bsdl_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "../dbg_logs.h"
#define DEBUG 1

#include "jtag_bsdl.cc"

jtag_bsdl * load_bsdlfile(jtag_core * jc,char *filename)
{
Expand Down
Loading