drivers: Move GenX EHC back to boardconfig.h.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
iabdalkader 2025-04-16 09:19:05 +02:00
parent 2d9e1ba581
commit 122b47791e
5 changed files with 2 additions and 4 deletions

View File

@ -51,6 +51,7 @@
#define OMV_PAG7920_ENABLE (1)
#define OMV_PAJ6100_ENABLE (1)
#define OMV_FROGEYE2020_ENABLE (1)
#define OMV_GENX320_EHC_ENABLE (1)
// FIR drivers configuration.
#define OMV_FIR_MLX90621_ENABLE (1)

View File

@ -11,7 +11,6 @@ OMV_HSE_VALUE=12000000
OMV_ENABLE_BL=1
OMV_ENABLE_UVC=1
OMV_GENX320_ENABLE=1
OMV_GENX320_EHC_ENABLE=1
OMV_LEPTON_SDK_ENABLE=1
MICROPY_PY_CSI = 1
MICROPY_PY_FIR = 1

View File

@ -45,6 +45,7 @@
#define OMV_PAG7920_ENABLE (1)
#define OMV_PAJ6100_ENABLE (1)
#define OMV_FROGEYE2020_ENABLE (1)
#define OMV_GENX320_EHC_ENABLE (1)
// FIR drivers configuration.
#define OMV_FIR_MLX90621_ENABLE (1)

View File

@ -10,7 +10,6 @@ OMV_FIRM_ADDR=0x60000000
OMV_HSE_VALUE=12000000
OMV_BOSON_ENABLE=1
OMV_GENX320_ENABLE=1
OMV_GENX320_EHC_ENABLE=1
OMV_LEPTON_SDK_ENABLE=1
MICROPY_PY_CSI = 1
MICROPY_PY_FIR = 1

View File

@ -113,9 +113,7 @@ DRIVER_SRC_C += $(addprefix genx320/src/, \
psee_genx320.c \
)
OMV_GENX320_EHC_ENABLE ?= 0
CFLAGS += -DOMV_GENX320_ENABLE=1
CFLAGS += -DOMV_GENX320_EHC_ENABLE=$(OMV_GENX320_EHC_ENABLE)
CFLAGS += -I$(TOP_DIR)/drivers/genx320/include
endif # OMV_GENX320_ENABLE