stm32/boards/PYB: Fix handling of BOARD_VARIANT selection.
The matches should not have been quoted. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
parent
9070a24940
commit
6e75d177e7
|
@ -8,20 +8,20 @@ TEXT1_ADDR = 0x08020000
|
||||||
# Provide different variants for the downloads page.
|
# Provide different variants for the downloads page.
|
||||||
BOARD_VARIANTS += "dp thread dp-thread network"
|
BOARD_VARIANTS += "dp thread dp-thread network"
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"dp")
|
ifeq ($(BOARD_VARIANT),dp)
|
||||||
MICROPY_FLOAT_IMPL=double
|
MICROPY_FLOAT_IMPL=double
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"thread")
|
ifeq ($(BOARD_VARIANT),thread)
|
||||||
CFLAGS += -DMICROPY_PY_THREAD=1
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"dp-thread")
|
ifeq ($(BOARD_VARIANT),dp-thread)
|
||||||
MICROPY_FLOAT_IMPL=double
|
MICROPY_FLOAT_IMPL=double
|
||||||
CFLAGS += -DMICROPY_PY_THREAD=1
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"network")
|
ifeq ($(BOARD_VARIANT),network)
|
||||||
MICROPY_PY_NETWORK_WIZNET5K=5200
|
MICROPY_PY_NETWORK_WIZNET5K=5200
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -18,20 +18,20 @@ MICROPY_VFS_LFS2 = 1
|
||||||
# Provide different variants for the downloads page.
|
# Provide different variants for the downloads page.
|
||||||
BOARD_VARIANTS += "dp thread dp-thread network"
|
BOARD_VARIANTS += "dp thread dp-thread network"
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"dp")
|
ifeq ($(BOARD_VARIANT),dp)
|
||||||
MICROPY_FLOAT_IMPL=double
|
MICROPY_FLOAT_IMPL=double
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"thread")
|
ifeq ($(BOARD_VARIANT),thread)
|
||||||
CFLAGS += -DMICROPY_PY_THREAD=1
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"dp-thread")
|
ifeq ($(BOARD_VARIANT),dp-thread)
|
||||||
MICROPY_FLOAT_IMPL=double
|
MICROPY_FLOAT_IMPL=double
|
||||||
CFLAGS += -DMICROPY_PY_THREAD=1
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"network")
|
ifeq ($(BOARD_VARIANT),network)
|
||||||
MICROPY_PY_NETWORK_WIZNET5K=5200
|
MICROPY_PY_NETWORK_WIZNET5K=5200
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -18,20 +18,20 @@ MICROPY_VFS_LFS2 = 1
|
||||||
# Provide different variants for the downloads page.
|
# Provide different variants for the downloads page.
|
||||||
BOARD_VARIANTS += "dp thread dp-thread network"
|
BOARD_VARIANTS += "dp thread dp-thread network"
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"dp")
|
ifeq ($(BOARD_VARIANT),dp)
|
||||||
MICROPY_FLOAT_IMPL=double
|
MICROPY_FLOAT_IMPL=double
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"thread")
|
ifeq ($(BOARD_VARIANT),thread)
|
||||||
CFLAGS += -DMICROPY_PY_THREAD=1
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"dp-thread")
|
ifeq ($(BOARD_VARIANT),dp-thread)
|
||||||
MICROPY_FLOAT_IMPL=double
|
MICROPY_FLOAT_IMPL=double
|
||||||
CFLAGS += -DMICROPY_PY_THREAD=1
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BOARD_VARIANT),"network")
|
ifeq ($(BOARD_VARIANT),network)
|
||||||
MICROPY_PY_NETWORK_WIZNET5K=5200
|
MICROPY_PY_NETWORK_WIZNET5K=5200
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue