2022-11-17 10:44:03 +11:00
|
|
|
CFLAGS_MCU += -mtune=cortex-m4 -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
|
|
|
|
|
2022-11-16 14:39:59 +11:00
|
|
|
MPY_CROSS_MCU_ARCH = armv7m
|
|
|
|
|
2023-01-27 16:02:05 +01:00
|
|
|
MICROPY_HW_CODESIZE ?= 368K
|
|
|
|
|
2022-07-10 11:55:56 +02:00
|
|
|
MICROPY_VFS_LFS2 ?= 1
|
2022-07-10 12:04:14 +02:00
|
|
|
MICROPY_VFS_FAT ?= 1
|
2022-10-26 20:17:19 +02:00
|
|
|
FROZEN_MANIFEST ?= mcu/$(MCU_SERIES_LOWER)/manifest.py
|
2022-07-10 11:55:56 +02:00
|
|
|
|
2023-01-23 14:53:39 -06:00
|
|
|
SRC_S += shared/runtime/gchelper_thumb2.s
|
2022-06-21 20:31:20 +02:00
|
|
|
|
2022-07-10 12:04:14 +02:00
|
|
|
SRC_C += \
|
|
|
|
fatfs_port.c \
|
|
|
|
drivers/dht/dht.c \
|
2022-07-07 09:49:51 +02: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 23:59:08 +11:00
|
|
|
LIBM_SRC_C += $(addprefix lib/libm/,\
|
2022-06-21 20:31:20 +02: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 \
|
|
|
|
)
|