Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RDZDX authored Jul 22, 2024
1 parent 3d9d763 commit d1bf91e
Show file tree
Hide file tree
Showing 22 changed files with 891 additions and 0 deletions.
15 changes: 15 additions & 0 deletions BuildApp.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
REM Build Bat File
REM Precheck the Resource
"C:\Program Files\MRE SDK V3.0.00\tools\ResEditor\CmdShell.exe" save "D:\MyGitHub\oawpp\oawpp.vcproj"
REM Copmile c file
"C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\Bin\arm-none-eabi-gcc" -c -fpic -g -mcpu=arm7tdmi-s -fvisibility=hidden -mthumb -mlittle-endian -O2 -D__MRE_COMPILER_GCC__ -fno-exceptions -fno-non-call-exceptions -o "D:\MyGitHub\oawpp\arm\gccmain.o" -c "C:\Program Files\MRE SDK V3.0.00\lib\MRE30\src\gccmain.c" -D _MINIGUI_LIB_ -D _USE_MINIGUIENTRY -D _NOUNIX_ -D _FOR_WNC -D __MRE_SDK__ -D __MRE_VENUS_NORMAL__ -D __MMI_MAINLCD_240X320__ -I "C:\Program Files\MRE SDK V3.0.00\include" -I "C:\Program Files\MRE SDK V3.0.00\include\service" -I "D:\MyGitHub\oawpp\include" -I "D:\MyGitHub\oawpp\include\service" -I "D:\MyGitHub\oawpp\include\component" -I "D:\MyGitHub\oawpp\ResID" -I "D:\MyGitHub\oawpp\src\app\widget" -I "D:\MyGitHub\oawpp\src\app\launcher" -I "D:\MyGitHub\oawpp\src\app\wallpaper" -I "D:\MyGitHub\oawpp\src\app\screen_lock" -I "D:\MyGitHub\oawpp\include\service" -I "D:\MyGitHub\oawpp\include\component" -I "D:\MyGitHub\oawpp\include\service" -I "D:\MyGitHub\oawpp\src\framework" -I "D:\MyGitHub\oawpp\src\framework\ui_core\base" -I "D:\MyGitHub\oawpp\src\framework\ui_core\mvc" -I "D:\MyGitHub\oawpp\src\framework\ui_core\pme" -I "D:\MyGitHub\oawpp\src\framework\mmi_core" -I "D:\MyGitHub\oawpp\src\ui_engine\vrt\interface" -I "D:\MyGitHub\oawpp\src\component" -I "D:\MyGitHub\oawpp\src\ui_engine\framework\xml" -I "D:\MyGitHub\oawpp"
REM Copmile c file
"C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\Bin\arm-none-eabi-gcc" -c -fpic -g -mcpu=arm7tdmi-s -fvisibility=hidden -mthumb -mlittle-endian -O2 -D__MRE_COMPILER_GCC__ -fno-exceptions -fno-non-call-exceptions -o "D:\MyGitHub\oawpp\arm\oawpp.o" -c "d:\MyGitHub\oawpp\oawpp.c" -D _MINIGUI_LIB_ -D _USE_MINIGUIENTRY -D _NOUNIX_ -D _FOR_WNC -D __MRE_SDK__ -D __MRE_VENUS_NORMAL__ -D __MMI_MAINLCD_240X320__ -I "C:\Program Files\MRE SDK V3.0.00\include" -I "C:\Program Files\MRE SDK V3.0.00\include\service" -I "D:\MyGitHub\oawpp\include" -I "D:\MyGitHub\oawpp\include\service" -I "D:\MyGitHub\oawpp\include\component" -I "D:\MyGitHub\oawpp\ResID" -I "D:\MyGitHub\oawpp\src\app\widget" -I "D:\MyGitHub\oawpp\src\app\launcher" -I "D:\MyGitHub\oawpp\src\app\wallpaper" -I "D:\MyGitHub\oawpp\src\app\screen_lock" -I "D:\MyGitHub\oawpp\include\service" -I "D:\MyGitHub\oawpp\include\component" -I "D:\MyGitHub\oawpp\include\service" -I "D:\MyGitHub\oawpp\src\framework" -I "D:\MyGitHub\oawpp\src\framework\ui_core\base" -I "D:\MyGitHub\oawpp\src\framework\ui_core\mvc" -I "D:\MyGitHub\oawpp\src\framework\ui_core\pme" -I "D:\MyGitHub\oawpp\src\framework\mmi_core" -I "D:\MyGitHub\oawpp\src\ui_engine\vrt\interface" -I "D:\MyGitHub\oawpp\src\component" -I "D:\MyGitHub\oawpp\src\ui_engine\framework\xml" -I "D:\MyGitHub\oawpp"
REM Link app
"C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\Bin\arm-none-eabi-gcc" -o "D:\MyGitHub\oawpp\oawpp.axf" "D:\MyGitHub\oawpp\arm\gccmain.o" "D:\MyGitHub\oawpp\arm\oawpp.o" -fpic -msvr4-struct-return -pie -T "C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\scat.ld" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\percommon.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\pertcp.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persensor.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persmsper.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perbitstream.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\percontact.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\permms.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persmsmng.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\peraudio.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\percallout.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\percam.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perfile.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perhttp.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persim.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perrecord.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persmssp.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perlbs.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perpro.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\pervideo.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perxml.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persec.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persysstorage.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perpayment.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perbt.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perpn.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perudp.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persysfile.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persso.a"
REM Pack resource to app
"C:\Program Files\MRE SDK V3.0.00\tools\ResEditor\CmdShell.exe" pack -silent -resolution 240x320 -o "D:\MyGitHub\oawpp\oawpp.pkd" -e AXF "D:\MyGitHub\oawpp\oawpp.vcproj" "D:\MyGitHub\oawpp\oawpp.axf"
REM Add tag infromation
"C:\Program Files\MRE SDK V3.0.00\tools\PackDigist.exe" "D:\MyGitHub\oawpp\oawpp.vcproj" "Oawpp" "0.1.0" "RDZDX" "500" "NotSupportBg" "Not Support rotate" "Oawpp" "Oawpp" "Oawpp" "9246012102087182" "content" " TCP Sensor SMS(person) BitStream Contact MMS SMSMng Audio Call Camera File HTTP SIM card Record SMS(SP) LBS ProMng Video XML Sec SysStorage Payment BT PUSH UDP SysFile sso" "vxp" "GCC" "PKD" "UnCompress" "NoVPI" "Adaptable" "15728960" "UnSysMemAble" "
" "-1" "UNPUSH" "-1" "" "UnAutoStart" "UnTransferImg" "NoIdleShortcut" D:\MyGitHub\oawpp\arm D:\MyGitHub\oawpp\build.log

Binary file added Oawpp.vxp
Binary file not shown.
11 changes: 11 additions & 0 deletions Packagedll.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"C:\Program Files\MRE SDK V3.0.00\tools\DllPackage.exe" "D:\MyGitHub\oawpp\oawpp.vcproj"
if %errorlevel% == 0 (
echo postbuild OK.
copy oawpp.vpp ..\..\..\MoDIS_VC9\WIN32FS\DRIVE_E\oawpp.vpp /y
exit 0
)else (
echo postbuild error
echo error code: %errorlevel%
exit 1
)

28 changes: 28 additions & 0 deletions ResID/ResID.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**************************************************************************
* Filename:
* ---------
* ResID\ResID.h : header file
*
* Description:
* ------------
*
*
* This is auto generated by ResEditor.exe
**************************************************************************/

#if !defined _RESID_RESID_H_
#define _RESID_RESID_H_


#ifdef __cplusplus
extern "C" {
#endif

#define STR_ID_HELLO 1

#ifdef __cplusplus
}
#endif

#endif /* _RESID_RESID_H_ */

2 changes: 2 additions & 0 deletions build.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
C:\Program Files\MRE SDK V3.0.00\lib\MRE30\src\gccmain.c
d:\MyGitHub\oawpp\oawpp.c
90 changes: 90 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?xml version="1.0"?>
<!--This file represents user settings about package information that will be packaged into vxp(MRE2.0)-->
<packageinfo>
<userinfo>
<developer>RDZDX</developer>
<appversion>0.1.0</appversion>
<APPID>-1</APPID>
<iconName>
</iconName>
</userinfo>
<APIAuth>
<category>TCP</category>
<category>Sensor</category>
<category>SMS(person)</category>
<category>BitStream</category>
<category>Contact</category>
<category>MMS</category>
<category>SMSMng</category>
<category>Audio</category>
<category>Call</category>
<category>Camera</category>
<category>File</category>
<category>HTTP</category>
<category>SIM card</category>
<category>Record</category>
<category>SMS(SP)</category>
<category>LBS</category>
<category>ProMng</category>
<category>Video</category>
<category>XML</category>
<category>Sec</category>
<category>SysStorage</category>
<category>Payment</category>
<category>BT</category>
<category>PUSH</category>
<category>UDP</category>
<category>SysFile</category>
<category>sso</category>
</APIAuth>
<targetconfig>
<supportbg>unchecked</supportbg>
<userfont>unchecked</userfont>
<screenrotate>unchecked</screenrotate>
<autoadaptable>checked</autoadaptable>
<mem>500</mem>
<usesysmemory>unchecked</usesysmemory>
<sysdisk>
</sysdisk>
<Push>unchecked</Push>
<PushID>-1</PushID>
<PushSenderID>
</PushSenderID>
<autostart>unchecked</autostart>
<TransferImg>unchecked</TransferImg>
<idleshortcut>unchecked</idleshortcut>
</targetconfig>
<namelist>
<english>Oawpp</english>
<chinese>Oawpp</chinese>
<cht>Oawpp</cht>
</namelist>
<operationinfo>
<content>content</content>
<imsi>9246012102087182</imsi>
</operationinfo>
<paymentlib>
<version>Internal</version>
<smskey>1234567890</smskey>
</paymentlib>
<output>
<type>0</type>
</output>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<vxp>
<mreversion>30</mreversion>
<venus>__VENUS_CHECKED__</venus>
</vxp>
<font>
<size>12</size>
</font>
<image>
</image>
<icon>
<path>
</path>
</icon>
</packageinfo>
90 changes: 90 additions & 0 deletions config/Default/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?xml version="1.0"?>
<!--This file represents user settings about package information that will be packaged into vxp(MRE2.0)-->
<packageinfo>
<userinfo>
<developer>RDZDX</developer>
<appversion>0.1.0</appversion>
<APPID>-1</APPID>
<iconName>
</iconName>
</userinfo>
<APIAuth>
<category>TCP</category>
<category>Sensor</category>
<category>SMS(person)</category>
<category>BitStream</category>
<category>Contact</category>
<category>MMS</category>
<category>SMSMng</category>
<category>Audio</category>
<category>Call</category>
<category>Camera</category>
<category>File</category>
<category>HTTP</category>
<category>SIM card</category>
<category>Record</category>
<category>SMS(SP)</category>
<category>LBS</category>
<category>ProMng</category>
<category>Video</category>
<category>XML</category>
<category>Sec</category>
<category>SysStorage</category>
<category>Payment</category>
<category>BT</category>
<category>PUSH</category>
<category>UDP</category>
<category>SysFile</category>
<category>sso</category>
</APIAuth>
<targetconfig>
<supportbg>unchecked</supportbg>
<userfont>unchecked</userfont>
<screenrotate>unchecked</screenrotate>
<autoadaptable>checked</autoadaptable>
<mem>500</mem>
<usesysmemory>unchecked</usesysmemory>
<sysdisk>
</sysdisk>
<Push>unchecked</Push>
<PushID>-1</PushID>
<PushSenderID>
</PushSenderID>
<autostart>unchecked</autostart>
<TransferImg>unchecked</TransferImg>
<idleshortcut>unchecked</idleshortcut>
</targetconfig>
<namelist>
<english>Oawpp</english>
<chinese>Oawpp</chinese>
<cht>Oawpp</cht>
</namelist>
<operationinfo>
<content>content</content>
<imsi>9246012102087182</imsi>
</operationinfo>
<paymentlib>
<version>Internal</version>
<smskey>1234567890</smskey>
</paymentlib>
<output>
<type>0</type>
</output>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<vxp>
<mreversion>30</mreversion>
<venus>__VENUS_CHECKED__</venus>
</vxp>
<font>
<size>12</size>
</font>
<image>
</image>
<icon>
<path>
</path>
</icon>
</packageinfo>
3 changes: 3 additions & 0 deletions config/Default/mre_def.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#define __MER_30__
#define __MRE_VENUS_NORMAL__
#define __MMI_MAINLCD_240X320__
4 changes: 4 additions & 0 deletions config_list.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[CONFIG]
Config1=Default
[CONFIGSELECTED]
SELECTED=Default
14 changes: 14 additions & 0 deletions custom_prebuild.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
REM custom_prebuild.bat
REM this is for call the ResEditor.exe to save the project resource, to generate ResID.h
REM for avoid ResID.h is modified after build, this will effect debug

"C:\Program Files\MRE SDK V3.0.00\tools\ResEditor\CmdShell.exe" SAVE "D:\MyGitHub\oawpp\oawpp.vcproj"
if %errorlevel% == 0 (
echo prebuild OK.
exit 0
) else (
echo prebuild error
echo error code: %errorlevel%
exit 1
)

3 changes: 3 additions & 0 deletions mre_def.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#define __MER_30__
#define __MRE_VENUS_NORMAL__
#define __MMI_MAINLCD_240X320__
Binary file added oawpp.axf
Binary file not shown.
Loading

0 comments on commit d1bf91e

Please sign in to comment.