mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
The sim presence pin allows the simtrace2 to inform the modem about the presence of the simcard. On a generic simcard slot a button is pressed by the simcard which generate a high or low voltage level. Even though there are specifications of minipcie or ngff defining this signal, certain modems behave different. Certain modems require different signals from the specification. Extend the usb protocol to set the behaviour at runtime. Related: SYS#6946 Change-Id: I77118114ba873fdf0778137402888b40f2442456
28 lines
766 B
Makefile
28 lines
766 B
Makefile
LIBOSMOCORE_CFLAGS=`pkg-config --cflags libosmocore`
|
|
LIBOSMOCORE_LIBS=`pkg-config --libs libosmocore`
|
|
|
|
CFLAGS=-g -Wall $(LIBOSMOCORE_CFLAGS) \
|
|
-I../src_simtrace \
|
|
-I../atmel_softpack_libraries/libchip_sam3s \
|
|
-I../atmel_softpack_libraries/libchip_sam3s/cmsis \
|
|
-I../atmel_softpack_libraries/libchip_sam3s/include \
|
|
-I../atmel_softpack_libraries/usb/include \
|
|
-I../atmel_softpack_libraries/ \
|
|
-I../libcommon/include \
|
|
-I../libboard/common/include \
|
|
-I../libboard/simtrace/include \
|
|
-I.
|
|
LIBS=$(LIBOSMOCORE_LIBS)
|
|
|
|
VPATH=../src_simtrace ../libcommon/source
|
|
|
|
card_emu_test: card_emu_tests.hobj card_emu.hobj usb_buf.hobj iso7816_fidi.hobj
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
|
|
|
%.hobj: %.c
|
|
$(CC) $(CFLAGS) -o $@ -c $^
|
|
|
|
clean:
|
|
@rm -f *.hobj
|
|
@rm -f card_emu_test
|