Skip to content

Commit

Permalink
Revert "feat(Build): Add Compiler Flag for Checking Target Micro (#911)"
Browse files Browse the repository at this point in the history
This reverts commit f5bd0ae.
  • Loading branch information
EricB-ADI committed Aug 21, 2024
1 parent 597b0b3 commit cc24e9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions Libraries/CMSIS/Device/Maxim/GCC/gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,6 @@ ifneq "$(TARGET)" ""
CFLAGS+=-DTARGET=$(TARGET)
endif

ifneq "$(TARGET_UC)" ""
# Define a flag that the pre-processor can actually work with
# (i.e. #ifdef MAX78000 ...)
# TARGET_UC typically comes from the project core Makefile
CFLAGS += -D$(TARGET_UC)
endif

ifneq "$(TARGET_REV)" ""
CFLAGS+=-DTARGET_REV=$(TARGET_REV)
endif
Expand Down
7 changes: 0 additions & 7 deletions Libraries/CMSIS/Device/Maxim/GCC/gcc_riscv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,6 @@ ifneq "$(TARGET)" ""
CFLAGS+=-DTARGET=$(TARGET)
endif

ifneq "$(TARGET_UC)" ""
# Define a flag that the pre-processor can actually work with
# (i.e. #ifdef MAX78000 ...)
# TARGET_UC typically comes from the project core Makefile
CFLAGS += -D$(TARGET_UC)
endif

ifneq "$(TARGET_REV)" ""
CFLAGS+=-DTARGET_REV=$(TARGET_REV)
endif
Expand Down

0 comments on commit cc24e9c

Please sign in to comment.