Bus Pirate 5 auto build: main branch

Here’s a fresh compile from the new build server: ““debounce” current measurement a bit.”
ci-buspirate5-main-6c338c1.zip

Build time: 38.95 seconds

Git pull log @6c338c1:
Updating 5898f8d…6c338c1
Fast-forward
pirate/amux.c | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)

Here’s a fresh compile from the new build server: "chore(doc): multiline code tags for build server doc

Added multi-line code formatting tags + extra heading for the webhook."
ci-buspirate5-main-87b1d8c.zip

Build time: 40.28 seconds

Git pull log @87b1d8c:
Updating 6c338c1…87b1d8c
Fast-forward
hacks/build_server.md | 22 +++++++++++++++±-----
1 file changed, 16 insertions(+), 6 deletions(-)

Here’s a fresh compile from the new build server: “half duplex UART bridge add flag to supress local echo (local echo enabled by default, seems to be expected behaviour)”
ci-buspirate5-main-e7ce08e.zip

Build time: 40.78 seconds

Git pull log @e7ce08e:
Updating 87b1d8c…e7ce08e
Fast-forward
commands/hdplxuart/bridge.c | 4 ++++
translation/base.h | 1 +
translation/bs-ba.h | 1 +
translation/en-us.h | 1 +
translation/en-us.json | 1 +
translation/it-it.h | 1 +
translation/pl-pl.h | 1 +
translation/zh-cn.h | 1 +
8 files changed, 11 insertions(+)

Here’s a fresh compile from the new build server: “enable stack guard”
ci-buspirate5-main-03d4066.zip

Build time: 40.65 seconds

Git pull log @03d4066:
Updating e7ce08e…03d4066
Fast-forward
CMakeLists.txt | 3 ±-
1 file changed, 1 insertion(+), 2 deletions(-)

Here’s a fresh compile from the new build server: "Revert “enable stack guard”

This reverts commit 03d406664d7060a09605243768e709dbdcfb4fe9."
ci-buspirate5-main-f226587.zip

Build time: 39.99 seconds

Git pull log @f226587:
Updating 03d4066…f226587
Fast-forward
CMakeLists.txt | 3 +±
1 file changed, 2 insertions(+), 1 deletion(-)

Here’s a fresh compile from the new build server: “Added initial pagination implementation for hex handler”
ci-buspirate5-main-8785be5.zip

Build time: 40.45 seconds

Git pull log @8785be5:
Updating f226587…8785be5
Fast-forward
commands/global/disk.c | 131 ++++±–
translation/base.h | 791 ++++++++++++++++++++++++±-----------------------
translation/bs-ba.h | 783 +++++++++++++++++++++++±-----------------------
translation/en-us.h | 1 +
translation/en-us.json | 771 ++++++++++++++++++++++±-----------------------
translation/it-it.h | 783 +++++++++++++++++++++++±-----------------------
translation/pl-pl.h | 783 +++++++++++++++++++++++±-----------------------
translation/zh-cn.h | 783 +++++++++++++++++++++++±-----------------------
8 files changed, 2444 insertions(+), 2382 deletions(-)

Here’s a fresh compile from the new build server: "added github build workflow

added github build workflow"
ci-buspirate5-main-6544d10.zip

Build time: 39.6 seconds

Git pull log @6544d10:
Updating 8785be5…6544d10
Fast-forward
.github/workflows/build.yaml | 65 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
create mode 100644 .github/workflows/build.yaml

Here’s a fresh compile from ‘main’: "proof of concept to solve sync between the BP5 and the host.

Initially the host view is writable, until the host connects to the BP5.
After this point the host view is read only and BP5 writes need to call refresh_usbmsdrive() to get the host view in sync
When the connection with the BP5 is closed, the host view becomes writable again
TODO:
call refresh_usbmsdrive() to get the host view in sync.
sync fatfs on connection to get the host changes
Notes:
the dummy command does call refresh_usbmsdrive() to verify the POC"
ci-buspirate5-main-5f99359.zip

Build time: 38.42 seconds

Git pull log @5f99359:
Updating 6544d10…5f99359
Fast-forward
CMakeLists.txt | 144 ++++++++++++++++++++++++++±--------------------
commands/global/dummy.c | 4 ++
fatfs/ff.c | 8 +±
fatfs/ffconf.h | 9 ±-
fatfs/ffsystem.c | 32 +++++++±–
hacks/build_server.md | 2 ±
msc_disk.c | 47 ++++++++++++++±
msc_disk.h | 33 +++++++++++
pirate.c | 55 ++++++++±--------
pirate/storage.c | 13 +++++
pirate/storage.h | 9 ±-
platform/bpi-rev10.c | 47 ++++++++++++++++
platform/bpi-rev10.h | 54 ++±--------------
platform/bpi-rev8.c | 25 +++++++±
platform/bpi-rev8.h | 26 ±-------
15 files changed, 324 insertions(+), 184 deletions(-)
create mode 100644 msc_disk.h

Here’s a fresh compile from ‘main’: “Run button.scr when button is pressed”
ci-buspirate5-main-cc65ac1.zip

Build time: 38.64 seconds

Git pull log @cc65ac1:
Updating 5f99359…cc65ac1
Fast-forward
CMakeLists.txt | 1 +
pirate.c | 12 +++++++++±-
pirate/button.c | 12 ++++++++++++
pirate/button.h | 4 ++±
ui/ui_button.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
ui/ui_button.h | 1 +
6 files changed, 81 insertions(+), 3 deletions(-)
create mode 100644 ui/ui_button.c
create mode 100644 ui/ui_button.h

Here’s a fresh compile from ‘main’: “button command to configure button”
ci-buspirate5-main-a895efa.zip

Build time: 40.48 seconds

Git pull log @a895efa:
Updating cc65ac1…a895efa
Fast-forward
CMakeLists.txt | 2 ±
commands.c | 4 ±
commands/global/button_scr.c | 107 +++++++++++++++++++++++++++++++++++++++++++
commands/global/button_scr.h | 2 +
pirate.c | 4 ±
5 files changed, 115 insertions(+), 4 deletions(-)
create mode 100644 commands/global/button_scr.c
create mode 100644 commands/global/button_scr.h

Here’s a fresh compile from ‘main’: “update script, button, tutorial to be more reusable.”
ci-buspirate5-main-3b19e31.zip

Build time: 39.45 seconds

Git pull log @3b19e31:
Updating a895efa…3b19e31
Fast-forward
commands/global/button_scr.c | 41 ++++++±---------------------------------
commands/global/script.c | 10 ++++±----
commands/global/script.h | 2 ±
commands/global/tutorial.c | 5 +++±
4 files changed, 17 insertions(+), 41 deletions(-)

Here’s a fresh compile from ‘main’: "fix: action depreciation warnings

v3 checkout and upload-artifact actions have been depreciated for for several months now, and may stop working soon."
ci-buspirate5-main-9333367.zip

Build time: 39.02 seconds

Git pull log @9333367:
Updating 3b19e31…9333367
Fast-forward
.github/workflows/build.yaml | 10 +++±-----
1 file changed, 4 insertions(+), 6 deletions(-)

Here’s a fresh compile from ‘main’: “feat: docker based build”
ci-buspirate5-main-fcbe6e6.zip

Build time: 39.2 seconds

Git pull log @fcbe6e6:
Updating 9333367…fcbe6e6
Fast-forward
docker-compose.yml | 13 +++++++++++++
docker/Dockerfile | 34 ++++++++++++++++++++++++++++++++++
docker/entrypoint.sh | 16 ++++++++++++++++
readme.md | 30 ++++++++++++++++++++++++++++±
4 files changed, 92 insertions(+), 1 deletion(-)
create mode 100644 docker-compose.yml
create mode 100644 docker/Dockerfile
create mode 100755 docker/entrypoint.sh

Here’s a fresh compile from ‘main’: “feat: button exits osl sump”
ci-buspirate5-main-37eca7f.zip

Build time: 39.4 seconds

Git pull log @37eca7f:
Updating fcbe6e6…37eca7f
Fast-forward
mode/sump.c | 3 +++
1 file changed, 3 insertions(+)

I just build + installed the latest version. I was looking at the new commands via the help system, I then configured the toolbar (disabled), and then typed “#” to see it this worked. The BP disconnected and never reconnected. I can see /dev/ttyACM0 and 1. My system says there is an disk, but the system doesn’t mount the filesystem. the pseudo-terminal exists but I no longer have permission to access it. Strange…

So I pressed the boot button underneath and plugged the BP in, and again - no file system is mounted. I can’t even reinstall the firmware.

Here is the system log.
log.txt (9.6 KB)

Update: it’s now working. I was doing an Ubuntu update at the time. I rebooted my desktop, and now everything works.

1 Like

I take that back. I did the same sequence of steps, and the BP isn’t mounting a file system and I can’t connect again.
Updated.
I rebooted my laptop. After that, I could connect to the BP.
I connected to the BP and typed

c
3
1
x
#

It disconnected and I cannot reconnect. I waited several minutes, Nothing. I unplugged and re-plugged the BP. Still cannot connect.
I reboot my laptop, and now I can connect to the BP and the file system mounts.

Here’s a fresh compile from ‘main’: “added 256 ansi color support”
ci-buspirate5-main-f82f1b5.zip

Build time: 39.53 seconds

Git pull log @f82f1b5:
Updating 37eca7f…f82f1b5
Fast-forward
CMakeLists.txt | 15 ±
cmake/ansi_colours_import.cmake | 36 +++++
…/pico_sdk_import.cmake | 0
docs/contributing.md | 35 ++++
docs/licenses.md | 84 ++++++++++
docs/third_party_licenses/bsd-3-clause.txt | 17 ++
docs/third_party_licenses/lgpl-3.0.txt | 165 +++++++++++++++++++
pirate.c | 7 ±
platform/bpi-rev10.h | 8 ±
platform/bpi-rev8.h | 8 ±
platform/bpi-rev9.h | 8 ±
readme.md | 54 +++++±
system_config.c | 3 ±
translation/base.h | 6 ±
translation/bs-ba.h | 4 +
translation/en-us.h | 4 +
translation/en-us.json | 4 ±
translation/it-it.json | 2 +
translation/pl-pl.h | 4 +
translation/pl-pl.json | 4 ±
translation/zh-cn.h | 4 +
translation/zh-cn.json | 4 ±
ui/ui_config.c | 12 ±
ui/ui_term.c | 178 +++++++++++++++++±–
ui/ui_term.h | 12 ++
25 files changed, 640 insertions(+), 38 deletions(-)
create mode 100644 cmake/ansi_colours_import.cmake
rename pico_sdk_import.cmake => cmake/pico_sdk_import.cmake (100%)
create mode 100644 docs/contributing.md
create mode 100644 docs/licenses.md
create mode 100644 docs/third_party_licenses/bsd-3-clause.txt
create mode 100644 docs/third_party_licenses/lgpl-3.0.txt

Here’s a fresh compile from ‘main’: "Use autoranging for more precise frequency measurement

Use longer time gate to measure duty cycle for more precision"
ci-buspirate5-main-a5d0e8a.zip

Build time: 73.7 seconds

Git pull log @a5d0e8a:
Updating f82f1b5…a5d0e8a
Fast-forward
commands/global/freq.c | 143 ++++++++++++++++++++++++++++++++++++++++++++±—
1 file changed, 134 insertions(+), 9 deletions(-)

Here’s a fresh compile from ‘main’: "normalize pio files

looking at #3 - only 2 of the 3 files remain in dos mode.

this change looks big, but it was really just a:

find . -type f -name "*.pio" -exec dos2unix {} \;
```"
[ci-buspirate5-main-c667f1f.zip|attachment](upload://hOBkUcUx8kLHiLHg7dzrTL4FDcl.zip)

Build time: 39.84 seconds

Git pull log @c667f1f:
Updating a5d0e8a..c667f1f
Fast-forward
 mode/logicanalyzer.pio | 296 ++++++++++++++++++++++++-------------------------
 wavegen.pio            | 100 ++++++++---------
 2 files changed, 198 insertions(+), 198 deletions(-)