Commit 6e75d177 authored by Jim Mussared's avatar Jim Mussared Committed by Damien George

stm32/boards/PYB: Fix handling of BOARD_VARIANT selection.

The matches should not have been quoted.
Signed-off-by: default avatarJim Mussared <jim.mussared@gmail.com>
parent 9070a249
......@@ -8,20 +8,20 @@ TEXT1_ADDR = 0x08020000
# Provide different variants for the downloads page.
BOARD_VARIANTS += "dp thread dp-thread network"
ifeq ($(BOARD_VARIANT),"dp")
ifeq ($(BOARD_VARIANT),dp)
MICROPY_FLOAT_IMPL=double
endif
ifeq ($(BOARD_VARIANT),"thread")
ifeq ($(BOARD_VARIANT),thread)
CFLAGS += -DMICROPY_PY_THREAD=1
endif
ifeq ($(BOARD_VARIANT),"dp-thread")
ifeq ($(BOARD_VARIANT),dp-thread)
MICROPY_FLOAT_IMPL=double
CFLAGS += -DMICROPY_PY_THREAD=1
endif
ifeq ($(BOARD_VARIANT),"network")
ifeq ($(BOARD_VARIANT),network)
MICROPY_PY_NETWORK_WIZNET5K=5200
endif
......
......@@ -18,20 +18,20 @@ MICROPY_VFS_LFS2 = 1
# Provide different variants for the downloads page.
BOARD_VARIANTS += "dp thread dp-thread network"
ifeq ($(BOARD_VARIANT),"dp")
ifeq ($(BOARD_VARIANT),dp)
MICROPY_FLOAT_IMPL=double
endif
ifeq ($(BOARD_VARIANT),"thread")
ifeq ($(BOARD_VARIANT),thread)
CFLAGS += -DMICROPY_PY_THREAD=1
endif
ifeq ($(BOARD_VARIANT),"dp-thread")
ifeq ($(BOARD_VARIANT),dp-thread)
MICROPY_FLOAT_IMPL=double
CFLAGS += -DMICROPY_PY_THREAD=1
endif
ifeq ($(BOARD_VARIANT),"network")
ifeq ($(BOARD_VARIANT),network)
MICROPY_PY_NETWORK_WIZNET5K=5200
endif
......
......@@ -18,20 +18,20 @@ MICROPY_VFS_LFS2 = 1
# Provide different variants for the downloads page.
BOARD_VARIANTS += "dp thread dp-thread network"
ifeq ($(BOARD_VARIANT),"dp")
ifeq ($(BOARD_VARIANT),dp)
MICROPY_FLOAT_IMPL=double
endif
ifeq ($(BOARD_VARIANT),"thread")
ifeq ($(BOARD_VARIANT),thread)
CFLAGS += -DMICROPY_PY_THREAD=1
endif
ifeq ($(BOARD_VARIANT),"dp-thread")
ifeq ($(BOARD_VARIANT),dp-thread)
MICROPY_FLOAT_IMPL=double
CFLAGS += -DMICROPY_PY_THREAD=1
endif
ifeq ($(BOARD_VARIANT),"network")
ifeq ($(BOARD_VARIANT),network)
MICROPY_PY_NETWORK_WIZNET5K=5200
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment