Skip to content

Commit

Permalink
Add deprecation warning during build when building a board that uses …
Browse files Browse the repository at this point in the history
…arm_atsam.
  • Loading branch information
tzarc committed Dec 4, 2020
1 parent 64b395c commit 39ef2ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tmk_core/arm_atsam.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ MCUFLAGS += -D__$(ARM_ATSAM)__
# For a directory that has spaces, enclose it in quotes.
EXTRALIBDIRS =

warn-arm_atsam:
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
$(info This MCU support package has a lack of support from the upstream provider (Massdrop).)
$(info It's likely that this keyboard will be deprecated in the near future.)
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)

# Convert hex to bin.
bin: $(BUILD_DIR)/$(TARGET).hex
bin: $(BUILD_DIR)/$(TARGET).hex warn-arm_atsam
$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;

Expand Down

0 comments on commit 39ef2ed

Please sign in to comment.