Skip to content

Commit

Permalink
Merge pull request #180 from securechicken/flashsize_fix
Browse files Browse the repository at this point in the history
Temp fix to limit FW size that mess with BOOT_LOADER_EXE
  • Loading branch information
securechicken committed Feb 23, 2020
2 parents d211510 + 835ad71 commit 80f75ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Firmware/ChameleonMini/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ PYTHON_BIN = /usr/bin/env python3
CRYPTO_TOOL = ../../Software/Tools/crypt_operations.py

#Supported configurations
#WARNING. If you flash from Windows original tools, choose either CLASSIC OR ULTRALIGHT
#BOTH will produce a firmware that is too big for BOOT_LOADER_EXE to handle
SETTINGS += -DCONFIG_MF_CLASSIC_SUPPORT
SETTINGS += -DCONFIG_MF_ULTRALIGHT_SUPPORT
#SETTINGS += -DCONFIG_MF_ULTRALIGHT_SUPPORT
SETTINGS += -DCONFIG_MF_CLASSIC_DETECTION_SUPPORT
#SETTINGS += -DCONFIG_MF_CLASSIC_BRUTE_SUPPORT
#SETTINGS += -DCONFIG_MF_CLASSIC_LOG_SUPPORT
Expand All @@ -29,8 +31,9 @@ SETTINGS += -DCONFIG_MF_CLASSIC_DETECTION_SUPPORT
SETTINGS += -DSUPPORT_FIRMWARE_UPGRADE

#Enable the MEMORYTEST and/or MEMORYINFO commands to help with memory management debug
SETTINGS += -DCONFIG_DEBUG_MEMORYTEST_COMMAND
SETTINGS += -DCONFIG_DEBUG_MEMORYINFO_COMMAND
#REQUIRES enabling CONFIG_MF_CLASSIC_SUPPORT and CONFIG_MF_CLASSIC_DETECTION_SUPPORT
#SETTINGS += -DCONFIG_DEBUG_MEMORYTEST_COMMAND
#SETTINGS += -DCONFIG_DEBUG_MEMORYINFO_COMMAND

#Default configuration
SETTINGS += -DDEFAULT_CONFIGURATION=CONFIG_NONE
Expand Down

0 comments on commit 80f75ab

Please sign in to comment.