Simplify FPGA settings in Makefile.hal

Removed unnecessary platform definitions and comments related to low-battery safety.

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
Niel Nielsen authored and Philippe Teuwen committed 2026-09-23 13:44:57 +02:00
1 parent 51b605c87e
commit b7026e42af
1 file changed
+1 -5
+1 -5
View File
@@ -185,11 +185,7 @@ else ifeq ($(PLATFORM),PM5)
FPGA_BITSTREAMS = fpga_pm3_hf.bit # TODO DXL 虽然可以不把打包比特流,但是还是得把FPGA的版本信息给生成,让EXE依赖。
SKIP_FPGA_EMBED = true # important!!! disable the fpga bit files pack to arm!
SKIP_COMPRESSION = true # Skip data section compress. The new mcu has enough flash space.
PLATFORM_DEFS = -DWITH_FLASH -DPM5 -DCHIP_AT32F435_37 -DWITH_BWM_STATUS -DWITH_PM5_PWR_LED -DWITH_PM5_AUTOOFF -DWITH_BWM_LOWBATT_BEEP -DWITH_PM5_LOWBATT_SHUTDOWN # TODO 暂时不要编译i2c -DWITH_SMARTCARD
# Low-battery safety (beep + over-discharge power-off at ~3.3V) is ON by default.
# Opt out via PLATFORM_EXTRAS:
# NO_LOWBATT_SHUTDOWN ===== keep the beep, disable auto power-off ====
# NO_LOWBATT_BEEP ===== disable the beep (also drops the shutdown poll) ====
PLATFORM_DEFS = -DWITH_FLASH -DPM5 -DCHIP_AT32F435_37 # TODO 暂时不要编译i2c -DWITH_SMARTCARD
PLTNAME = Proxmark5
PLATFORM_FPGA = GW1NR-LV2MG49GC6/i5
else