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:
iceman1001
2017-02-13 15:32:48 +01:00
parent 4c8fe2e976
commit 573e8d72c7
4 changed files with 19 additions and 19 deletions

View File

@@ -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