for testing: add NOSLEEP build option to remove sleep mode entirely

This commit is contained in:
Joey Castillo
2025-05-29 07:16:50 -04:00
parent 9a712258f8
commit ca46cb4988
4 changed files with 19 additions and 1 deletions

View File

@@ -42,6 +42,10 @@ else
endif
endif
ifdef NOSLEEP
DEFINES += -DMOVEMENT_LOW_ENERGY_MODE_FORBIDDEN
endif
ifdef EMSCRIPTEN
all: $(BUILD)/$(BIN).elf $(BUILD)/$(BIN).html
$(BUILD)/$(BIN).html: $(OBJS)