Skip to content

Commit

Permalink
add: csdk update 69a66148
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Jan 14, 2025
1 parent 41896ce commit aee744c
Show file tree
Hide file tree
Showing 34 changed files with 125 additions and 110 deletions.
17 changes: 16 additions & 1 deletion PLAT/core/driver/include/driver_usp.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,37 @@ void CSPI_Debug(uint8_t ID);

enum
{
LCD_SPI_MODE = 0,
LCD_IM_3_WIRE_9_BIT_INTERFACE_I = 5,
LCD_IM_4_WIRE_8_BIT_INTERFACE_I = 6,
LCD_IM_3_WIRE_9_BIT_INTERFACE_II = 13,
LCD_IM_4_WIRE_8_BIT_INTERFACE_II = 14,
LCD_IM_2_DATA_LANE = 16,

LCD_QSPI_MODE = 0x20,
LCD_8080_MODE = 0x30,
LCD_COLOR_MODE_RGB565 = 0,
LCD_COLOR_MODE_RGB888 = 0x01,
};
int LSPI_Setup(uint8_t ID, uint32_t BusSpeed, uint8_t InterfaceMode, CBFuncEx_t cb, void *param);
void LSPI_SetColorMode(uint8_t ID, uint8_t ColorMode);
void LSPI_SetQspiLaneConfig(uint8_t ID, uint8_t Address, uint8_t Data, uint8_t CmdInst);
void LSPI_HsyncConfig(uint8_t ID, uint8_t hsyncAddr, uint8_t hsyncInst, uint16_t vbpNum, uint16_t vfpNum);
void LSPI_VsyncConfig(uint8_t ID, uint8_t vsyncEnable, uint8_t vsyncInst, uint32_t Param);
void LSPI_CsnHighCycleMinConfig(uint8_t ID, uint32_t Param);
void LSPI_ExtraParamConfig(uint8_t ID, uint32_t CmdPreParam[4], uint32_t CmdPostParam[4], uint32_t TEParam[2]);
void LSPI_QspiNoramConfig(uint8_t ID, uint32_t ByteLen, uint16_t ImageW, uint16_t ImageH, uint8_t VsyncAddr, uint8_t HsyncAddr, uint8_t HsyncInst, uint16_t vbpNum, uint16_t vfpNum, uint32_t VsyncLineTime, uint32_t CsHighTime);
void LSPI_QspiStartFlush(uint8_t ID, uint32_t DataAddress);
void LSPI_QspiNewFlush(uint8_t ID, uint32_t DataAddress);
void LSPI_QspiEndFlush(uint8_t ID);
uint32_t LSPI_QspiCurrentFlush(uint8_t ID);
uint32_t LSPI_QspiGetFrameCntAndClear(uint8_t ID);
int LSPI_Sleep(uint8_t ID, uint8_t Enable);
int LSPI_WriteCmd(uint8_t ID, uint8_t Cmd, const uint8_t *Param, uint8_t ParamLen);
int LSPI_ReadData(uint8_t ID, uint8_t Cmd, uint8_t *Data, uint8_t DataLen, uint8_t DummyLen);
int LSPI_ReadDataV2(uint8_t ID, uint8_t Cmd, uint8_t *Data, uint8_t DataLen, uint8_t DummyLen);
int LSPI_WriteImageData(uint8_t ID, uint16_t ImageW, uint16_t ImageH, uint32_t DataAddress, uint32_t ByteLen, uint8_t IsBlock);
void LSPI_SetSpeed(uint8_t ID, uint32_t BusSpeed);
void LSPI_SetColorByte(uint8_t ID, uint8_t ColorByte);
int LSPI_StopCameraPreview(uint8_t ID);
int LSPI_StartCameraPreview(uint8_t ID, uint16_t CameraW, uint16_t CameraH, uint16_t ImageW, uint16_t ImageH, uint16_t CutTopLine, uint16_t CutBottomLine, uint16_t CutLeftLine, uint16_t CutRightLine, uint16_t ScaleW, uint16_t ScaleH);
#endif
62 changes: 31 additions & 31 deletions PLAT/libs/metas.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
{
"version": "1.0",
"update_time": "2025-01-10 14:31:55.854552",
"update_time": "2025-01-14 16:56:19.069639",
"libs": {
"ec718u": {
"sha1": "4d1fe439e81add79a47e3e6bd30d1aa6539e660a",
"size": 7247876
"sha1": "44cd0fc52d86947145c5e976845d2f5822aa88a8",
"size": 7244779
},
"ec718u-ims": {
"sha1": "ca9062e5233c056b90f40727ce887080ec555aa6",
"size": 7375695
"sha1": "8c523778e3b461f15bb06b1d21b08b2e5dda7adf",
"size": 7374219
},
"ec718um": {
"sha1": "7dbb8ba15e41b8f2db650abfc3ccc5054c7791ae",
"size": 7334581
"sha1": "dbfb0aacff33f9f1af3094ed61157a36639d718f",
"size": 7329950
},
"ec718um-ims": {
"sha1": "36e2a7a495137a3b0aaca383f29b73971d8d4a8b",
"size": 7464394
"sha1": "5886689bb8ec269f7b697157072c52a032ba72e9",
"size": 7468838
},
"ec718hm": {
"sha1": "512a64069b78ceb73fc144678d1b916cc04633cb",
"size": 7325263
"sha1": "98af9767754d886df1db692020d861b2d650a9b8",
"size": 7331755
},
"ec718hm-ims": {
"sha1": "07c29f1b8b678b228d235acc8aa8703343b8c53a",
"size": 7464719
"sha1": "3dd5d1d660315b873ddc331c1db6eb3b03d335e4",
"size": 7463248
},
"ec718pm": {
"sha1": "93d4cf3cfacb818f3b091812e54e4b196ba51dce",
"size": 7310684
"sha1": "66c7a27eb18c65c4cd53e740d25c6d3c92272329",
"size": 7319494
},
"ec718pm-ims": {
"sha1": "f2329aff0060624653a3bf7b1b44351d5269ea17",
"size": 7460175
"sha1": "79fcbd7c062004d8fd3fc6dd5534d387b309ef48",
"size": 7467218
},
"ec716e": {
"sha1": "4465b940f50e7419f549a1c0a93898e5259a20b5",
"size": 7147721
"sha1": "0fc5c53aa1987308e02d0610559002b86c0dc934",
"size": 7143536
},
"ec718p": {
"sha1": "45470bfbceda816b7ea29f0604f77dfdebd3f121",
"size": 7243735
"sha1": "aaf96d59e349ec7c35b10bd7a4130a2d0b762a05",
"size": 7247040
},
"ec718pv": {
"sha1": "576d4fb0122ec48771ef53927c4422bd433b1c85",
"size": 7388201
"sha1": "8baf4cc9c2f25f934cbfa257fe595eb4ba389e8b",
"size": 7392778
},
"ec718s": {
"sha1": "5486b307c8acc0bdd72cda48118bcb9a481dbeb9",
"size": 13626999
"sha1": "a23352d09c3ad09a1a411edc27645f77a24f8e19",
"size": 13622110
},
"ec718s-mid": {
"sha1": "43f6a89718683a5b2eebf9e933b6e691be5b4ed5",
"size": 13392410
"sha1": "88376db3416702806ca3728cb4516355721771e9",
"size": 13388545
},
"ec716s": {
"sha1": "c7be78f52d5f24d41641211618f26c9d67f9b887",
"size": 13571399
"sha1": "e2a18fedbe1d1496b4c43eaffa7e28b5fe4c5269",
"size": 13571232
},
"ec716s-mid": {
"sha1": "5fe59eaf6125504985d85ee924b327c4b681d3e6",
"size": 13349368
"sha1": "3a06ff8c249fc8931b21a8f95a0b0cef2277dc40",
"size": 13337569
}
}
}
4 changes: 2 additions & 2 deletions PLAT/middleware/developed/debug/inc/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:29:58 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:54:15 2025

#define DB_VERSION_UNIQ_ID "0x22e92290"
#define DB_VERSION_UNIQ_ID "0x22635c1b"

#endif //_DB_VERSION_H
2 changes: 1 addition & 1 deletion PLAT/prebuild/metas.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.0",
"update_time": "2025-01-10 14:37:30.427743",
"update_time": "2025-01-14 17:01:38.150462",
"libs": {},
"prebuild": {
"sha1": "7f485f1f06171b4bc95466059adfce9df89995bb",
Expand Down
6 changes: 3 additions & 3 deletions PLAT/tools/ec716e/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
397607299,100
1553344096,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:20:05 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:47:38 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_1,P_ERROR,swLogPrintf("Incorrect ICS stage ( %d ) for new euArfcn arranged for ICS MEAS ");
Expand Down Expand Up @@ -9683,5 +9683,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,C4B3E019F450A6C8683AF8F0943CEAA15A3B9BD31DB0B6964300742F032F156B
optional_sk_01,F7FDE8E11CDC34EA2FD34AB0F83CD559F2A646685800A825993F6BD244912D7A
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec716e/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:20:05 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:47:38 2025

#define DB_VERSION_UNIQ_ID "0x17b30183"
#define DB_VERSION_UNIQ_ID "0x5c962660"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec716s-mid/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
585704080,100
576936987,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:29:58 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:54:15 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_1,P_ERROR,swLogPrintf("Incorrect ICS stage ( %d ) for new euArfcn arranged for ICS MEAS ");
Expand Down Expand Up @@ -8952,5 +8952,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,FE741A01401AAED4B5BC55D34F45BCC7B6C9E567CBA6B7061282B1AA68EA1182
optional_sk_01,70EB624353BCEC3BB86DBA3EFB910773721F82BD179E39BF4C563324CDD63F0A
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec716s-mid/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:29:58 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:54:15 2025

#define DB_VERSION_UNIQ_ID "0x22e92290"
#define DB_VERSION_UNIQ_ID "0x22635c1b"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec716s/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
5834687,100
1275810520,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:27:45 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:52:38 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_1,P_ERROR,swLogPrintf("Incorrect ICS stage ( %d ) for new euArfcn arranged for ICS MEAS ");
Expand Down Expand Up @@ -8975,5 +8975,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,346BEE7D5092F851A9513AF3D7A8033C286B85415CE6AFB77AC36C99D1CFC99E
optional_sk_01,3D1DC7C01F27EF6743B9DF0CA66F65E4229C5309B2B670760A96CFBBD018CCE2
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec716s/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:27:45 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:52:38 2025

#define DB_VERSION_UNIQ_ID "0x005907bf"
#define DB_VERSION_UNIQ_ID "0x4c0b52d8"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec718hm-ims/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
1976502262,100
195559427,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:16:41 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:45:51 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_0,P_INFO,swLogPrintf("ICS MEAS of euArfcn %d will be started ");
Expand Down Expand Up @@ -17623,5 +17623,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,E097B4B19F5EB236BF293ADA16B0FB2581C0D3A91B3EA2D6ED1F656FEEBBCCAE
optional_sk_01,142CD1A9A74ECF5C4D7A2DBF96BA6D9A51E83668AAA70770ADEF2F0363474D06
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec718hm-ims/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:16:42 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:45:52 2025

#define DB_VERSION_UNIQ_ID "0x75cf07f6"
#define DB_VERSION_UNIQ_ID "0x0ba80003"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec718hm/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
365437640,100
1412133286,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:15:34 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:45:17 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_0,P_INFO,swLogPrintf("ICS MEAS of euArfcn %d will be started ");
Expand Down Expand Up @@ -9967,5 +9967,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,5D48A47F9D40959222ED91FFF90E3D73CAD97E7585C7C3C38C285CB844D8B63F
optional_sk_01,0BBA35F301FCF3E3180D178CCE0889AF1D18CD7BB030E7B97ABB535A9241D8DC
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec718hm/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:15:34 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:45:17 2025

#define DB_VERSION_UNIQ_ID "0x15c822c8"
#define DB_VERSION_UNIQ_ID "0x542b71a6"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec718p/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
961953113,100
1551180273,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:21:08 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:48:08 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_0,P_INFO,swLogPrintf("ICS MEAS of euArfcn %d will be started ");
Expand Down Expand Up @@ -9953,5 +9953,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,DA878CEB0B07D4544F072CB820273AF4EA6BFA6CC649C2A7F2505DD2F39BACE7
optional_sk_01,F6274B77D2BD114806C14A7C802E16F11100D7356B0F239FC1B5AE8C3DE011B1
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec718p/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:21:08 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:48:08 2025

#define DB_VERSION_UNIQ_ID "0x39563d59"
#define DB_VERSION_UNIQ_ID "0x5c7521f1"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec718pm-ims/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
1010924874,100
478568817,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:18:57 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:47:03 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_0,P_INFO,swLogPrintf("ICS MEAS of euArfcn %d will be started ");
Expand Down Expand Up @@ -17623,5 +17623,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,EFAADD004323B6370D358256488529A25453D7CBEAD6F66B532662B088A438DA
optional_sk_01,D11B3C6302BF49AF9807F7EE4221995CA362131BC7BC0A5108719F097D1FCA72
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec718pm-ims/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:18:58 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:47:04 2025

#define DB_VERSION_UNIQ_ID "0x3c417d4a"
#define DB_VERSION_UNIQ_ID "0x1c866171"

#endif //_DB_VERSION_H
6 changes: 3 additions & 3 deletions PLAT/tools/ec718pm/comdb.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DbVersion
1697528385,100
1450914072,100
<end>
BuildInfo
The current data file was built by the Application Ver. 2.2.81.216, Fri Jan 10 14:17:50 2025
The current data file was built by the Application Ver. 2.2.81.216, Tue Jan 14 16:46:27 2025
<end>
EnumVals
0,0,0,0,PHY_ONLINE,PHY_ICS_MODULE,PhyIcsMeasMainEntrance_0,P_INFO,swLogPrintf("ICS MEAS of euArfcn %d will be started ");
Expand Down Expand Up @@ -9967,5 +9967,5 @@ MW_INFO_PHY_EDRX_PARAM,midWareNvmInfoPhyEdrxParam
plat_config,plat_config_fs_t
<end>
OptionalSegment
optional_sk_01,380C57F42611E66B0F8FF1DA556372804A6CBCB3B1632445BBA83146859AA6AE
optional_sk_01,15715C30238DE33035E69B3EA4A9F186EB75C336275C0C0BDC01AEE7C175C80C
<end>
4 changes: 2 additions & 2 deletions PLAT/tools/ec718pm/dbversion.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !defined _DB_VERSION_H
#define _DB_VERSION_H

//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Fri Jan 10 14:17:51 2025
//The file was automatically generated by the PrePass Application Ver 2.2.81.216, Tue Jan 14 16:46:28 2025

#define DB_VERSION_UNIQ_ID "0x652e3a41"
#define DB_VERSION_UNIQ_ID "0x567b3118"

#endif //_DB_VERSION_H
Loading

0 comments on commit aee744c

Please sign in to comment.