[target][dartuino] properly mark files as needing float

Some routines inside the sensor bus code in dartuino need floating
point, so put those in MODULE_FLOAT_SRCS.

Also mark app/accellerometer as needing float.
This commit is contained in:
Travis Geiselbrecht
2024-05-14 00:46:28 -07:00
parent 2f336c9ba2
commit 2360f0fea1
3 changed files with 11 additions and 7 deletions

View File

@@ -28,12 +28,18 @@ GLOBAL_INCLUDES += $(LOCAL_DIR)/include
MODULE_SRCS += \
$(LOCAL_DIR)/init.c \
$(LOCAL_DIR)/sensor_bus.c \
$(LOCAL_DIR)/usb.c \
$(LOCAL_DIR)/usb.c
MODULE_DEPS += \
dev/usb
ifneq ($(ENABLE_DARTUINO_SENSOR_BUS),)
MODULE_FLOAT_SRCS += \
$(LOCAL_DIR)/sensor_bus.c
GLOBAL_DEFINES += \
ENABLE_SENSORBUS=1
endif
ifneq ($(DISPLAY_PANEL_TYPE),)
MODULE_SRCS += \