diff --git a/documents/HowToBuild.md b/documents/HowToBuild.md index e64bcf3..4138e1c 100644 --- a/documents/HowToBuild.md +++ b/documents/HowToBuild.md @@ -3,7 +3,7 @@ Prerequisite: Windows & Visul Studio 2013/2015/2017/2019 - Open "GuiLite.sln" by Visual Studio - Click `Build Solution` -- Output here: \GuiLite\Debug(Release)\GuiLite.lib +- Output here: \GuiLite\workspace\Debug(Release)\GuiLite.lib FAQ: Error when open GuiLite project with Visual Studio, reconfigure the project to match your computer like this: @@ -13,7 +13,7 @@ FAQ: Error when open GuiLite project with Visual Studio, reconfigure the project - `cd GuiLite` - `cmake .` - `make` -- Output here: /GuiLite/libGuiLite.a +- Output here: /GuiLite/workspace/libGuiLite.a ## How to build GuiLite libary for ARM Linux? ### Prerequisite: Install cross compiler: @@ -24,7 +24,7 @@ FAQ: Error when open GuiLite project with Visual Studio, reconfigure the project - For ARM32: `cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-gnueabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-gnueabi-g++" .` - For ARM64: `cmake -D CMAKE_C_COMPILER="/usr/bin/aarch64-linux-gnu-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/aarch64-linux-gnu-g++" .` - `make` -- Output here: /GuiLite/libGuiLite.a +- Output here: /GuiLite/workspace/libGuiLite.a ## How to build GuiLite libary for Android? ### Prerequisite: Install cross compiler: @@ -33,7 +33,7 @@ FAQ: Error when open GuiLite project with Visual Studio, reconfigure the project - `cd GuiLite` - `cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-androideabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-androideabi-g++" .` - `make` -- Output here: /GuiLite/libGuiLite.a +- Output here: /GuiLite/workspace/libGuiLite.a ## How to build GuiLite libary for any MCU? ### Prerequisite: Install Keil uvsion 5.6 or above. @@ -42,7 +42,7 @@ FAQ: Error when open GuiLite project with Visual Studio, reconfigure the project - Implement function(e.g, thread_sleep) in `core\src\adapter\api_unknow.cpp` to meet your need. - Choose your Device type(Default: STM32F103ZE) from option for target. - Build GuiLite. -- Output here: /GuiLite/Objects/GuiLite.lib +- Output here: /GuiLite/workspace/Objects/GuiLite.lib ## How to port? Here are 2 options for porting. diff --git a/workspace/.sync.sh b/workspace/.sync.sh index 6bffc73..41adbfa 100755 --- a/workspace/.sync.sh +++ b/workspace/.sync.sh @@ -4,7 +4,7 @@ if [ "$#" -ne 1 ]; then fi url="https://api.powerbi.com/beta/72f988bf-86f1-41af-91ab-2d7cd011db47/datasets/2ff1e8a8-2f6f-4d73-a75d-86829e3f4574/rows?key=8f5xLp1gP8%2FzSee4vCUBcyjR65I9zZ6nb%2B%2F7bbzex%2FSctLX3ntIlAR0sxWpDdguuYyDtLdHK%2Fxbxj%2FrSBkX7eQ%3D%3D" -build_time=`date +%Y-%m-%dT%H:%M:%S.000+0800` +build_time=`date +%Y-%m-%dT%H:%M:%S.000Z` device_info=`uname -s -n -m` curl --include --request POST --header "Content-Type: application/json" --data-binary "[{ diff --git a/workspace/sync_build.bat b/workspace/sync_build.bat index 4f0cc52..b3ada2b 100644 --- a/workspace/sync_build.bat +++ b/workspace/sync_build.bat @@ -13,7 +13,7 @@ set YY=%YYYY:~0,2% if not "%YY%" == "20" (rem For Chinese date format for /f "tokens=1-3 delims=/ " %%a in ("%date%") do (set YYYY=%%a& set MM=%%b& set DD=%%c)) -set datetime=%YYYY%-%MM%-%DD%T%time: =0%0+0800 +set datetime=%YYYY%-%MM%-%DD%T%time: =0%0Z set devie_info=Win-%USERNAME% set raw_data=[{^ \"device_info\" :\"%devie_info%\",^