Skip to content

Commit d49f3ed

Browse files
Update to Ensemble DFP 1.3.0
1 parent ba5b161 commit d49f3ed

File tree

16 files changed

+415
-2245
lines changed

16 files changed

+415
-2245
lines changed

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
"command": [
2727
"cpackget init https://www.keil.com/pack/index.pidx;",
2828
"cpackget add https://github.com/ARM-software/CMSIS_5/releases/download/5.9.0/ARM.CMSIS.5.9.0.pack;",
29-
"cpackget add https://github.com/alifsemi/alif_ensemble-cmsis-dfp/releases/download/v1.1.1/AlifSemiconductor.Ensemble.1.1.1.pack;",
29+
"cpackget add https://github.com/alifsemi/alif_ensemble-cmsis-dfp/releases/download/v1.3.0/AlifSemiconductor.Ensemble.1.3.0.pack;",
3030
"cpackget add https://github.com/ARM-software/CMSIS-FreeRTOS/releases/download/v10.5.1/ARM.CMSIS-FreeRTOS.10.5.1.pack;",
3131
"cpackget add https://github.com/lvgl/lvgl/raw/v9.1.0/env_support/cmsis-pack/LVGL.lvgl.9.1.0.pack;",
3232
"cpackget add https://github.com/alifsemi/alif_dave2d-driver/releases/download/v1.0.1/AlifSemiconductor.Dave2DDriver.1.0.1.pack;",
33-
"cpackget add https://github.com/alifsemi/alif_lvgl-dave2d/releases/download/v1.0.1/AlifSemiconductor.LVGL_DAVE2D.1.0.1.pack;",
33+
"cpackget add https://github.com/alifsemi/alif_lvgl-dave2d/releases/download/v1.0.2/AlifSemiconductor.LVGL_DAVE2D.1.0.2.pack;",
3434
"cpackget list;",
3535
"echo 'Pack installation has been completed'"
3636
],

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ This app also requires following CMSIS packs to be installed and added to the pr
3838
* `ARM::CMSIS@>=5.9.0` (https://github.com/ARM-software/CMSIS_5/releases)
3939
* `ARM::CMSIS-FreeRTOS@>=10.5.1` (https://github.com/ARM-software/CMSIS-FreeRTOS/releases)
4040
* `LVGL::[email protected]` (https://github.com/lvgl/lvgl/tree/release/v9.1/env_support/cmsis-pack)
41-
* `AlifSemiconductor::Ensemble@>=1.1.1` (https://github.com/alifsemi/alif_ensemble-cmsis-dfp/releases)
41+
* `AlifSemiconductor::Ensemble@>=1.3.0` (https://github.com/alifsemi/alif_ensemble-cmsis-dfp/releases)
4242
* `AlifSemiconductor::[email protected]` (https://github.com/alifsemi/alif_dave2d-driver/releases)
43-
* `AlifSemiconductor::[email protected].1` (https://github.com/alifsemi/alif_lvgl-dave2d/releases)
43+
* `AlifSemiconductor::[email protected].2` (https://github.com/alifsemi/alif_lvgl-dave2d/releases)
4444

4545
By default, these packs are installed VS Code `First time pack installation` script (see below).
4646

alif.csolution.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ solution:
44
cdefault:
55

66
packs:
7-
- pack: AlifSemiconductor::Ensemble@1.2.2
7+
- pack: AlifSemiconductor::Ensemble@1.3.0
88
- pack: ARM::CMSIS@>=5.9.0
99
- pack: ARM::CMSIS-FreeRTOS@>=10.5.1
1010
- pack: LVGL::[email protected]
1111
- pack: AlifSemiconductor::[email protected]
12-
- pack: AlifSemiconductor::[email protected].1
12+
- pack: AlifSemiconductor::[email protected].2
1313

1414
target-types:
1515
- type: HE

app/RTE/Device/AE722F80F55D5LS_M55_HE/RTE_Device.h

Lines changed: 101 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
#ifndef __RTE_DEVICE_H
1414
#define __RTE_DEVICE_H
1515

16-
/* TODO: Temp hack until DFP supports framebuffer update with vsync */
17-
#define RTE_Drivers_CDC200 1
18-
1916
// <e> MRAM (NVM (Non-Volatile Memory)) [Driver_MRAM]
2017
// <i> Configuration settings for Driver_MRAM in component ::Drivers:MRAM
2118
#define RTE_MRAM 1
@@ -544,9 +541,9 @@
544541
// <1=> enable
545542
// <i> define if to enable or disable AR0144 camera sensor
546543
// <i> default: enable
547-
#define RTE_AR0144_CAMERA_SENSOR_CPI_ENABLE 0
544+
#define RTE_AR0144_CAMERA_SENSOR_CSI_ENABLE 1
548545

549-
#if (RTE_AR0144_CAMERA_SENSOR_CPI_ENABLE)
546+
#if (RTE_AR0144_CAMERA_SENSOR_CSI_ENABLE)
550547

551548
// <o> Select camera AR0144 frequency
552549
// <i> Defines camera AR0144 frequency
@@ -632,9 +629,9 @@
632629
// <1=> enable
633630
// <i> define if to enable or disable AR0145 camera sensor
634631
// <i> default: enable
635-
#define RTE_AR0145_CAMERA_SENSOR_CPI_ENABLE 1
632+
#define RTE_AR0145_CAMERA_SENSOR_CSI_ENABLE 1
636633

637-
#if (RTE_AR0145_CAMERA_SENSOR_CPI_ENABLE)
634+
#if (RTE_AR0145_CAMERA_SENSOR_CSI_ENABLE)
638635

639636
// <o> Select camera AR0145 frequency
640637
// <i> Defines camera AR0145 frequency
@@ -916,6 +913,79 @@
916913
#endif
917914
// </e> HM0360_MIPI [Driver_HM0360_MIPI]
918915

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+
919989
#endif
920990
// </e> MIPI_CSI2 (mipi csi2) [Driver_MIPI_CSI2]
921991

@@ -9420,34 +9490,40 @@
94209490
// </h> LPPDM (Low Power Pulse density modulation)
94219491

94229492
// <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
94329505
// <0=> 38.4 MHz Clock
94339506
// <1=> 160 MHz Clock
9434-
// <i> Defines Clock Source for CANFD0.
9507+
// <i> Defines Clock Source for CANFD.
94359508
// <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.
94399513
// <i> Maximum Clock speed is 80MHz
94409514
// <i> Recommended speeds with 160MHz clock source: 20MHz, 40MHz, 80MHz
94419515
// <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
94449519
// <0=> DISABLE
94459520
// <1=> ENABLE
9446-
// <i> Defines Blocking mode support for CANFD0
9521+
// <i> Defines Blocking mode support for CANFD
94479522
// <i> Default: DISABLE
9448-
#define RTE_CANFD0_BLOCKING_MODE_ENABLE 0
9523+
#define RTE_CANFD_BLOCKING_MODE_ENABLE 0
9524+
94499525
#endif
9450-
// </e> CANFD0 (Controller Area Network - Fast Mode Interface) [Driver_CANFD0]
9526+
// </e> CANFD (Controller Area Network - Fast Mode Interface) [Driver_CANFD]
94519527
// </h> CANFD (Controller Area Network - Fast Mode)
94529528

94539529
// <h> SDC (Secure Digital Controller)

0 commit comments

Comments
 (0)