diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f9f5767..2586270 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -73,7 +73,7 @@ jobs: mkdir cd ${{github.workspace}}/js && cd ${{github.workspace}}/js/ git clone --depth=1 https://github.com/smilelc3/MyLittleTool.git sudo apt install emscripten -y - emcc MyLittleTool/Hex2Ascii.cpp MyLittleTool/Ascii2Hex.cpp MyLittleTool/Linear11Trans.cpp -D WASM_EMCC -o MyLittleTool.js -Oz -flto -s WASM=1 -s "EXPORTED_RUNTIME_METHODS=['cwrap']" + emcc MyLittleTool/Hex2Ascii.cpp MyLittleTool/Ascii2Hex.cpp MyLittleTool/Linear11Trans.cpp MyLittleTool/checksum_byteacc.cpp -D WASM_EMCC -o MyLittleTool.js -Oz -flto -s WASM=1 -s EXPORTED_FUNCTIONS='["_malloc", "_free"]' -s "EXPORTED_RUNTIME_METHODS=['cwrap']" -s ALLOW_MEMORY_GROWTH -s ASSERTIONS=1 rm -rf MyLittleTool cd - diff --git "a/markdown/\345\260\217\345\267\245\345\205\267\351\233\206\345\220\210.md" "b/markdown/\345\260\217\345\267\245\345\205\267\351\233\206\345\220\210.md" index d0469b4..f13f6a5 100644 --- "a/markdown/\345\260\217\345\267\245\345\205\267\351\233\206\345\220\210.md" +++ "b/markdown/\345\260\217\345\267\245\345\205\267\351\233\206\345\220\210.md" @@ -23,25 +23,36 @@ date: 2024-10-20
输出:

-
+

Linear11 格式转换实数

输出:

- +
+

校验和计算(ByteAcc算法)

+ + +
输出:
+
+
+