From 835ad719889c05c87364d899d632e19d6b11a34e Mon Sep 17 00:00:00 2001 From: "@shinhub" Date: Sun, 23 Feb 2020 19:08:45 +0100 Subject: [PATCH] Temp fix to limit FW size that mess with BOOT_LOADER_EXE --- Firmware/ChameleonMini/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Firmware/ChameleonMini/Makefile b/Firmware/ChameleonMini/Makefile index 574f54b..9a66016 100644 --- a/Firmware/ChameleonMini/Makefile +++ b/Firmware/ChameleonMini/Makefile @@ -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 @@ -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