2022-11-16 18:44:03 -05:00
|
|
|
CFLAGS_MCU += -mtune=cortex-m4 -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
|
|
|
|
|
2022-11-15 22:39:59 -05:00
|
|
|
MPY_CROSS_MCU_ARCH = armv7m
|
|
|
|
|
2022-07-10 05:55:56 -04:00
|
|
|
MICROPY_VFS_LFS2 ?= 1
|
2022-07-10 06:04:14 -04:00
|
|
|
MICROPY_VFS_FAT ?= 1
|
2022-10-26 14:17:19 -04:00
|
|
|
FROZEN_MANIFEST ?= mcu/$(MCU_SERIES_LOWER)/manifest.py
|
2022-07-10 05:55:56 -04:00
|
|
|
|
2023-01-23 15:53:39 -05:00
|
|
|
SRC_S += shared/runtime/gchelper_thumb2.s
|
2022-06-21 14:31:20 -04:00
|
|
|
|
2022-07-10 06:04:14 -04:00
|
|
|
SRC_C += \
|
|
|
|
fatfs_port.c \
|
|
|
|
drivers/dht/dht.c \
|
2022-07-07 03:49:51 -04:00
|
|
|
|
extmod: Make extmod.mk self-contained.
This makes it so that all a port needs to do is set the relevant variables
and "include extmod.mk" and doesn't need to worry about adding anything to
OBJ, CFLAGS, SRC_QSTR, etc.
Make all extmod variables (src, flags, etc) private to extmod.mk.
Also move common/shared, extmod-related fragments (e.g. wiznet, cyw43,
bluetooth) into extmod.mk.
Now that SRC_MOD, CFLAGS_MOD, CXXFLAGS_MOD are unused by both extmod.mk
(and user-C-modules in a previous commit), remove all uses of them from
port makefiles.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-10-08 08:59:08 -04:00
|
|
|
LIBM_SRC_C += $(addprefix lib/libm/,\
|
2022-06-21 14:31:20 -04:00
|
|
|
acoshf.c \
|
|
|
|
asinfacosf.c \
|
|
|
|
asinhf.c \
|
|
|
|
atan2f.c \
|
|
|
|
atanf.c \
|
|
|
|
atanhf.c \
|
|
|
|
ef_rem_pio2.c \
|
|
|
|
erf_lgamma.c \
|
|
|
|
fmodf.c \
|
|
|
|
kf_cos.c \
|
|
|
|
kf_rem_pio2.c \
|
|
|
|
kf_sin.c \
|
|
|
|
kf_tan.c \
|
|
|
|
log1pf.c \
|
|
|
|
math.c \
|
|
|
|
nearbyintf.c \
|
|
|
|
roundf.c \
|
|
|
|
sf_cos.c \
|
|
|
|
sf_erf.c \
|
|
|
|
sf_frexp.c \
|
|
|
|
sf_ldexp.c \
|
|
|
|
sf_modf.c \
|
|
|
|
sf_sin.c \
|
|
|
|
sf_tan.c \
|
|
|
|
wf_lgamma.c \
|
|
|
|
wf_tgamma.c \
|
|
|
|
)
|