Bus Pirate 5 auto build: syntax_rework branch

Auto builds of the latest code for my "syntax_rework" branch. This is a mess and a work in progress. Try it out and let me know what you think :slight_smile:

More about this branch here.

2 Likes

Here’s a fresh compile:
ci-buspirate5-syntax-rework-1875428.zip

Build time: 14.48 seconds

Git pull log @1875428:
Updating 066c2fb…1875428
Fast-forward
test.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 test.txt

Here’s a fresh compile:
ci-buspirate5-syntax-rework-767d093.zip

Build time: 14.02 seconds

Git pull log @767d093:
Updating 1875428…767d093
Fast-forward
syntax.c | 73 ++++++++++++++++++±—
syntax.h | 3 ±
ui/ui_process.c | 178 +++++++++++++++++++++++++++++++++±---------------------
3 files changed, 172 insertions(+), 82 deletions(-)

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-73c5c86.zip

Build time: 14.78 seconds

Git pull log @73c5c86:
Updating 767d093…73c5c86
Fast-forward
platform/bpi-rev8.c | 17 ++++++++++++++±-
platform/bpi-rev8.h | 3 +++
shift.c | 2 ±
syntax.c | 17 ++++++++++++±—
4 files changed, 32 insertions(+), 7 deletions(-)

Here’s a fresh compile:
ci-buspirate5-syntax-rework-ba1514a.zip

Build time: 14.23 seconds

Git pull log @ba1514a:
Updating 73c5c86…ba1514a
Fast-forward
freq.c | 4 ±-
syntax.c | 82 ++++++++++++++++++++++++++++++++++++++++++++++++±-------
syntax.h | 2 ±
ui/ui_process.c | 34 +++++++++++±-----------
4 files changed, 91 insertions(+), 31 deletions(-)

Here’s a fresh compile:
ci-buspirate5-syntax-rework-16ab6c9.zip

Build time: 14.48 seconds

Git pull log @16ab6c9:
Updating ba1514a…16ab6c9
Fast-forward
.vscode/settings.json | 4 ±
CMakeLists.txt | 1 +
adc.c | 8 ±-
adc.h | 4 ±
auxpinfunc.c | 10 +±-
auxpinfunc.h | 6 ±
commands.c | 103 +++++++++++++++++++++++±---------
commands.h | 22 ++++++±
dump.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++
dump.h | 2 +
freq.c | 4 ±
freq.h | 4 ±
helpers.c | 12 +±-
helpers.h | 12 +±-
mcu/rp2040.c | 2 ±
mcu/rp2040.h | 2 ±
mode/hwspi.c | 5 ±
pirate.c | 2 ±
platform/bpi-rev8.c | 2 ±
platform/bpi-rev8.h | 2 ±
psu.c | 4 ±
psu.h | 4 ±
pullups.c | 4 ±
pullups.h | 4 ±
pwm.c | 4 ±
pwm.h | 4 ±
storage.c | 14 +±–
storage.h | 18 ++±–
syntax.c | 2 ±
ui/ui_config.c | 2 ±
ui/ui_config.h | 2 ±
ui/ui_info.c | 4 ±
ui/ui_info.h | 4 ±
ui/ui_mode.c | 4 ±
ui/ui_mode.h | 4 ±
ui/ui_parse.c | 4 ±
ui/ui_process.c | 21 ++++±-
37 files changed, 345 insertions(+), 117 deletions(-)
create mode 100644 dump.c
create mode 100644 dump.h

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-576b343.zip

Build time: 14.63 seconds

Git pull log @576b343:
Updating 16ab6c9…576b343
Fast-forward
syntax.c | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++±-----------
1 file changed, 146 insertions(+), 32 deletions(-)

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-06c27b0.zip

Build time: 14.33 seconds

Git pull log @06c27b0:
Updating 576b343…06c27b0
Fast-forward
mode/hwi2c.c | 45 ++++++++++++++++++++++++++++++++++±---------
mode/hwi2c.h | 4 ++++
modes.c | 4 +±-
pio_i2c.c | 10 ++++++±–
syntax.c | 14 +++++++++±—
5 files changed, 58 insertions(+), 19 deletions(-)

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-e4f852d.zip

Build time: 14.16 seconds

Git pull log @e4f852d:
Updating 06c27b0…e4f852d
Fast-forward
mode/hwi2c.c | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-04c0554.zip

Build time: 13.84 seconds

Git pull log @04c0554:
Updating e4f852d…04c0554
Fast-forward
dump.c | 6 ++±–
helpers.c | 27 +++±----------------------
mode/dummy1.c | 2 ±
mode/dummy1.h | 2 ±
mode/hwi2c.c | 22 ++++++++++++++++±----
mode/hwi2c.h | 2 ±
mode/hwled.c | 2 ±
mode/hwled.h | 2 ±
mode/hwspi.c | 2 ±
mode/hwspi.h | 2 ±
mode/usart.c | 2 ±
mode/usart.h | 2 ±
modes.c | 12 +++++++++±-
modes.h | 2 ±
syntax.c | 3 +±
15 files changed, 46 insertions(+), 44 deletions(-)

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-93eb613.zip

Build time: 14.31 seconds

Git pull log @93eb613:
Updating 04c0554…93eb613
Fast-forward
mode/hwi2c.c | 310 ++++++++++++±---------------------------------------------
mode/hwi2c.h | 2 ±
modes.c | 2 ±
pio_i2c.c | 136 ++++++++++++++++++++++++±
pio_i2c.h | 9 ±
5 files changed, 212 insertions(+), 247 deletions(-)

1 Like

Here’s a fresh compile:
ci-buspirate5-syntax-rework-b7b24bc.zip

Build time: 14.6 seconds

Git pull log @b7b24bc:
Updating 93eb613…b7b24bc
Fast-forward
adc.c | 2 –
bytecode.h | 29 +++++++++++++++++++++++++++++
commands.c | 11 -----------
dump.c | 1 -
helpers.c | 2 ±
msc_disk.c | 12 ++±--------
pirate.c | 11 -----------
platform/bpi-rev8.c | 2 ±
syntax.c | 20 --------------------
ui/ui_info.c | 4 ----
ui/ui_parse.c | 4 ----
ui/ui_process.c | 21 ±-------------------
ui/ui_prompt.c | 2 –
ui/ui_statusbar.c | 5 -----
ui/ui_term.c | 8 --------
15 files changed, 35 insertions(+), 99 deletions(-)
create mode 100644 bytecode.h

Here’s a fresh compile:
ci-buspirate5-syntax-rework-6648820.zip

Build time: 13.73 seconds

Git pull log @6648820:
Updating b7b24bc…6648820
Fast-forward
CMakeLists.txt | 2 ±
adc.c | 4 ±
amux.c | 44 +++++±–
amux.h | 7 ±
auxpinfunc.c | 1 +
bytecode.h | 29 ++±–
command_attributes.h | 17 ++++
commands.c | 8 ±
commands.h | 79 ---------------
dump.c | 1 +
freq.c | 1 +
helpers.c | 251 +++++±----------------------------------------
helpers.h | 12 +±
mcu/rp2040.c | 18 ++±
mcu/rp2040.h | 9 ±
mode/hiz.c | 1 +
mode/hwi2c.c | 1 +
mode/hwled.c | 1 +
mode/hwspi.c | 1 +
mode/usart.c | 2 +
opt_args.h | 36 +++++++
pirate.c | 9 ±
pirate.h | 6 –
platform/bpi-rev1.c | 70 -------------
platform/bpi-rev1.h | 239 --------------------------------------------
platform/bpi-rev3.c | 69 -------------
platform/bpi-rev3.h | 272 ---------------------------------------------------
platform/bpi-rev4.c | 57 -----------
platform/bpi-rev4.h | 265 -------------------------------------------------
platform/bpi-rev6.c | 57 -----------
platform/bpi-rev6.h | 270 --------------------------------------------------
platform/bpi-rev8.c | 47 ---------
platform/bpi-rev8.h | 4 -
psu.c | 8 ±
psu_dac.c | 2 ±
pullups.c | 4 ±
pwm.c | 5 ±
storage.c | 2 +
syntax.c | 4 +
syntax.h | 33 -------
system_monitor.c | 3 ±
ui/ui_config.c | 1 +
ui/ui_format.c | 2 +
ui/ui_info.c | 10 ±
ui/ui_mode.c | 5 ±
ui/ui_parse.c | 1 +
ui/ui_process.c | 2 +
ui/ui_prompt.c | 1 +
ui/ui_statusbar.c | 1 +
49 files changed, 217 insertions(+), 1757 deletions(-)
create mode 100644 command_attributes.h
create mode 100644 opt_args.h
delete mode 100644 platform/bpi-rev1.c
delete mode 100644 platform/bpi-rev1.h
delete mode 100644 platform/bpi-rev3.c
delete mode 100644 platform/bpi-rev3.h
delete mode 100644 platform/bpi-rev4.c
delete mode 100644 platform/bpi-rev4.h
delete mode 100644 platform/bpi-rev6.c
delete mode 100644 platform/bpi-rev6.h

Here’s a fresh compile:
ci-buspirate5-syntax-rework-8e09d83.zip

Build time: 15.34 seconds

Git pull log @8e09d83:
Updating 6648820…8e09d83
Fast-forward
bytecode.h | 30 +++++±
dump.c | 46 ++++±----
helpers.c | 3 ±
mode/hwi2c.c | 104 ++++++++++±---------
mode/hwi2c.h | 26 ++±–
mode/hwled.c | 82 +++++++++±------
mode/hwled.h | 24 +±–
mode/hwspi.c | 103 ++++++++++++++±-----
mode/hwspi.h | 13 ±-
modes.c | 120 +++++++++±--------------
modes.h | 12 +±
pio_i2c.c | 190 +++++++++++++++++++++++±--------------
pio_i2c.h | 14 ±-
pirate.c | 1 +
pirate.h | 6 ±
syntax.c | 253 ++++++++++++++++++±--------------------------------
system_config.c | 1 +
translation/base.c | 8 ±
translation/base.h | 13 +++
translation/en-us.h | 19 ++±
ui/ui_config.c | 1 +
ui/ui_format.c | 1 +
ui/ui_info.c | 1 +
ui/ui_init.c | 4 ±
ui/ui_mode.c | 1 +
ui/ui_process.c | 1 +
26 files changed, 576 insertions(+), 501 deletions(-)

Here’s a fresh compile:
ci-buspirate5-syntax-rework-5467308.zip

Build time: 14.47 seconds

Git pull log @5467308:
Updating 8e09d83…5467308
Fast-forward
mode/hwspi.c | 4 ±-
mode/hwspi.h | 4 ±-
mode/usart.c | 97 +++++++++++++++++++++++++++++++++++±----------------
mode/usart.h | 28 +++++++±-------
modes.c | 44 +++++++++++±-----------
modes.h | 4 ±-
pirate.h | 2 ±
syntax.c | 44 ++++++++++++++±--------
translation/base.h | 5 +++
translation/en-us.h | 5 +++
10 files changed, 148 insertions(+), 89 deletions(-)

Here’s a fresh compile:
ci-buspirate5-syntax-rework-b8c58de.zip

Build time: 14.13 seconds

Git pull log @b8c58de:
Updating 5467308…b8c58de
Fast-forward
commands.c | 70 ++++++++++++++±---------------
opt_args.h | 3 ±
storage.c | 23 +++++±—
translation/base.h | 48 +++++++++++++++++++++
translation/en-us.h | 56 ++++++++++++++++++++++±-
ui/ui_info.c | 118 ++++++++++++++++++++++++++++++++++±----------------
ui/ui_process.c | 12 ++++±
7 files changed, 239 insertions(+), 91 deletions(-)

Here’s a fresh compile:
ci-buspirate5-syntax-rework-607a28e.zip

Build time: 13.71 seconds

Git pull log @607a28e:
Updating b8c58de…607a28e
Fast-forward
mode/hwi2c.c | 4 ±–
mode/hwled.c | 9 +±------
mode/hwspi.c | 4 +±-
mode/usart.c | 4 +±-
modes.c | 14 ++++++±------
translation/base.h | 2 ++
translation/en-us.h | 2 ++
ui/ui_process.c | 17 +++++++++++++++±
8 files changed, 34 insertions(+), 22 deletions(-)

syntax_rework branch changes have been merged into main. Firmware v0.1.0 is now available in the main branch build thread.