mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
drivers: Move GenX EHC back to boardconfig.h.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
2d9e1ba581
commit
122b47791e
@ -51,6 +51,7 @@
|
|||||||
#define OMV_PAG7920_ENABLE (1)
|
#define OMV_PAG7920_ENABLE (1)
|
||||||
#define OMV_PAJ6100_ENABLE (1)
|
#define OMV_PAJ6100_ENABLE (1)
|
||||||
#define OMV_FROGEYE2020_ENABLE (1)
|
#define OMV_FROGEYE2020_ENABLE (1)
|
||||||
|
#define OMV_GENX320_EHC_ENABLE (1)
|
||||||
|
|
||||||
// FIR drivers configuration.
|
// FIR drivers configuration.
|
||||||
#define OMV_FIR_MLX90621_ENABLE (1)
|
#define OMV_FIR_MLX90621_ENABLE (1)
|
||||||
|
|||||||
@ -11,7 +11,6 @@ OMV_HSE_VALUE=12000000
|
|||||||
OMV_ENABLE_BL=1
|
OMV_ENABLE_BL=1
|
||||||
OMV_ENABLE_UVC=1
|
OMV_ENABLE_UVC=1
|
||||||
OMV_GENX320_ENABLE=1
|
OMV_GENX320_ENABLE=1
|
||||||
OMV_GENX320_EHC_ENABLE=1
|
|
||||||
OMV_LEPTON_SDK_ENABLE=1
|
OMV_LEPTON_SDK_ENABLE=1
|
||||||
MICROPY_PY_CSI = 1
|
MICROPY_PY_CSI = 1
|
||||||
MICROPY_PY_FIR = 1
|
MICROPY_PY_FIR = 1
|
||||||
|
|||||||
@ -45,6 +45,7 @@
|
|||||||
#define OMV_PAG7920_ENABLE (1)
|
#define OMV_PAG7920_ENABLE (1)
|
||||||
#define OMV_PAJ6100_ENABLE (1)
|
#define OMV_PAJ6100_ENABLE (1)
|
||||||
#define OMV_FROGEYE2020_ENABLE (1)
|
#define OMV_FROGEYE2020_ENABLE (1)
|
||||||
|
#define OMV_GENX320_EHC_ENABLE (1)
|
||||||
|
|
||||||
// FIR drivers configuration.
|
// FIR drivers configuration.
|
||||||
#define OMV_FIR_MLX90621_ENABLE (1)
|
#define OMV_FIR_MLX90621_ENABLE (1)
|
||||||
|
|||||||
@ -10,7 +10,6 @@ OMV_FIRM_ADDR=0x60000000
|
|||||||
OMV_HSE_VALUE=12000000
|
OMV_HSE_VALUE=12000000
|
||||||
OMV_BOSON_ENABLE=1
|
OMV_BOSON_ENABLE=1
|
||||||
OMV_GENX320_ENABLE=1
|
OMV_GENX320_ENABLE=1
|
||||||
OMV_GENX320_EHC_ENABLE=1
|
|
||||||
OMV_LEPTON_SDK_ENABLE=1
|
OMV_LEPTON_SDK_ENABLE=1
|
||||||
MICROPY_PY_CSI = 1
|
MICROPY_PY_CSI = 1
|
||||||
MICROPY_PY_FIR = 1
|
MICROPY_PY_FIR = 1
|
||||||
|
|||||||
@ -113,9 +113,7 @@ DRIVER_SRC_C += $(addprefix genx320/src/, \
|
|||||||
psee_genx320.c \
|
psee_genx320.c \
|
||||||
)
|
)
|
||||||
|
|
||||||
OMV_GENX320_EHC_ENABLE ?= 0
|
|
||||||
CFLAGS += -DOMV_GENX320_ENABLE=1
|
CFLAGS += -DOMV_GENX320_ENABLE=1
|
||||||
CFLAGS += -DOMV_GENX320_EHC_ENABLE=$(OMV_GENX320_EHC_ENABLE)
|
|
||||||
CFLAGS += -I$(TOP_DIR)/drivers/genx320/include
|
CFLAGS += -I$(TOP_DIR)/drivers/genx320/include
|
||||||
endif # OMV_GENX320_ENABLE
|
endif # OMV_GENX320_ENABLE
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user