diff --git a/make.mk b/make.mk index bb2d153..ee40100 100644 --- a/make.mk +++ b/make.mk @@ -58,11 +58,13 @@ CFLAGS += -fdata-sections -ffunction-sections CFLAGS += -funsigned-char -funsigned-bitfields CFLAGS += -mcpu=cortex-m0plus -mthumb CFLAGS += -MD -MP -MT $(BUILD)/$(*F).o -MF $(BUILD)/$(@F).d +CFLAGS += -g LDFLAGS += -mcpu=cortex-m0plus -mthumb LDFLAGS += -Wl,--gc-sections LDFLAGS += -Wl,--script=$(TOP)/watch-library/hardware/linker/saml22j18.ld LDFLAGS += -Wl,--print-memory-usage +LDFLAGS += -g LIBS += -lm diff --git a/movement/movement.h b/movement/movement.h index 1dabfbc..ffceae6 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -312,4 +312,6 @@ void movement_play_alarm_beeps(uint8_t rounds, BuzzerNote alarm_note); uint8_t movement_claim_backup_register(void); +void set_time(void); + #endif // MOVEMENT_H_