Bus Pirate firmware auto build: main branch

Here’s a fresh compile from ‘main’: “Added long-press button functionality with button codes. Added bulong command. Replaced button_check_irq with button_check_press. Moved button_exec to button.c”
ci-buspirate5-main-cac1152.zip

Build time: 39.58 seconds

Git pull log @cac1152:
Updating add9c1b…cac1152
Fast-forward
commands/global/button_scr.c | 104 +++++++++++++++++++++++++++++++±----------
commands/global/button_scr.h | 3 ±
pirate.c | 9 +±-
pirate.h | 3 ++
pirate/button.c | 46 +++++++++++++±----
pirate/button.h | 11 +++±
6 files changed, 135 insertions(+), 41 deletions(-)

Here’s a fresh compile from ‘main’: “added help to button command”
ci-buspirate5-main-6a2842f.zip

Build time: 39.38 seconds

Git pull log @6a2842f:
Updating cac1152…6a2842f
Fast-forward
commands/global/button_scr.c | 17 ++++++++++±-----
translation/base.h | 6 ++++++
translation/bs-ba.h | 6 ++++++
translation/en-us.h | 8 ++++++±
translation/en-us.json | 8 ++++++±
translation/it-it.h | 6 ++++++
translation/pl-pl.h | 6 ++++++
translation/zh-cn.h | 6 ++++++
8 files changed, 55 insertions(+), 8 deletions(-)

Here’s a fresh compile from ‘main’: “Volatile because modified in IRQ handler”
ci-buspirate5-main-2ca1250.zip

Build time: 45.94 seconds

Git pull log @2ca1250:
Updating 6a2842f…2ca1250
Fast-forward
CMakeLists.txt | 1 +
bytecode.h | 19 ++++++++±----
commands/global/cmd_selftest.c | 7 ++±-
display/default.c | 9 ++±—
mode/logicanalyzer.c | 7 ++±-
msc_disk.c | 8 ++++±
pirate.c | 37 ++++++++++++++±-----------
pirate/button.c | 7 +±–
pirate/intercore_helpers.c | 57 +++++++++++++++++++++++++++++++++++++++++
pirate/intercore_helpers.h | 58 ++++++++++++++++++++++++++++++++++++++++++
pirate/mcu.c | 1 +
ui/ui_process.c | 18 +++++±------
12 files changed, 178 insertions(+), 51 deletions(-)
create mode 100644 pirate/intercore_helpers.c
create mode 100644 pirate/intercore_helpers.h

Here’s a fresh compile from ‘main’: "Enable 2Gbit rev10 board firmware

  • Add new target in CMakefiles.txt
  • Change NAND terms to use ERASE_BLOCK instead of simply BLOCK
  • Use #define to select between two flash chips for firmware
  • Pass row_address_t to additional nand functions to support multi-plane
  • Fix for cross-plane copy (less efficient, but required until command found that copies from one plane’s cache register to the other plane’s cache register…)"
    ci-buspirate5-main-51a9bbc.zip

Build time: 57.43 seconds

Git pull log @51a9bbc:
Updating 2ca1250…51a9bbc
Fast-forward
CMakeLists.txt | 29 ++++++++++±—
nand/attic/shell_cmd.c | 4 ±-
nand/nand_ftl_diskio.c | 4 ±-
nand/spi_nand.c | 97 ++++++++++++++++++++++++++++++++++++±------------
nand/spi_nand.h | 39 +++++++++++±-------
5 files changed, 124 insertions(+), 49 deletions(-)

1 Like

Here’s a fresh compile from ‘main’: “Remove dead (per Ian) code”
ci-buspirate5-main-420aa88.zip

Build time: 38.57 seconds

Git pull log @420aa88:
Updating 51a9bbc…420aa88
Fast-forward
CMakeLists.txt | 11 –
nand/attic/fifo.h | 75 -------
nand/attic/led.c | 25 —
nand/attic/led.h | 35 ----
nand/attic/mem.c | 35 ----
nand/attic/mem.h | 33 ----
nand/attic/shell.c | 192 ------------------
nand/attic/shell.h | 41 ----
nand/attic/shell_cmd.c | 518 -------------------------------------------------
nand/attic/shell_cmd.h | 18 –
nand/attic/uart.c | 144 --------------
nand/attic/uart.h | 35 ----
nand/nand_ftl_diskio.c | 12 ±
nand/spi_nand.c | 168 +++++++++±-----
nand/spi_nand.h | 39 +±-
pirate/mem.c | 2 ±
pirate/mem.h | 2 ±
pirate/storage.c | 2 +
18 files changed, 131 insertions(+), 1256 deletions(-)
delete mode 100644 nand/attic/fifo.h
delete mode 100644 nand/attic/led.c
delete mode 100644 nand/attic/led.h
delete mode 100644 nand/attic/mem.c
delete mode 100644 nand/attic/mem.h
delete mode 100644 nand/attic/shell.c
delete mode 100644 nand/attic/shell.h
delete mode 100644 nand/attic/shell_cmd.c
delete mode 100644 nand/attic/shell_cmd.h
delete mode 100644 nand/attic/uart.c
delete mode 100644 nand/attic/uart.h

1 Like

Build Failed! Logs are attached. Happy debugging!

ci-buspirate5-main-97ec6f0.zip

Build time: 47.31 seconds

Git pull log @97ec6f0:
Updating 420aa88…97ec6f0
Fast-forward
commands/global/dummy.c | 4 ++++
1 file changed, 4 insertions(+)

Build Failed! Logs are attached. Happy debugging!

ci-buspirate5-main-6d383ad.zip

Build time: 16.63 seconds

Git pull log @6d383ad:
Updating 97ec6f0…6d383ad
Fast-forward
mode/hw2wire.c | 6 ±
mode/hwhduart.c | 10 ±
mode/hwi2c.c | 6 ±
mode/hwled.c | 6 ±
mode/hwspi.c | 12 ±
mode/hwuart.c | 10 ±
pirate/rgb.c | 640 +++++++++++++++++++++++++++++++++++±------------
pirate/rgb.h | 23 ±
pirate/storage.c | 79 ++±–
pirate/storage.h | 15 ±
system_config.c | 73 ±----
system_config.h | 11 ±
translation/base.h | 2 +
translation/en-us.h | 2 +
translation/en-us.json | 2 +
ui/ui_config.c | 194 ++++++++++±—
16 files changed, 749 insertions(+), 342 deletions(-)

Looks like the build server is having a problem. Looking into it.

Here’s a fresh compile from ‘main’: "No code changes … yet

  • Improve the name of first parameter to rgb_assign_color() to reflect it’s a bitmask of which LEDs to assign the color to.
  • Formatting changes to more easily compare similar code."
    ci-buspirate5-main-6d383ad.zip

Build time: 39.84 seconds

Git pull log @6d383ad:
Already up to date.

Here’s a fresh compile from ‘main’: “only need six hex digits printed”
ci-buspirate5-main-fc0b9c9.zip

Build time: 39.97 seconds

Git pull log @fc0b9c9:
Updating 6d383ad…fc0b9c9
Fast-forward
pirate/storage.c | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)

Here’s a fresh compile from ‘main’: “uart monitor”
ci-buspirate5-main-fc8f968.zip

Build time: 39.6 seconds

Git pull log @fc8f968:
Updating fc0b9c9…fc8f968
Fast-forward
CMakeLists.txt | 3 +
commands.c | 4 +
commands/global/cls.c | 26 ++++++
commands/global/cls.h | 1 +
commands/global/pwm.c | 2 ±
commands/global/smps.c | 90 +++++++++++++++++++
commands/global/smps.h | 1 +
commands/uart/monitor.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++++
commands/uart/monitor.h | 1 +
mode/hwuart.c | 3 +
10 files changed, 358 insertions(+), 1 deletion(-)
create mode 100644 commands/global/cls.c
create mode 100644 commands/global/cls.h
create mode 100644 commands/global/smps.c
create mode 100644 commands/global/smps.h
create mode 100644 commands/uart/monitor.c
create mode 100644 commands/uart/monitor.h

1 Like

Here’s a fresh compile from ‘main’: "Reduce complexity, no functional changes this commit.

No need for handling both RGB and GRB (or other pixel-specific color ordering). Updates are all internal to rgb.c.

  • Rename CPIXEL_COLOR_RGBCPIXEL_COLOR
  • Delete CPIXEL_COLOR_GRB
  • Remove corresponding C11 _Generic() macros
  • Remove RGB_MAX_BRIGHT"
    ci-buspirate5-main-a7bb193.zip

Build time: 39.78 seconds

Git pull log @a7bb193:
Updating fc8f968…a7bb193
Fast-forward
pirate/rgb.c | 742 +++++++++++++++++++++++++++++++++++±----------------------
pirate/rgb.h | 1 -
2 files changed, 455 insertions(+), 288 deletions(-)

1 Like

Here’s a fresh compile from ‘main’: “smps command update for VPP maker V1 REV7”
ci-buspirate5-main-d639162.zip

Build time: 39.67 seconds

Git pull log @d639162:
Updating a7bb193…d639162
Fast-forward
commands/global/smps.c | 101 +++++++++++++++++++++++++++++++++++±------------
1 file changed, 74 insertions(+), 27 deletions(-)

Here’s a fresh compile from ‘main’: “smps warnings and flag logic”
ci-buspirate5-main-85822e3.zip

Build time: 39.63 seconds

Git pull log @85822e3:
Updating d639162…85822e3
Fast-forward
commands/global/smps.c | 8 +++++±-
1 file changed, 6 insertions(+), 2 deletions(-)

Here’s a fresh compile from ‘main’: “fix smps invalid voltage warning.”
ci-buspirate5-main-6c63978.zip

Build time: 42.41 seconds

Git pull log @6c63978:
Updating 85822e3…6c63978
Fast-forward
commands/global/smps.c | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)

Here’s a fresh compile from ‘main’: “fix float in smps”
ci-buspirate5-main-39ccbeb.zip

Build time: 40.97 seconds

Git pull log @39ccbeb:
Updating 6c63978…39ccbeb
Fast-forward
commands/global/smps.c | 2 ±
mode/logicanalyzer.c | 82 ++++++±-----
mode/logicanalyzer.h | 3 ±
mode/logicanalyzer.pio | 306 ++++++++++++++++++++++++±-----------------------
mode/sump.c | 19 +±
5 files changed, 222 insertions(+), 190 deletions(-)

Here’s a fresh compile from ‘main’: "move restart_dma to static

(cherry picked from commit 4dd51ae242585a59e0d0d41419d8600007210a20)"
ci-buspirate5-main-a1c413c.zip

Build time: 41.13 seconds

Git pull log @a1c413c:
Updating 39ccbeb…a1c413c
Fast-forward
mode/logicanalyzer.c | 2 ++
mode/logicanalyzer.h | 1 -
ui/ui_term.c | 10 +++++++±-
3 files changed, 10 insertions(+), 3 deletions(-)

Here’s a fresh compile from ‘main’: “binmode ideas, binmode loopback mode in terminal”
ci-buspirate5-main-2c636c9.zip

Build time: 42.31 seconds

Git pull log @2c636c9:
Updating a1c413c…2c636c9
Fast-forward
CMakeLists.txt | 12 ±
binmode/binio.c | 571 ++++++++++++++++++
binmode/binio.h | 50 ++
{mode => binmode}/binio_helpers.c | 17 ±
{mode => binmode}/binio_helpers.h | 2 ±
binmode/binmodes.c | 43 ++
binmode/binmodes.h | 19 +
binmode/dirtyproto.c | 244 ++++++++
binmode/dirtyproto.h | 2 +
{mode => binmode}/logicanalyzer.c | 0
{mode => binmode}/logicanalyzer.h | 0
{mode => binmode}/logicanalyzer.pio | 0
{mode => binmode}/sump.c | 59 ±
{mode => binmode}/sump.h | 5 ±
commands.c | 6 ±
commands/global/cmd_binmode.c | 80 +++
commands/global/cmd_binmode.h | 1 +
commands/global/h_help.c | 1 +
commands/global/i_info.c | 2 ±
commands/global/pwm.c | 2 ±
commands/global/pwm.h | 2 +
lib/arduino-ch32v003-swio/LICENSE | 16 +
lib/arduino-ch32v003-swio/Makefile | 9 +
lib/arduino-ch32v003-swio/README.md | 76 +++
lib/arduino-ch32v003-swio/arduino_ch32v003.c | 86 +++
lib/arduino-ch32v003-swio/arduino_ch32v003.h | 2 +
lib/arduino-ch32v003-swio/flash.sh | 2 +
lib/arduino-ch32v003-swio/main.c | 63 ++
lib/arduino-ch32v003-swio/swio.c | 182 ++++++
lib/arduino-ch32v003-swio/swio.h | 14 +
lib/arduino-ch32v003-swio/uart.c | 42 ++
lib/arduino-ch32v003-swio/uart.h | 9 +
mode/binio.c | 495 ----------------
mode/binio.h | 26 -
mode/binloopback.c | 101 ++++
mode/binloopback.h | 23 +
mode/binspi.c | 834 ---------------------------
mode/binspi.h | 33 –
mode/hwspi.c | 78 ±-
mode/hwspi.h | 3 +
modes.c | 81 +±
modes.h | 5 +
opt_args.h | 2 ±
pirate.c | 27 ±
pirate.h | 6 ±
pirate/amux.c | 20 ±
pirate/amux.h | 2 +
system_config.c | 7 ±
system_config.h | 6 ±
translation/base.h | 1 +
translation/bs-ba.h | 3 +
translation/en-us.h | 1 +
translation/en-us.json | 1 +
translation/it-it.h | 3 +
translation/pl-pl.h | 3 +
translation/zh-cn.h | 3 +
ui/ui_mode.c | 2 ±
usb_rx.c | 110 ±–
usb_rx.h | 1 +
usb_tx.c | 18 ±
usb_tx.h | 1 +
61 files changed, 1928 insertions(+), 1587 deletions(-)
create mode 100644 binmode/binio.c
create mode 100644 binmode/binio.h
rename {mode => binmode}/binio_helpers.c (84%)
rename {mode => binmode}/binio_helpers.h (65%)
create mode 100644 binmode/binmodes.c
create mode 100644 binmode/binmodes.h
create mode 100644 binmode/dirtyproto.c
create mode 100644 binmode/dirtyproto.h
rename {mode => binmode}/logicanalyzer.c (100%)
rename {mode => binmode}/logicanalyzer.h (100%)
rename {mode => binmode}/logicanalyzer.pio (100%)
rename {mode => binmode}/sump.c (92%)
rename {mode => binmode}/sump.h (96%)
create mode 100644 commands/global/cmd_binmode.c
create mode 100644 commands/global/cmd_binmode.h
create mode 100644 lib/arduino-ch32v003-swio/LICENSE
create mode 100644 lib/arduino-ch32v003-swio/Makefile
create mode 100644 lib/arduino-ch32v003-swio/README.md
create mode 100644 lib/arduino-ch32v003-swio/arduino_ch32v003.c
create mode 100644 lib/arduino-ch32v003-swio/arduino_ch32v003.h
create mode 100644 lib/arduino-ch32v003-swio/flash.sh
create mode 100644 lib/arduino-ch32v003-swio/main.c
create mode 100644 lib/arduino-ch32v003-swio/swio.c
create mode 100644 lib/arduino-ch32v003-swio/swio.h
create mode 100644 lib/arduino-ch32v003-swio/uart.c
create mode 100644 lib/arduino-ch32v003-swio/uart.h
delete mode 100644 mode/binio.c
delete mode 100644 mode/binio.h
create mode 100644 mode/binloopback.c
create mode 100644 mode/binloopback.h
delete mode 100644 mode/binspi.c
delete mode 100644 mode/binspi.h

Here’s a fresh compile from ‘main’: “fix incorrect binmode service index”
ci-buspirate5-main-b9a6486.zip

Build time: 42.4 seconds

Git pull log @b9a6486:
Updating 2c636c9…b9a6486
Fast-forward
binmode/binmodes.c | 6 ++±–
1 file changed, 3 insertions(+), 3 deletions(-)

Here’s a fresh compile from ‘main’: “binio protocol read/write changed to single byte operations. Implement bulk read/write on an upper layer.,”
ci-buspirate5-main-df6761b.zip

Build time: 42.32 seconds

Git pull log @df6761b:
Updating b9a6486…df6761b
Fast-forward
binmode/binio.c | 26 ++++++++++++++++++++++++±
1 file changed, 25 insertions(+), 1 deletion(-)