|
13 | 13 | #ifndef __RTE_DEVICE_H |
14 | 14 | #define __RTE_DEVICE_H |
15 | 15 |
|
16 | | -/* TODO: Temp hack until DFP supports framebuffer update with vsync */ |
17 | | -#define RTE_Drivers_CDC200 1 |
18 | | - |
19 | 16 | // <e> MRAM (NVM (Non-Volatile Memory)) [Driver_MRAM] |
20 | 17 | // <i> Configuration settings for Driver_MRAM in component ::Drivers:MRAM |
21 | 18 | #define RTE_MRAM 1 |
|
544 | 541 | // <1=> enable |
545 | 542 | // <i> define if to enable or disable AR0144 camera sensor |
546 | 543 | // <i> default: enable |
547 | | -#define RTE_AR0144_CAMERA_SENSOR_CPI_ENABLE 0 |
| 544 | +#define RTE_AR0144_CAMERA_SENSOR_CSI_ENABLE 1 |
548 | 545 |
|
549 | | -#if (RTE_AR0144_CAMERA_SENSOR_CPI_ENABLE) |
| 546 | +#if (RTE_AR0144_CAMERA_SENSOR_CSI_ENABLE) |
550 | 547 |
|
551 | 548 | // <o> Select camera AR0144 frequency |
552 | 549 | // <i> Defines camera AR0144 frequency |
|
632 | 629 | // <1=> enable |
633 | 630 | // <i> define if to enable or disable AR0145 camera sensor |
634 | 631 | // <i> default: enable |
635 | | -#define RTE_AR0145_CAMERA_SENSOR_CPI_ENABLE 1 |
| 632 | +#define RTE_AR0145_CAMERA_SENSOR_CSI_ENABLE 1 |
636 | 633 |
|
637 | | -#if (RTE_AR0145_CAMERA_SENSOR_CPI_ENABLE) |
| 634 | +#if (RTE_AR0145_CAMERA_SENSOR_CSI_ENABLE) |
638 | 635 |
|
639 | 636 | // <o> Select camera AR0145 frequency |
640 | 637 | // <i> Defines camera AR0145 frequency |
|
916 | 913 | #endif |
917 | 914 | // </e> HM0360_MIPI [Driver_HM0360_MIPI] |
918 | 915 |
|
| 916 | +// <e> OV5647_MIPI [Driver_OV5647_MIPI] |
| 917 | +// <o> Enable/Disable OV5647 MIPI camera sensor |
| 918 | +// <0=> disable |
| 919 | +// <1=> enable |
| 920 | +// <i> define if to enable or disable OV5647 MIPI camera sensor |
| 921 | +// <i> default: enable |
| 922 | +#define RTE_OV5647_CAMERA_SENSOR_ENABLE 1 |
| 923 | + |
| 924 | +#if (RTE_OV5647_CAMERA_SENSOR_ENABLE) |
| 925 | + |
| 926 | +// <o> Select camera OV5647 frequency |
| 927 | +// <i> Defines camera OV5647 frequency |
| 928 | +// <i> Default: 158000000 |
| 929 | +#define RTE_OV5647_CAMERA_SENSOR_CSI_FREQ 158000000 |
| 930 | + |
| 931 | +// <o> select OV5647 CSI2 Data type |
| 932 | +// <i> defines select CSI2 Data type |
| 933 | +// <i> default: 0x2B (RAW10) |
| 934 | +#define RTE_OV5647_CAMERA_SENSOR_CSI_DATA_TYPE 0x2B |
| 935 | + |
| 936 | +// <o> select OV5647 number of lanes in DPHY |
| 937 | +// <i> defines select OV5647 number of lanes in DPHY. |
| 938 | +// <i> default: 2 one lane |
| 939 | +#define RTE_OV5647_CAMERA_SENSOR_CSI_N_LANES 2 |
| 940 | + |
| 941 | +// <o> select OV5647 virtual channel ID |
| 942 | +// <i> defines select OV5647 virtual channel ID. |
| 943 | +// <i> default: 0 |
| 944 | +#define RTE_OV5647_CAMERA_SENSOR_CSI_VC_ID 0 |
| 945 | + |
| 946 | +// <o> select OV5647 override CPI color mode |
| 947 | +// <i> defines select OV5647 override CPI color mode. |
| 948 | +// <i> default: 1 |
| 949 | +#define RTE_OV5647_CAMERA_SENSOR_OVERRIDE_CPI_COLOR_MODE 1 |
| 950 | + |
| 951 | +// <o> select OV5647 CPI color mode |
| 952 | +// <i> defines select OV5647 CPI color mode. |
| 953 | +// <i> default: 2 (IPI-16 RAW 8) |
| 954 | +#define RTE_OV5647_CAMERA_SENSOR_CPI_COLOR_MODE 2 |
| 955 | + |
| 956 | +// <o> select OV5647 frame height |
| 957 | +// <i> defines select OV5647 frame height. |
| 958 | +// <i> default: 480 |
| 959 | +#define RTE_OV5647_CAMERA_SENSOR_FRAME_HEIGHT 480 |
| 960 | + |
| 961 | +// <o> select OV5647 frame width |
| 962 | +// <i> defines select OV5647 frame width. |
| 963 | +// <i> default: 640 |
| 964 | +#define RTE_OV5647_CAMERA_SENSOR_FRAME_WIDTH 640 |
| 965 | + |
| 966 | +// <o> Select camera sensor OV5647 reset pin number |
| 967 | +// <i> Defines camera sensor OV5647 reset pin number |
| 968 | +// <i> Default: 1 |
| 969 | +#define RTE_OV5647_CAMERA_SENSOR_RESET_PIN_NO 1 |
| 970 | + |
| 971 | +// <o> Select camera sensor OV5647 reset GPIO port |
| 972 | +// <i> Defines camera sensor OV5647 reset GPIO port |
| 973 | +// <i> Default: 9 |
| 974 | +#define RTE_OV5647_CAMERA_SENSOR_RESET_GPIO_PORT 9 |
| 975 | + |
| 976 | +// <o RTE_OV5647_CAMERA_SENSOR_I2C_INSTANCE> Select camera sensor OV5647 i2c instance |
| 977 | +// <i> Defines camera sensor OV5647 i2c instance |
| 978 | +// <0=> I2C0 |
| 979 | +// <1=> I2C1 |
| 980 | +// <2=> I2C2 |
| 981 | +// <3=> I2C3 |
| 982 | +// <I3C=> I2C OVER I3C |
| 983 | +// <i> Default: 1 |
| 984 | +#define RTE_OV5647_CAMERA_SENSOR_I2C_INSTANCE 1 |
| 985 | + |
| 986 | +#endif |
| 987 | +// </e> OV5647_MIPI [Driver_OV5647_MIPI] |
| 988 | + |
919 | 989 | #endif |
920 | 990 | // </e> MIPI_CSI2 (mipi csi2) [Driver_MIPI_CSI2] |
921 | 991 |
|
|
9420 | 9490 | // </h> LPPDM (Low Power Pulse density modulation) |
9421 | 9491 |
|
9422 | 9492 | // <h> CANFD (Controller Area Network - Fast Mode) |
9423 | | -// <e> CANFD0 (Controller Area Network - Fast Mode Interface) [Driver_CANFD0] |
9424 | | -// <i> Configuration settings for Driver_CANFD0 in component ::Drivers:CANFD |
9425 | | -#define RTE_CANFD0 1 |
9426 | | -#ifdef RTE_CANFD0 |
9427 | | -// <o> CANFD0 IRQ priority <0-255> |
9428 | | -// <i> Defines Interrupt priority for CANFD0. |
9429 | | -// <i> Default: 0 |
9430 | | -#define RTE_CANFD0_IRQ_PRIORITY 0 |
9431 | | -// <o> CANFD0 Clock Source |
| 9493 | +// <e> CANFD (Controller Area Network - Fast Mode Interface) [Driver_CANFD] |
| 9494 | +// <i> Configuration settings for Driver_CANFD in component ::Drivers:CANFD |
| 9495 | +#define RTE_CANFD 1 |
| 9496 | + |
| 9497 | +#ifdef RTE_CANFD |
| 9498 | + |
| 9499 | +// <o> CANFD IRQ priority <0-255> |
| 9500 | +// <i> Defines Interrupt priority for CANFD. |
| 9501 | +// <i> Default: 0 |
| 9502 | +#define RTE_CANFD_IRQ_PRIORITY 0 |
| 9503 | + |
| 9504 | +// <o> CANFD Clock Source |
9432 | 9505 | // <0=> 38.4 MHz Clock |
9433 | 9506 | // <1=> 160 MHz Clock |
9434 | | -// <i> Defines Clock Source for CANFD0. |
| 9507 | +// <i> Defines Clock Source for CANFD. |
9435 | 9508 | // <i> Default: 160 MHz |
9436 | | -#define RTE_CANFD0_CLK_SOURCE 1 |
9437 | | -// <o> CANFD0 Clock Speed (Hz) <160000-80000000> |
9438 | | -// <i> Defines Clock Speed for CANFD0. |
| 9509 | +#define RTE_CANFD_CLK_SOURCE 1 |
| 9510 | + |
| 9511 | +// <o> CANFD Clock Speed (Hz) <160000-80000000> |
| 9512 | +// <i> Defines Clock Speed for CANFD. |
9439 | 9513 | // <i> Maximum Clock speed is 80MHz |
9440 | 9514 | // <i> Recommended speeds with 160MHz clock source: 20MHz, 40MHz, 80MHz |
9441 | 9515 | // <i> Default: 20MHz |
9442 | | -#define RTE_CANFD0_CLK_SPEED 20000000 |
9443 | | -// <o> CANFD0 blocking mode enable |
| 9516 | +#define RTE_CANFD_CLK_SPEED 20000000 |
| 9517 | + |
| 9518 | +// <o> CANFD blocking mode enable |
9444 | 9519 | // <0=> DISABLE |
9445 | 9520 | // <1=> ENABLE |
9446 | | -// <i> Defines Blocking mode support for CANFD0 |
| 9521 | +// <i> Defines Blocking mode support for CANFD |
9447 | 9522 | // <i> Default: DISABLE |
9448 | | -#define RTE_CANFD0_BLOCKING_MODE_ENABLE 0 |
| 9523 | +#define RTE_CANFD_BLOCKING_MODE_ENABLE 0 |
| 9524 | + |
9449 | 9525 | #endif |
9450 | | -// </e> CANFD0 (Controller Area Network - Fast Mode Interface) [Driver_CANFD0] |
| 9526 | +// </e> CANFD (Controller Area Network - Fast Mode Interface) [Driver_CANFD] |
9451 | 9527 | // </h> CANFD (Controller Area Network - Fast Mode) |
9452 | 9528 |
|
9453 | 9529 | // <h> SDC (Secure Digital Controller) |
|
0 commit comments