Port of flash_cc2531 to FreeBSD.
This is likely more just include a wiringPi compatible library for FreeBSD.
Any new files are BSD licensed and NOT GPLv3 license.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- LDLIBS=-lwiringPi -lcrypt -lm -lrt
- CFLAGS=-g
- LDFLAGS=-g
-
- all: cc_chipid cc_read cc_write cc_erase
-
- clean:
- rm -f cc_chipid cc_read cc_write cc_erase
-
- cc_erase : cc_erase.o CCDebugger.o
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-
- cc_write : cc_write.o CCDebugger.o
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-
- cc_read : cc_read.o CCDebugger.o
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-
- cc_chipid : cc_chipid.o CCDebugger.o
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-
- cc_chipid.o : cc_chipid.c CCDebugger.h
- $(CC) $(CFLAGS) -c $*.c
-
- CCDebugger.o : CCDebugger.c CCDebugger.h
- $(CC) $(CFLAGS) -c $*.c
|