mirror of
https://github.com/pine64/blisp.git
synced 2025-06-21 11:34:45 +00:00
Compare commits
6 Commits
b8f0875282
...
66fbb6ba4c
Author | SHA1 | Date | |
---|---|---|---|
|
66fbb6ba4c | ||
|
a7f857e63b | ||
|
010f6b4d3a | ||
|
d47d3f9a20 | ||
|
feb324443b | ||
|
67bd1bd468 |
@ -17,7 +17,7 @@ Bouffalo Labs ISP (in-system-programming) tool & library: an open source tool to
|
||||
<br>
|
||||
|
||||
## Supported Devices
|
||||
| System | <img width="15" src="https://cdn.simpleicons.org/Windows11/5791ac" /> Windows | <img width="15" src="https://cdn.simpleicons.org/Apple/5791ac" /> MacOS| <img width="17" src="https://cdn.simpleicons.org/Linux/5791ac" /> Linux| <img width="15" src="https://cdn.simpleicons.org/Freebsd/5791ac" /> FreeBSD |
|
||||
| System | <img width="15" src="img/win32.png" /> Windows | <img width="15" src="https://cdn.simpleicons.org/Apple/5791ac" /> MacOS| <img width="17" src="https://cdn.simpleicons.org/Linux/5791ac" /> Linux| <img width="15" src="https://cdn.simpleicons.org/Freebsd/5791ac" /> FreeBSD |
|
||||
| :-----: | :------: | :------: | :------: | :------: |
|
||||
| Pinecil V2 |<img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" />|<img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" />| <img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" />| <img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" /> |
|
||||
| Pinecone |<img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" />|<img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" />|<img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" />| <img width="22" src="https://cdn.simpleicons.org/cachet/5791ac" /> |
|
||||
|
BIN
img/win32.png
Normal file
BIN
img/win32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 598 B |
@ -360,13 +360,13 @@ blisp_return_t blisp_device_flash_erase(struct blisp_device* device,
|
||||
*(uint32_t*)(payload + 4) = end_address;
|
||||
|
||||
blisp_return_t ret = blisp_send_command(device, 0x30, payload, 8, true);
|
||||
if (ret < 0)
|
||||
if (ret != BLISP_OK)
|
||||
return ret;
|
||||
do {
|
||||
ret = blisp_receive_response(device, false);
|
||||
} while (ret == BLISP_ERR_PENDING);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
blisp_return_t blisp_device_flash_write(struct blisp_device* device,
|
||||
@ -414,4 +414,4 @@ blisp_return_t blisp_device_reset(struct blisp_device* device) {
|
||||
void blisp_device_close(struct blisp_device* device) {
|
||||
struct sp_port* serial_port = device->serial_port;
|
||||
sp_close(serial_port);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user