Merge pull request #2777 from kwagyeman/kwabena/polarity_configs

boards: Add fixed sensor polarity configs.
This commit is contained in:
Ibrahim Abdelkader 2025-07-23 17:21:48 +03:00 committed by GitHub
commit 471ac9958a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -165,6 +165,8 @@
#define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO) #define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO)
#define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO) #define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO)
#define OMV_CSI_POLARITY_CONFIG { OMV_CSI_ACTIVE_HIGH, OMV_CSI_ACTIVE_LOW }
// Physical I2C buses. // Physical I2C buses.
// I2C bus 1 // I2C bus 1

View File

@ -165,6 +165,8 @@
#define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO) #define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO)
#define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO) #define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO)
#define OMV_CSI_POLARITY_CONFIG { OMV_CSI_ACTIVE_HIGH, OMV_CSI_ACTIVE_LOW }
// Physical I2C buses. // Physical I2C buses.
// I2C bus 1 // I2C bus 1

View File

@ -290,6 +290,8 @@ extern unsigned char OMV_BOARD_UID_ADDR[12]; // Unique address.
#define OMV_CSI_RESET_PIN (&omv_pin_CSI_RESET) #define OMV_CSI_RESET_PIN (&omv_pin_CSI_RESET)
#define OMV_CSI_POWER_PIN (&omv_pin_CSI_POWER) #define OMV_CSI_POWER_PIN (&omv_pin_CSI_POWER)
#define OMV_CSI_POLARITY_CONFIG { OMV_CSI_ACTIVE_LOW, OMV_CSI_ACTIVE_LOW }
#define OMV_WL_POWER_PIN (&omv_pin_WL_REG_ON) #define OMV_WL_POWER_PIN (&omv_pin_WL_REG_ON)
#define OMV_BT_POWER_PIN (&omv_pin_BT_REG_ON) #define OMV_BT_POWER_PIN (&omv_pin_BT_REG_ON)