@@ -153,7 +153,7 @@ OPENOCD ?= openocd
153153OPENOCD_CONFIG ?= openocd_stm32$(PB_MCU_SERIES_LCASE ) .cfg
154154TEXT0_ADDR ?= 0x08000000
155155
156- ifeq ($(PB_MCU_FAMILY ) ,desktop )
156+ ifeq ($(PB_MCU_FAMILY ) ,native )
157157UNAME_S := $(shell uname -s)
158158LD = $(CC )
159159CFLAGS += $(INC ) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=gnu99 $(COPT ) -D_GNU_SOURCE
@@ -163,7 +163,7 @@ else ifeq ($(UNAME_S),Darwin)
163163LDFLAGS += -Wl,-map,$@ .map -Wl,-dead_strip
164164endif
165165LIBS =
166- else # end desktop , begin embedded
166+ else # end native , begin embedded
167167CROSS_COMPILE ?= arm-none-eabi-
168168ifeq ($(PB_MCU_FAMILY ) ,STM32)
169169CFLAGS_MCU_F0 = -mthumb -mtune=cortex-m0 -mcpu=cortex-m0 -msoft-float
@@ -250,7 +250,7 @@ PY_EXTRA_SRC_C = $(addprefix shared/,\
250250 runtime/stdout_helpers.c \
251251 )
252252
253- ifeq ($(PB_MCU_FAMILY ) ,desktop )
253+ ifeq ($(PB_MCU_FAMILY ) ,native )
254254PY_EXTRA_SRC_C += $(addprefix shared/,\
255255 runtime/gchelper_generic.c \
256256 )
@@ -286,7 +286,7 @@ PY_EXTRA_SRC_C += $(addprefix bricks/_common/,\
286286endif
287287
288288# Not all MCUs support thumb2 instructions.
289- ifeq ($(PB_MCU_FAMILY ) ,desktop )
289+ ifeq ($(PB_MCU_FAMILY ) ,native )
290290SRC_S +=
291291else ifeq ($(PB_MCU_SERIES),$(filter $(PB_MCU_SERIES),AT91SAM7 F0 TIAM1808))
292292SRC_S += shared/runtime/gchelper_thumb1.s
@@ -587,7 +587,7 @@ CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
587587MPY_TOOL_FLAGS += -mlongint-impl none
588588endif
589589
590- ifneq ($(PB_MCU_FAMILY ) ,desktop )
590+ ifneq ($(PB_MCU_FAMILY ) ,native )
591591# Main firmware build targets
592592TARGETS := $(BUILD ) /firmware.zip
593593else
0 commit comments