FIX: 'EMV compiling' - Makefiles are very picky about how things are done. its parser is a bit paranoid. So, to make things easier and more correct.
- armsrc/Makefile when commenting out functionality, move it below the comment otherwise APPS_CFLAG breaks to early. See WITH_LCD - common/Makefile.common enable / disable EMV, uncomment two lines. then make clean && make all. flash, MIGHT NOT work on 256kb devices FIX: missing break in appmain.c made it go to iclass function..
This commit is contained in:
@@ -61,8 +61,11 @@ endif
|
||||
|
||||
#uncomment to enable EMV
|
||||
#APP_CFLAGS += -DWITH_EMV
|
||||
#COMMON_FLAGS += -DWITH_EMV
|
||||
#uncomment to fix 256 vs 512kb Devices
|
||||
APP_CFLAGS += -DHAS_512_FLASH
|
||||
COMMON_FLAGS += -DHAS_512_FLASH
|
||||
|
||||
# Also search prerequisites in the common directory (for usb.c), the fpga directory (for fpga.bit), and the zlib directory
|
||||
VPATH = . ../common ../fpga ../zlib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user