File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ LIBSTDCPP_FILE_NAME = "$(shell $(CXX) $(CXXFLAGS) -print-file-name=libstdc++.a)"
79
79
LDFLAGS += -L"$(shell dirname $(LIBSTDCPP_FILE_NAME ) ) "
80
80
endif
81
81
82
+ MPY_CROSS_FLAGS += -march=$(MPY_CROSS_MCU_ARCH )
83
+
82
84
SRC_C += \
83
85
mcu/$(MCU_SERIES_LOWER ) /clock_config.c \
84
86
help.c \
Original file line number Diff line number Diff line change 1
1
CFLAGS_MCU += -mtune=cortex-m0plus -mcpu=cortex-m0plus -msoft-float
2
2
3
+ MPY_CROSS_MCU_ARCH = armv6m
4
+
3
5
SRC_S += shared/runtime/gchelper_m0.s
4
6
5
7
LIBM_SRC_C += $(addprefix lib/libm/,\
Original file line number Diff line number Diff line change 1
1
CFLAGS_MCU += -mtune=cortex-m4 -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
2
2
3
+ MPY_CROSS_MCU_ARCH = armv7m
4
+
3
5
MICROPY_VFS_LFS2 ?= 1
4
6
MICROPY_VFS_FAT ?= 1
5
7
FROZEN_MANIFEST ?= mcu/$(MCU_SERIES_LOWER ) /manifest.py
You can’t perform that action at this time.
0 commit comments