Here’s a fresh compile: “I2C mode demos to mode commands. I2C cleanup.”
ci-buspirate5-main-7e89346.zip
Build time: 41.64 seconds
Git pull log @7e89346 :
Updating c8151a2…7e89346
Fast-forward
CMakeLists.txt | 1 +
commands/i2c/demos.c | 105 +++++++++++++++++++++++++++++++++++
commands/i2c/demos.h | 3 +
commands/i2c/scan.h | 2 ±
mode/hwi2c.c | 147 ++±---------------------------------------------
translation/base.h | 3 +
translation/bs-ba.h | 3 +
translation/en-us.h | 5 ±
translation/en-us.json | 7 +±
translation/pl-pl.h | 3 +
translation/zh-cn.h | 5 ±
11 files changed, 139 insertions(+), 145 deletions(-)
create mode 100644 commands/i2c/demos.c
create mode 100644 commands/i2c/demos.h
Build Failed! Logs are attached. Happy debugging!
ci-buspirate5-main-c4765f9.zip
Build time: 4.3 seconds
Git pull log @c4765f9 :
Updating 7e89346…c4765f9
Fast-forward
CMakeLists.txt | 24 ±
commands.c | 2 -
commands/global/i_info.c | 1 +
mode/hw1wire.c | 26 ±
mode/hw1wire.h | 1 +
mode/onewire.h | 59 -
modes.c | 2 ±
pirate.h | 4 ±
mode/onewire.pio => pirate/hw1wire.pio | 0
mode/onewire.c => pirate/hw1wire_pio.c | 1961 +++++++++++++++±---------------
pirate/hw1wire_pio.h | 53 +
11 files changed, 1053 insertions(+), 1080 deletions(-)
delete mode 100644 mode/onewire.h
rename mode/onewire.pio => pirate/hw1wire.pio (100%)
rename mode/onewire.c => pirate/hw1wire_pio.c (80%)
create mode 100644 pirate/hw1wire_pio.h
Here’s a fresh compile: “timestamp rev8”
ci-buspirate5-main-f3a7071.zip
Build time: 41.62 seconds
Git pull log @f3a7071 :
Updating c4765f9…f3a7071
Fast-forward
CMakeLists.txt | 3 +±
1 file changed, 2 insertions(+), 1 deletion(-)
Here’s a fresh compile: “1-wire scan”
ci-buspirate5-main-8ef905d.zip
Build time: 40.72 seconds
Git pull log @8ef905d :
Updating f3a7071…8ef905d
Fast-forward
CMakeLists.txt | 1 +
commands/1wire/scan.c | 157 ++++++++++++++++++++++++++++++++++++++++++++++
commands/1wire/scan.h | 1 +
mode/hw1wire.c | 7 ±-
pirate/hw1wire_pio.c | 166 ++++++++++±-------------------------------------
pirate/hw1wire_pio.h | 10 +±
translation/base.h | 1 +
translation/bs-ba.h | 1 +
translation/en-us.h | 3 ±
translation/en-us.json | 5 ±
translation/pl-pl.h | 1 +
translation/zh-cn.h | 3 ±
12 files changed, 211 insertions(+), 145 deletions(-)
create mode 100644 commands/1wire/scan.c
create mode 100644 commands/1wire/scan.h
Here’s a fresh compile: “1wire mode demos”
ci-buspirate5-main-0605a7e.zip
Build time: 42.0 seconds
Git pull log @0605a7e :
Updating 8ef905d…0605a7e
Fast-forward
CMakeLists.txt | 3 ±
commands/1wire/demos.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++
commands/1wire/demos.h | 1 +
mode/hw1wire.c | 2 ++
pirate/hw1wire_pio.c | 3 ±
pirate/hw1wire_pio.h | 1 -
translation/base.h | 1 +
translation/bs-ba.h | 1 +
translation/en-us.h | 1 +
translation/en-us.json | 3 ±
translation/pl-pl.h | 1 +
translation/zh-cn.h | 1 +
12 files changed, 101 insertions(+), 4 deletions(-)
create mode 100644 commands/1wire/demos.c
create mode 100644 commands/1wire/demos.h
Here’s a fresh compile: “ds18b20 help”
ci-buspirate5-main-17a9f95.zip
Build time: 45.46 seconds
Git pull log @17a9f95 :
Updating 0605a7e…17a9f95
Fast-forward
CMakeLists.txt | 4 ±
commands/1wire/demos.c | 2 ±
commands/global/h_help.c | 2 ±
commands/uart/bridge.c | 45 +++++
commands/uart/bridge.h | 1 +
commands/uart/nmea.c | 62 ++++++
commands/uart/nmea.h | 1 +
display/scope.c | 14 ±
mode/hwuart.c | 267 ++++++++++++++++++++++++++
mode/hwuart.h | 33 ++++
mode/usart.c | 484 -----------------------------------------------
mode/usart.h | 27 —
modes.c | 38 +±-
modes.h | 4 ±
pirate.h | 2 ±
syntax.c | 83 ++±----
translation/base.h | 4 ±
translation/bs-ba.h | 4 ±
translation/en-us.h | 4 ±
translation/en-us.json | 6 ±
translation/pl-pl.h | 4 ±
translation/zh-cn.h | 4 ±
22 files changed, 491 insertions(+), 604 deletions(-)
create mode 100644 commands/uart/bridge.c
create mode 100644 commands/uart/bridge.h
create mode 100644 commands/uart/nmea.c
create mode 100644 commands/uart/nmea.h
create mode 100644 mode/hwuart.c
create mode 100644 mode/hwuart.h
delete mode 100644 mode/usart.c
delete mode 100644 mode/usart.h
Here’s a fresh compile: “Moved freq and PWM, did not update. Scared.”
ci-buspirate5-main-6794721.zip
Build time: 46.64 seconds
Git pull log @6794721 :
Updating 17a9f95…6794721
Fast-forward
CMakeLists.txt | 12 ±
apa102.c | 69 -----------
commands.c | 4 ±
freq.c => commands/global/freq.c | 2 ±
freq.h => commands/global/freq.h | 0
commands/global/i_info.c | 2 ±
pwm.c => commands/global/pwm.c | 2 ±
pwm.h => commands/global/pwm.h | 0
commands/global/v_adc.c | 2 ±
mode/sump_old.c | 251 ---------------------------------------
mode/sump_old.h | 5 -
pirate.c | 2 ±
apa102.pio => pirate/apa102.pio | 0
ws2812.pio => pirate/ws2812.pio | 0
ui/ui_info.c | 2 ±
ui/ui_statusbar.c | 2 ±
16 files changed, 14 insertions(+), 341 deletions(-)
delete mode 100644 apa102.c
rename freq.c => commands/global/freq.c (96%)
rename freq.h => commands/global/freq.h (100%)
rename pwm.c => commands/global/pwm.c (97%)
rename pwm.h => commands/global/pwm.h (100%)
delete mode 100644 mode/sump_old.c
delete mode 100644 mode/sump_old.h
rename apa102.pio => pirate/apa102.pio (100%)
rename ws2812.pio => pirate/ws2812.pio (100%)
Here’s a fresh compile: “help-help updates”
ci-buspirate5-main-9ab5f5a.zip
Build time: 42.23 seconds
Git pull log @9ab5f5a :
Updating 6794721…9ab5f5a
Fast-forward
translation/bs-ba.h | 4 +±-
translation/en-us.h | 2 ±
translation/en-us.json | 4 +±-
translation/pl-pl.h | 4 +±-
translation/zh-cn.h | 4 +±-
5 files changed, 9 insertions(+), 9 deletions(-)
Here’s a fresh compile: "Move mode hardware configs to pirate.h for less intense header includes
(cherry picked from commit b6ca7cc2abac3910eb14f1c6cbfbec7c80249ac9)"
ci-buspirate5-main-8ae327e.zip
Build time: 43.63 seconds
Git pull log @8ae327e :
Updating 9ab5f5a…8ae327e
Fast-forward
commands/spi/spiflash.c | 9 ---------
mode/hw1wire.c | 4 ±–
mode/hw2wire.c | 2 ±
mode/hw2wire.h | 5 -----
mode/hwi2c.c | 2 ±
mode/hwled.c | 6 ±----
mode/hwuart.h | 6 ------
nand/spi.c | 38 +++++++++++++++++±-------------------
pirate.h | 41 +++++++++++++++++++++++++++++++++++++++++
9 files changed, 63 insertions(+), 50 deletions(-)
Here’s a fresh compile: “hwspi mode cleanup”
ci-buspirate5-main-c817c85.zip
Build time: 41.74 seconds
Git pull log @c817c85 :
Updating 8ae327e…c817c85
Fast-forward
CMakeLists.txt | 3 ±
commands/global/pwm.c | 6 ±
commands/spi/flash.c | 4 ±
commands/spi/spiflash.c | 178 +++++±--------------------
hacks/translate-parse-h.html | 4 ±
lib/sfud/inc/sfud.c | 1 +
lib/sfud/inc/sfud_flash_def.h | 5 ±
lib/sfud/inc/sfud_port.c | 81 +±---------
lib/sfud/inc/sfud_sfdp.c | 2 ±
mode/SWI2C.c | 2 ±
mode/SWI2C.h | 2 ±
mode/binspi.c | 2 ±
mode/hw2wire.c | 2 ±
mode/hwi2c.c | 4 ±
mode/hwspi.c | 279 ++++±------------------------------------
nand/spi_nand.c | 6 ±
pirate.h | 1 +
pirate/hwspi.c | 105 ++++++++++++++++
pirate/hwspi.h | 10 ++
pirate/psu.c | 2 ±
translation/bs-ba.h | 8 ±
translation/bs-ba.json | 8 ±
translation/en-us.h | 8 ±
translation/en-us.json | 8 ±
translation/pl-pl.h | 8 ±
translation/pl-pl.json | 8 ±
translation/zh-cn.h | 8 ±
translation/zh-cn.json | 4 ±
ui/ui_const.h | 2 ±
ui/ui_prompt.c | 2 ±
30 files changed, 252 insertions(+), 511 deletions(-)
create mode 100644 pirate/hwspi.c
create mode 100644 pirate/hwspi.h
Here’s a fresh compile: “self-test delay for low pass filter to settle”
ci-buspirate5-main-ac3f781.zip
Build time: 42.72 seconds
Git pull log @ac3f781 :
Updating c817c85…ac3f781
Fast-forward
commands/global/cmd_selftest.c | 1 +
pirate/psu.c | 2 ±
2 files changed, 2 insertions(+), 1 deletion(-)
Here’s a fresh compile: “fix SPI flash help. Change {} to <> in help.”
ci-buspirate5-main-bc49f69.zip
Build time: 41.69 seconds
Git pull log @bc49f69 :
Updating ac3f781…bc49f69
Fast-forward
mode/hwspi.c | 2 ±
translation/bs-ba.h | 22 +++++++++±---------
translation/en-us.h | 56 ++++++++++++++++++++++++±------------------------
translation/en-us.json | 56 ++++++++++++++++++++++++±------------------------
translation/pl-pl.h | 22 +++++++++±---------
translation/zh-cn.h | 56 ++++++++++++++++++++++++±------------------------
ui/ui_help.c | 2 ±
7 files changed, 108 insertions(+), 108 deletions(-)
Here’s a fresh compile: “half duplex UART mode”
ci-buspirate5-main-f0b33d2.zip
Build time: 44.29 seconds
Git pull log @f0b33d2 :
Updating bc49f69…f0b33d2
Fast-forward
CMakeLists.txt | 5 +
commands/uart/simcard.c | 40 ++++++++
commands/uart/simcard.h | 1 +
mode/hwhduart.c | 263 ++++++++++++++++++++++++++++++++++++++++++++++++
mode/hwhduart.h | 28 ++++++
mode/hwi2c.c | 4 -
mode/hwuart.c | 3 +
modes.c | 31 ++++++
modes.h | 3 +
pirate.h | 4 +
pirate/hwuart.pio | 122 ++++++++++++++++++++++
pirate/hwuart_pio.c | 41 ++++++++
pirate/hwuart_pio.h | 3 +
13 files changed, 544 insertions(+), 4 deletions(-)
create mode 100644 commands/uart/simcard.c
create mode 100644 commands/uart/simcard.h
create mode 100644 mode/hwhduart.c
create mode 100644 mode/hwhduart.h
create mode 100644 pirate/hwuart.pio
create mode 100644 pirate/hwuart_pio.c
create mode 100644 pirate/hwuart_pio.h
Here’s a fresh compile: “fix flash limitation”
ci-buspirate5-main-4679c6d.zip
Build time: 44.18 seconds
Git pull log @4679c6d :
Updating f0b33d2…4679c6d
Fast-forward
commands/spi/flash.c | 6 ------
1 file changed, 6 deletions(-)
Here’s a fresh compile: “psu fuse issue”
ci-buspirate5-main-adfe62e.zip
Build time: 41.78 seconds
Git pull log @adfe62e :
Updating 4679c6d…adfe62e
Fast-forward
pirate/psu.c | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)
I just installed the latest firmware. I typed “?”. For some reason, the help says “flash” and “scope” are commands, yet they are not recognized. And when I typed “logic” it went into a logic analyzer mode (which I haven’t yet used). The logic command didn’t tell me how to exit the mode. Some programs tell you how to exit before they take over the screen. I unplugged the BP to get my commands back.
Here’s a fresh compile: “half duplex uart transmit almost working”
ci-buspirate5-main-0a5dc67.zip
Build time: 44.68 seconds
Git pull log @0a5dc67 :
Updating adfe62e…0a5dc67
Fast-forward
commands/global/h_help.c | 10 ++±—
commands/uart/simcard.c | 2 ±
mode/hwhduart.c | 48 ++++++++++++++++±------------
mode/hwhduart.h | 4 +±
modes.c | 4 ±-
pirate/hwuart.pio | 36 +++++++++++++++±-----
pirate/hwuart_pio.c | 77 ++++++++++++++++++++++++++++++++++++++++++±----
pirate/hwuart_pio.h | 5 +±-
8 files changed, 139 insertions(+), 47 deletions(-)
ian
March 26, 2024, 2:27pm
167
Good catch. I pushed a fix:
Flash command moved to SPI mode. It is now listed in help mode in SPI mode. Removed from global command menu
logic needs some help, I removed the command from the list for now
scope is on a temporary branch while I fix some freezing issues. For now it can still be accessed the “normal” way: enter display mode scope (d command), use the ss/sr/x/y/t commands to configure and use the scope.
Here’s a minor bug. I have the toolbar configured as disabled. When I enter SPI mode and do not use previous values, it redraws the pin label line anyway:
Phase (1) >
Chip select
Active HIGH (CS)
Active LOW (/CS)*
x. Exit
Actual speed: 122kHz
OFF - - - - MISO CS CLK MOSI GND
SPI>
SPI>
ian
March 27, 2024, 1:21pm
169
Interesting, good find, thank you. I’ll push a fix.