diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-07-28 11:03:33 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-07-28 11:03:33 +0000 |
commit | 9d0d7022e5f789000de7ac062e8da33a44d5b7f2 (patch) | |
tree | 5bd50005a612dd0051b81629cbb3b03e7c2d503b /openpcd/firmware/Makefile | |
parent | 50058870424db13cffcbb687013d128996b53de1 (diff) |
- move all librfid-imported header files into include/librfid/
- import rfid_layer2_iso14443a.c from librfid
- fix definition of 14443A ATQA to be __attribute__((packed));
- fix SPI DMA routines (hopefully!)
- introduce new 'hexdump' function for creating hexdump debug output
- move clearing SPI/UDP interrupt code to end of function to prevent re-entrance
- declare spi_transceive() functions static
- add hexdump debug output to DMA spi_transceive
- remove tx_buf/rx_buf buffers and rather use spi_inbuf/spi_outbuf
- add new "main_analog.c" program to use 'q' and 'w' to select analog output
- increase interrupt stack to 1k
- add _main_dbgu() function to allow 'main' programs to extend supported dbgu cmds
- remove old DEBUG_TOGGLE_LED code from main.c
- print ATQA that is received after successful REQA transceive in main_reqa.c
- add OLIMEX make define so we can do "make TARGET=main_dumbreader OLIMEX=1"
git-svn-id: https://svn.openpcd.org:2342/trunk@51 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpcd/firmware/Makefile')
-rw-r--r-- | openpcd/firmware/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openpcd/firmware/Makefile b/openpcd/firmware/Makefile index 681e522..c9c793e 100644 --- a/openpcd/firmware/Makefile +++ b/openpcd/firmware/Makefile @@ -77,6 +77,8 @@ SRCARM = lib/lib_AT91SAM7.c src/pcd_enumerate.c src/fifo.c src/dbgu.c \ src/trigger.c src/main.c src/syscalls.c \ src/$(TARGET).c src/start/Cstartup_SAM7.c +SRCARM += src/rfid_layer2_iso14443a.c + # List C++ source files here. # use file-extension cpp for C++-files (use extension .cpp) CPPSRC = @@ -141,8 +143,10 @@ AT91LIBNOWARN = yes CSTANDARD = -std=gnu99 # Place -D or -U options for C here -CDEFS = -D$(RUN_MODE) -D__MS_types__ -DDEBUG -#CDEFS += -DOLIMEX +CDEFS = -D$(RUN_MODE) -D__MS_types__ -D__LIBRFID__ -DDEBUG +ifdef OLIMEX +CDEFS += -DOLIMEX +endif # Place -I options here CINCS = -Iinclude -Isrc |