Skip to content

Commit

Permalink
makes: remove local IMXRT* defines from CFLAGS
Browse files Browse the repository at this point in the history
The reason for this is a recent change to phoenix-rtos-build which
provides __TARGET and __CPU globally. So local definition of IMXRT*
became redundant.

JIRA: RTOS-519
  • Loading branch information
gerard5 committed Jul 13, 2023
1 parent d4bcee3 commit 6a77a2a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions devices/flash-flexspi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@
FLEXSPI_OBJS := fspi/fspi.o

ifneq (, $(findstring imxrt117x, $(TARGET_SUBFAMILY)))
CFLAGS += -DIMXRT117X
FLEXSPI_OBJS += flashdrv.o nor/nor.o nor/nor_mx.o
else ifneq (, $(findstring imxrt106x, $(TARGET_SUBFAMILY)))
CFLAGS += -DIMXRT106X
FLEXSPI_OBJS += flashdrv.o nor/nor.o nor/nor_mx.o
else ifneq (, $(findstring imxrt105x, $(TARGET_SUBFAMILY)))
CFLAGS += -DIMXRT105X
FLEXSPI_OBJS += flashdrv.o nor/nor.o hyperbus/hyper.o
endif

Expand Down

0 comments on commit 6a77a2a

Please sign in to comment.