mirror of
https://github.com/pine64/blisp.git
synced 2024-12-22 14:30:28 +00:00
Compare commits
4 Commits
07f8e92f6e
...
b8f0875282
Author | SHA1 | Date | |
---|---|---|---|
|
b8f0875282 | ||
|
a67a771bd6 | ||
|
1cef97ca89 | ||
|
67bd1bd468 |
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: blips-windows-x86_64.zip
|
name: blips-windows-x86_64
|
||||||
path: |
|
path: |
|
||||||
build/tools/blisp/Release/blisp.exe
|
build/tools/blisp/Release/blisp.exe
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: blips-apple-universal.zip
|
name: blips-apple-universal
|
||||||
path: |
|
path: |
|
||||||
build/tools/blisp/blisp
|
build/tools/blisp/blisp
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: blips-linux-x86_64.zip
|
name: blips-linux-x86_64
|
||||||
path: |
|
path: |
|
||||||
build/tools/blisp/blisp
|
build/tools/blisp/blisp
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
@ -151,7 +151,7 @@ jobs:
|
|||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: blisp-linux-${{ matrix.arch }}.zip
|
name: blisp-linux-${{ matrix.arch }}
|
||||||
path: |
|
path: |
|
||||||
artifacts/blisp-*
|
artifacts/blisp-*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
@ -360,13 +360,13 @@ blisp_return_t blisp_device_flash_erase(struct blisp_device* device,
|
|||||||
*(uint32_t*)(payload + 4) = end_address;
|
*(uint32_t*)(payload + 4) = end_address;
|
||||||
|
|
||||||
blisp_return_t ret = blisp_send_command(device, 0x30, payload, 8, true);
|
blisp_return_t ret = blisp_send_command(device, 0x30, payload, 8, true);
|
||||||
if (ret < 0)
|
if (ret != BLISP_OK)
|
||||||
return ret;
|
return ret;
|
||||||
do {
|
do {
|
||||||
ret = blisp_receive_response(device, false);
|
ret = blisp_receive_response(device, false);
|
||||||
} while (ret == BLISP_ERR_PENDING);
|
} while (ret == BLISP_ERR_PENDING);
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
blisp_return_t blisp_device_flash_write(struct blisp_device* device,
|
blisp_return_t blisp_device_flash_write(struct blisp_device* device,
|
||||||
|
Loading…
Reference in New Issue
Block a user