G2 Updated files and simplified update procedure

G2 operating system and special app's (e.g. p2app) discussion only--post Thetis and piHPSDR questions in their own sub-forums
User avatar
n1gp
Posts: 203
Joined: Sun Apr 09, 2017 6:34 pm

Re: G2 Updated files and simplified update procedure

Post by n1gp »

@w-u-2-o
@KC2QMA

It was recently discovered that the Open Collector outputs were not as previously
documented. This only affects the G2.

Old pin assignment:
old_oc.png
old_oc.png (40.5 KiB) Viewed 14559 times
New pin assignment:
new_oc.png
new_oc.png (45.87 KiB) Viewed 14559 times
Updated G2 Manual:
[url]https://apache-labs.com/download_file.php?downloads_id=1023[/url]
KC2QMA
Posts: 137
Joined: Mon Jul 13, 2020 11:13 pm

Re: G2 Updated files and simplified update procedure

Post by KC2QMA »

So I need to figure out and re-map the pin assignments in Thetis Or make a new cable?
I see even the darn Ground pin is different!
Just want to make sure i understand.
User avatar
n1gp
Posts: 203
Joined: Sun Apr 09, 2017 6:34 pm

Re: G2 Updated files and simplified update procedure

Post by n1gp »

I would probably re-make my cable.

As for your pihpsdr issue, can you try typing in, and post back the output
of those commands?

cd ~/github/pihpsdr
make clean
git remote -v
git pull
make
ls -l
User avatar
w-u-2-o
Posts: 5941
Joined: Fri Mar 10, 2017 1:47 pm

Re: G2 Updated files and simplified update procedure

Post by w-u-2-o »

n1gp wrote:
It was recently discovered that the Open Collector outputs were not as previously
documented. This only affects the G2.
Wow :roll:

Rick--if you would please make a separate, dedicated post in the G2 forum that describes this then I will make sure it becomes a tacked/sticky post for everyone to easily reference.

Has this been reflected in the G2 documentation?
User avatar
w-u-2-o
Posts: 5941
Joined: Fri Mar 10, 2017 1:47 pm

Re: G2 Updated files and simplified update procedure

Post by w-u-2-o »

w-u-2-o wrote:
n1gp wrote:
It was recently discovered that the Open Collector outputs were not as previously
documented. This only affects the G2.
Wow. Can't believe Apache made that mistake :roll:

Rick--if you would please make a separate, dedicated post in the G2 forum that describes this then I will make sure it becomes a tacked/sticky post for everyone to easily reference.

Has this been reflected in the G2 documentation?
User avatar
n1gp
Posts: 203
Joined: Sun Apr 09, 2017 6:34 pm

Re: G2 Updated files and simplified update procedure

Post by n1gp »

@w-u-2-o

Scott, I posted an update in the G2 forum.
Has this been reflected in the G2 documentation?
Ya, there's also a link in it to the updated G2 manual.
KC2QMA
Posts: 137
Joined: Mon Jul 13, 2020 11:13 pm

Re: G2 Updated files and simplified update procedure

Post by KC2QMA »

Good thing I didn't blow up my amp! :oops:
KC2QMA
Posts: 137
Joined: Mon Jul 13, 2020 11:13 pm

Re: G2 Updated files and simplified update procedure

Post by KC2QMA »

New Title for Post:
"G2 Updated files and NOT simple update procedures"
:?
KC2QMA
Posts: 137
Joined: Mon Jul 13, 2020 11:13 pm

Re: G2 Updated files and simplified update procedure

Post by KC2QMA »

n1gp wrote:I would probably re-make my cable.

As for your pihpsdr issue, can you try typing in, and post back the output
of those commands?

cd ~/github/pihpsdr
make clean
git remote -v
git pull
make
ls -l
Sort of fixed it, I can run if open the app from the pihpsdr folder.
But No desktop icon and the icon in the start menu under other programs doesn't work.




pi@raspberrypi:~ $ cd ~/github/pihpsdr
pi@raspberrypi:~/github/pihpsdr $ make clean
rm -f *.o
rm -f pihpsdr hpsdrsim bootloader
rm -rf pihpsdr.app
pi@raspberrypi:~/github/pihpsdr $ git remote -v
origin https://github.com/dl1ycf/pihpsdr.git (fetch)
origin https://github.com/dl1ycf/pihpsdr.git (push)
pi@raspberrypi:~/github/pihpsdr $ git pull
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 61 (delta 28), reused 29 (delta 19), pack-reused 22 (from 1)
Unpacking objects: 100% (61/61), done.
From https://github.com/dl1ycf/pihpsdr
7c99502a..16c60f5c master -> origin/master
40ce9a9c..ece1a9d7 SERVER -> origin/SERVER
* [new tag] v2.5 -> v2.5

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'pi@raspberrypi.(none)')
pi@raspberrypi:~/github/pihpsdr $ make
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o MacOS.o MacOS.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o about_menu.o about_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o actions.o actions.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o action_dialog.o action_dialog.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o agc_menu.o agc_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o ant_menu.o ant_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o band.o band.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o band_menu.o band_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o bandstack_menu.o bandstack_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o button_text.o button_text.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o configure.o configure.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o css.o css.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o cw_menu.o cw_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o cwramp.o cwramp.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o discovered.o discovered.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o discovery.o discovery.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o display_menu.o display_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o diversity_menu.o diversity_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o encoder_menu.o encoder_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o equalizer_menu.o equalizer_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o exit_menu.o exit_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o ext.o ext.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o fft_menu.o fft_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o filter.o filter.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o filter_menu.o filter_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o gpio.o gpio.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o iambic.o iambic.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o i2c.o i2c.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o led.o led.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o main.o main.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o meter.o meter.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o meter_menu.o meter_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o mode.o mode.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o mode_menu.o mode_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o new_discovery.o new_discovery.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o new_menu.o new_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o new_protocol.o new_protocol.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o noise_menu.o noise_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o oc_menu.o oc_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o old_discovery.o old_discovery.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o old_protocol.o old_protocol.c
old_protocol.c: In function ‘process_control_bytes’:
old_protocol.c:930:44: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
average_current=(3*average_current +((control_in[3]&0xFF)<<8)|(control_in[4]&0xFF)) >> 2;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o pa_menu.o pa_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o property.o property.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o protocols.o protocols.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o ps_menu.o ps_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o radio.o radio.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o radio_menu.o radio_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o receiver.o receiver.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o rigctl.o rigctl.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o rigctl_menu.o rigctl_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o rx_menu.o rx_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o rx_panadapter.o rx_panadapter.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o sintab.o sintab.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o sliders.o sliders.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o store.o store.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o store_menu.o store_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o switch_menu.o switch_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o toolbar.o toolbar.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o toolbar_menu.o toolbar_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o transmitter.o transmitter.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o tx_menu.o tx_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o tx_panadapter.o tx_panadapter.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o version.o version.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o vfo.o vfo.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o vfo_menu.o vfo_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o vox.o vox.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o vox_menu.o vox_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o xvtr_menu.o xvtr_menu.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o waterfall.o waterfall.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o zoompan.o zoompan.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o pulseaudio.o pulseaudio.c
pulseaudio.c: In function ‘audio_open_output’:
pulseaudio.c:161:59: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘unsigned int’ [-Wformat=]
g_print("%s: allocated local_audio_buffer %p size %ld bytes\n",__FUNCTION__,rx->local_audio_buffer,2*out_buffer_size*sizeof(float));
~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%d
In function ‘sink_list_cb.part.0’,
inlined from ‘sink_list_cb’ at pulseaudio.c:65:13:
pulseaudio.c:73:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(output_devices[n_output_devices].name,s->name,strlen(s->name));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pulseaudio.c:75:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(output_devices[n_output_devices].description,s->description,strlen(s->description));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘source_list_cb.part.1’,
inlined from ‘source_list_cb’ at pulseaudio.c:49:13:
pulseaudio.c:57:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(input_devices[n_input_devices].name,s->name,strlen(s->name));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pulseaudio.c:59:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(input_devices[n_input_devices].description,s->description,strlen(s->description));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o alsa_midi.o alsa_midi.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o midi2.o midi2.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o midi3.o midi3.c
cc -O3 -Wno-deprecated-declarations -Wall -D MIDI -D GPIO -D OLD_GPIOD -DPULSEAUDIO -D GIT_DATE='"2023-07-05"' -D GIT_VERSION='"2.0-DL1YCF"' `pkg-config --cflags gtk+-3.0` -c -o midi_menu.o midi_menu.c
cc -o pihpsdr MacOS.o about_menu.o actions.o action_dialog.o agc_menu.o ant_menu.o band.o band_menu.o bandstack_menu.o button_text.o configure.o css.o cw_menu.o cwramp.o discovered.o discovery.o display_menu.o diversity_menu.o encoder_menu.o equalizer_menu.o exit_menu.o ext.o fft_menu.o filter.o filter_menu.o gpio.o iambic.o i2c.o led.o main.o meter.o meter_menu.o mode.o mode_menu.o new_discovery.o new_menu.o new_protocol.o noise_menu.o oc_menu.o old_discovery.o old_protocol.o pa_menu.o property.o protocols.o ps_menu.o radio.o radio_menu.o receiver.o rigctl.o rigctl_menu.o rx_menu.o rx_panadapter.o sintab.o sliders.o store.o store_menu.o switch_menu.o toolbar.o toolbar_menu.o transmitter.o tx_menu.o tx_panadapter.o version.o vfo.o vfo_menu.o vox.o vox_menu.o xvtr_menu.o waterfall.o zoompan.o pulseaudio.o \
alsa_midi.o midi2.o midi3.o midi_menu.o -lpulse-simple -lpulse -lpulse-mainloop-glib `pkg-config --libs gtk+-3.0` -lgpiod -li2c -lasound -lwdsp -lpthread -lm -lrt
pi@raspberrypi:~/github/pihpsdr $ ls -l
total 3956
-rw-r--r-- 1 pi pi 4518 Jul 5 2023 about_menu.c
-rw-r--r-- 1 pi pi 804 Jul 5 2023 about_menu.h
-rw-r--r-- 1 pi pi 5056 Feb 3 07:20 about_menu.o
-rw-r--r-- 1 pi pi 2926 Jul 5 2023 action_dialog.c
-rw-r--r-- 1 pi pi 61 Jul 5 2023 action_dialog.h
-rw-r--r-- 1 pi pi 3720 Feb 3 07:20 action_dialog.o
-rw-r--r-- 1 pi pi 47046 Dec 1 14:37 actions.c
-rw-r--r-- 1 pi pi 2997 Dec 1 14:37 actions.h
-rw-r--r-- 1 pi pi 28040 Feb 3 07:20 actions.o
-rw-r--r-- 1 pi pi 1393 Jul 5 2023 adc.h
-rw-r--r-- 1 pi pi 884 Jul 5 2023 agc.h
-rw-r--r-- 1 pi pi 4944 Dec 1 14:37 agc_menu.c
-rw-r--r-- 1 pi pi 802 Jul 5 2023 agc_menu.h
-rw-r--r-- 1 pi pi 5300 Feb 3 07:20 agc_menu.o
-rw-r--r-- 1 pi pi 5909 Jul 5 2023 alex.h
-rw-r--r-- 1 pi pi 13388 Jul 5 2023 alsa_midi.c
-rw-r--r-- 1 pi pi 219 Jul 5 2023 alsa_midi.h
-rw-r--r-- 1 pi pi 6768 Feb 3 07:21 alsa_midi.o
-rw-r--r-- 1 pi pi 13660 Dec 1 14:37 ant_menu.c
-rw-r--r-- 1 pi pi 795 Jul 5 2023 ant_menu.h
-rw-r--r-- 1 pi pi 9364 Feb 3 07:20 ant_menu.o
-rw-r--r-- 1 pi pi 5727 Dec 1 14:37 appearance.h
-rw-r--r-- 1 pi pi 26956 Jul 5 2023 audio.c
-rw-r--r-- 1 pi pi 1584 Jul 5 2023 audio.h
-rw-r--r-- 1 pi pi 25917 Dec 1 14:37 band.c
-rw-r--r-- 1 pi pi 2749 Jul 5 2023 band.h
-rw-r--r-- 1 pi pi 3945 Jul 5 2023 band_menu.c
-rw-r--r-- 1 pi pi 878 Jul 5 2023 band_menu.h
-rw-r--r-- 1 pi pi 4120 Feb 3 07:20 band_menu.o
-rw-r--r-- 1 pi pi 19416 Feb 3 07:20 band.o
-rw-r--r-- 1 pi pi 1423 Jul 5 2023 bandstack.h
-rw-r--r-- 1 pi pi 4246 Jul 5 2023 bandstack_menu.c
-rw-r--r-- 1 pi pi 808 Jul 5 2023 bandstack_menu.h
-rw-r--r-- 1 pi pi 4320 Feb 3 07:20 bandstack_menu.o
-rw-r--r-- 1 pi pi 10849 Jul 5 2023 bootldrsim.c
-rw-r--r-- 1 pi pi 16219 Jul 5 2023 bootloader.c
-rw-r--r-- 1 pi pi 2880 Jul 5 2023 button_text.c
-rw-r--r-- 1 pi pi 109 Jul 5 2023 button_text.h
-rw-r--r-- 1 pi pi 2396 Feb 3 07:20 button_text.o
-rw-r--r-- 1 pi pi 1107 Jul 5 2023 channel.h
-rw-r--r-- 1 pi pi 100577 Jul 5 2023 client_server.c
-rw-r--r-- 1 pi pi 12840 Jul 5 2023 client_server.h
-rw-r--r-- 1 pi pi 10132 Jul 5 2023 configure.c
-rw-r--r-- 1 pi pi 872 Jul 5 2023 configure.h
-rw-r--r-- 1 pi pi 9268 Feb 3 07:20 configure.o
drwxr-xr-x 2 pi pi 4096 Jul 5 2023 controller
-rw-r--r-- 1 pi pi 18093 Jul 5 2023 COPYING
-rw-r--r-- 1 pi pi 1442 Dec 1 14:37 css.c
-rw-r--r-- 1 pi pi 47 Jul 5 2023 css.h
-rw-r--r-- 1 pi pi 2240 Feb 3 07:20 css.o
-rw-r--r-- 1 pi pi 10082 Jul 5 2023 cw_menu.c
-rw-r--r-- 1 pi pi 801 Jul 5 2023 cw_menu.h
-rw-r--r-- 1 pi pi 9592 Feb 3 07:20 cw_menu.o
-rw-r--r-- 1 pi pi 72342 Jul 5 2023 cwramp.c
-rw-r--r-- 1 pi pi 10876 Feb 3 07:20 cwramp.o
-rw-r--r-- 1 pi pi 859 Jul 5 2023 dac.h
-rw-r--r-- 1 pi pi 882 Jul 5 2023 discovered.c
-rw-r--r-- 1 pi pi 4844 Dec 1 14:37 discovered.h
-rw-r--r-- 1 pi pi 868 Feb 3 07:20 discovered.o
-rw-r--r-- 1 pi pi 19854 Dec 1 14:37 discovery.c
-rw-r--r-- 1 pi pi 853 Jul 5 2023 discovery.h
-rw-r--r-- 1 pi pi 10804 Feb 3 07:20 discovery.o
-rw-r--r-- 1 pi pi 17643 Jul 5 2023 display_menu.c
-rw-r--r-- 1 pi pi 806 Jul 5 2023 display_menu.h
-rw-r--r-- 1 pi pi 12996 Feb 3 07:20 display_menu.o
-rw-r--r-- 1 pi pi 8961 Jul 5 2023 diversity_menu.c
-rw-r--r-- 1 pi pi 915 Jul 5 2023 diversity_menu.h
-rw-r--r-- 1 pi pi 9320 Feb 3 07:20 diversity_menu.o
-rw-r--r-- 1 pi pi 32136 Jul 6 2023 E4-5F-01-87-FA-C1.props
-rw-r--r-- 1 pi pi 17772 Jul 5 2023 encoder_menu.c
-rw-r--r-- 1 pi pi 900 Jul 5 2023 encoder_menu.h
-rw-r--r-- 1 pi pi 11520 Feb 3 07:20 encoder_menu.o
-rw-r--r-- 1 pi pi 11457 Jul 5 2023 equalizer_menu.c
-rw-r--r-- 1 pi pi 824 Jul 5 2023 equalizer_menu.h
-rw-r--r-- 1 pi pi 11316 Feb 3 07:20 equalizer_menu.o
-rw-r--r-- 1 pi pi 4209 Jul 5 2023 exit_menu.c
-rw-r--r-- 1 pi pi 70 Jul 5 2023 exit_menu.h
-rw-r--r-- 1 pi pi 3944 Feb 3 07:20 exit_menu.o
-rw-r--r-- 1 pi pi 2928 Dec 1 14:37 ext.c
-rw-r--r-- 1 pi pi 2021 Jul 5 2023 ext.h
-rw-r--r-- 1 pi pi 1964 Feb 3 07:20 ext.o
-rw-r--r-- 1 pi pi 5304 Jul 5 2023 fft_menu.c
-rw-r--r-- 1 pi pi 795 Jul 5 2023 fft_menu.h
-rw-r--r-- 1 pi pi 3776 Feb 3 07:20 fft_menu.o
-rw-r--r-- 1 pi pi 21403 Jul 5 2023 filter.c
-rw-r--r-- 1 pi pi 1586 Jul 5 2023 filter.h
-rw-r--r-- 1 pi pi 10706 Jul 5 2023 filter_menu.c
-rw-r--r-- 1 pi pi 843 Jul 5 2023 filter_menu.h
-rw-r--r-- 1 pi pi 8552 Feb 3 07:20 filter_menu.o
-rw-r--r-- 1 pi pi 13336 Feb 3 07:20 filter.o
-rw-r--r-- 1 pi pi 37011 Dec 1 14:37 gpio.c
-rw-r--r-- 1 pi pi 2320 Dec 1 14:37 gpio.h
-rw-r--r-- 1 pi pi 21664 Feb 3 07:20 gpio.o
-rw-r--r-- 1 pi pi 10891 Jul 6 2023 gpio.props
-rw-r--r-- 1 pi pi 780 Jul 5 2023 hercules.midi.inp
-rw-r--r-- 1 pi pi 71500 Jul 5 2023 hpsdrsim.c
-rw-r--r-- 1 pi pi 3189 Jul 5 2023 hpsdrsim.h
-rw-r--r-- 1 pi pi 4967 Jul 5 2023 i2c.c
-rw-r--r-- 1 pi pi 189 Jul 5 2023 i2c.h
-rw-r--r-- 1 pi pi 3596 Feb 3 07:20 i2c.o
-rw-r--r-- 1 pi pi 23969 Jul 5 2023 iambic.c
-rw-r--r-- 1 pi pi 307 Jul 5 2023 iambic.h
-rw-r--r-- 1 pi pi 5520 Feb 3 07:20 iambic.o
-rw-r--r-- 1 pi pi 1525 Jul 5 2023 led.c
-rw-r--r-- 1 pi pi 873 Jul 5 2023 led.h
-rw-r--r-- 1 pi pi 1668 Feb 3 07:20 led.o
-rw-r--r-- 1 pi pi 11982 Dec 1 14:37 mac_midi.c
drwxr-xr-x 2 pi pi 4096 Jul 5 2023 MacOS
-rw-r--r-- 1 pi pi 4095 Jul 5 2023 MacOS.c
-rw-r--r-- 1 pi pi 2476 Jul 5 2023 MacOS.h
-rw-r--r-- 1 pi pi 760 Feb 3 07:20 MacOS.o
-rw-r--r-- 1 pi pi 9546 Jul 5 2023 main.c
-rw-r--r-- 1 pi pi 1246 Jul 5 2023 main.h
-rw-r--r-- 1 pi pi 9072 Feb 3 07:20 main.o
-rw-r--r-- 1 pi pi 15566 Dec 1 14:37 Makefile
-rw-r--r-- 1 pi pi 19281 Jul 5 2023 meter.c
-rw-r--r-- 1 pi pi 1032 Jul 5 2023 meter.h
-rw-r--r-- 1 pi pi 4859 Jul 5 2023 meter_menu.c
-rw-r--r-- 1 pi pi 798 Jul 5 2023 meter_menu.h
-rw-r--r-- 1 pi pi 4832 Feb 3 07:20 meter_menu.o
-rw-r--r-- 1 pi pi 13040 Feb 3 07:20 meter.o
-rw-r--r-- 1 pi pi 16985 Jul 5 2023 midi2.c
-rw-r--r-- 1 pi pi 8084 Feb 3 07:21 midi2.o
-rw-r--r-- 1 pi pi 928 Dec 1 14:37 midi3.c
-rw-r--r-- 1 pi pi 968 Feb 3 07:21 midi3.o
-rw-r--r-- 1 pi pi 5046 Dec 1 14:37 midi.h
-rw-r--r-- 1 pi pi 54233 Jul 5 2023 midi_menu.c
-rw-r--r-- 1 pi pi 966 Jul 5 2023 midi_menu.h
-rw-r--r-- 1 pi pi 36720 Feb 3 07:21 midi_menu.o
-rw-r--r-- 1 pi pi 896 Jul 5 2023 mode.c
-rw-r--r-- 1 pi pi 990 Jul 5 2023 mode.h
-rw-r--r-- 1 pi pi 3213 Jul 5 2023 mode_menu.c
-rw-r--r-- 1 pi pi 803 Jul 5 2023 mode_menu.h
-rw-r--r-- 1 pi pi 3944 Feb 3 07:20 mode_menu.o
-rw-r--r-- 1 pi pi 1140 Feb 3 07:20 mode.o
-rw-r--r-- 1 pi pi 15335 Dec 1 14:37 new_discovery.c
-rw-r--r-- 1 pi pi 846 Jul 5 2023 new_discovery.h
-rw-r--r-- 1 pi pi 6744 Feb 3 07:20 new_discovery.o
-rw-r--r-- 1 pi pi 36076 Jul 5 2023 newhpsdrsim.c
-rw-r--r-- 1 pi pi 15668 Dec 1 14:37 new_menu.c
-rw-r--r-- 1 pi pi 920 Jul 5 2023 new_menu.h
-rw-r--r-- 1 pi pi 15804 Feb 3 07:20 new_menu.o
-rw-r--r-- 1 pi pi 69875 Dec 1 14:37 new_protocol.c
-rw-r--r-- 1 pi pi 3190 Dec 1 14:37 new_protocol.h
-rw-r--r-- 1 pi pi 27376 Feb 3 07:20 new_protocol.o
-rw-r--r-- 1 pi pi 23221 Jul 5 2023 noise_menu.c
-rw-r--r-- 1 pi pi 866 Jul 5 2023 noise_menu.h
-rw-r--r-- 1 pi pi 15076 Feb 3 07:20 noise_menu.o
-rw-r--r-- 1 pi pi 8692 Jul 5 2023 oc_menu.c
-rw-r--r-- 1 pi pi 801 Jul 5 2023 oc_menu.h
-rw-r--r-- 1 pi pi 7776 Feb 3 07:20 oc_menu.o
-rw-r--r-- 1 pi pi 20657 Jul 5 2023 old_discovery.c
-rw-r--r-- 1 pi pi 909 Jul 5 2023 old_discovery.h
-rw-r--r-- 1 pi pi 8224 Feb 3 07:20 old_discovery.o
-rw-r--r-- 1 pi pi 69298 Jul 5 2023 old_protocol.c
-rw-r--r-- 1 pi pi 1181 Jul 5 2023 old_protocol.h
-rw-r--r-- 1 pi pi 23452 Feb 3 07:20 old_protocol.o
-rw-r--r-- 1 pi pi 18878 Jul 5 2023 ozyio.c
-rw-r--r-- 1 pi pi 3145 Dec 1 14:37 ozyio.h
-rw-r--r-- 1 pi pi 9840 Jul 5 2023 pa_menu.c
-rw-r--r-- 1 pi pi 862 Jul 5 2023 pa_menu.h
-rw-r--r-- 1 pi pi 12280 Feb 3 07:20 pa_menu.o
-rwxr-xr-x 1 pi pi 558476 Feb 3 07:21 pihpsdr
-rw-r--r-- 1 pi pi 21663 Jul 5 2023 portaudio.c
-rw-r--r-- 1 pi pi 4516 Jul 5 2023 property.c
-rw-r--r-- 1 pi pi 1286 Jul 5 2023 property.h
-rw-r--r-- 1 pi pi 3252 Feb 3 07:20 property.o
-rw-r--r-- 1 pi pi 5789 Jul 5 2023 protocols.c
-rw-r--r-- 1 pi pi 1120 Jul 5 2023 protocols.h
-rw-r--r-- 1 pi pi 4988 Feb 3 07:20 protocols.o
-rw-r--r-- 1 pi pi 115 Jul 5 2023 protocols.props
-rw-r--r-- 1 pi pi 19045 Jul 5 2023 ps_menu.c
-rw-r--r-- 1 pi pi 751 Jul 5 2023 ps_menu.h
-rw-r--r-- 1 pi pi 14224 Feb 3 07:20 ps_menu.o
-rw-r--r-- 1 pi pi 12641 Jul 5 2023 pulseaudio.c
-rw-r--r-- 1 pi pi 8072 Feb 3 07:21 pulseaudio.o
-rw-r--r-- 1 pi pi 86962 Dec 1 14:37 radio.c
-rw-r--r-- 1 pi pi 8170 Dec 1 14:37 radio.h
-rw-r--r-- 1 pi pi 31019 Dec 1 14:37 radio_menu.c
-rw-r--r-- 1 pi pi 902 Jul 5 2023 radio_menu.h
-rw-r--r-- 1 pi pi 19872 Feb 3 07:20 radio_menu.o
-rw-r--r-- 1 pi pi 51416 Feb 3 07:20 radio.o
-rw-r--r-- 1 pi pi 1141 Jul 5 2023 README.MacApp
-rw-r--r-- 1 pi pi 2100 Jul 5 2023 README.MacOS
-rw-r--r-- 1 pi pi 812 Jul 5 2023 README.md
-rw-r--r-- 1 pi pi 405 Jul 5 2023 README_STYLE.md
-rw-r--r-- 1 pi pi 54447 Dec 1 14:37 receiver.c
-rw-r--r-- 1 pi pi 7762 Jul 5 2023 receiver.h
-rw-r--r-- 1 pi pi 30844 Feb 3 07:20 receiver.o
drwxr-xr-x 4 pi pi 4096 Jul 5 2023 release
-rw-r--r-- 1 pi pi 136688 Dec 1 14:37 rigctl.c
-rw-r--r-- 1 pi pi 920 Jul 5 2023 rigctl.h
-rw-r--r-- 1 pi pi 8515 Jul 5 2023 rigctl_menu.c
-rw-r--r-- 1 pi pi 866 Jul 5 2023 rigctl_menu.h
-rw-r--r-- 1 pi pi 8068 Feb 3 07:20 rigctl_menu.o
-rw-r--r-- 1 pi pi 59552 Feb 3 07:20 rigctl.o
-rw-r--r-- 1 pi pi 14738 Dec 1 14:37 rx_menu.c
-rw-r--r-- 1 pi pi 801 Jul 5 2023 rx_menu.h
-rw-r--r-- 1 pi pi 11448 Feb 3 07:20 rx_menu.o
-rw-r--r-- 1 pi pi 19713 Jul 5 2023 rx_panadapter.c
-rw-r--r-- 1 pi pi 917 Jul 5 2023 rx_panadapter.h
-rw-r--r-- 1 pi pi 11772 Feb 3 07:21 rx_panadapter.o
-rw-r--r-- 1 pi pi 3444 Jul 5 2023 server_menu.c
-rw-r--r-- 1 pi pi 805 Jul 5 2023 server_menu.h
-rw-r--r-- 1 pi pi 7871 Jul 5 2023 sintab.c
-rw-r--r-- 1 pi pi 78 Jul 5 2023 sintab.h
-rw-r--r-- 1 pi pi 1832 Feb 3 07:21 sintab.o
-rw-r--r-- 1 pi pi 40040 Jul 5 2023 sliders.c
-rw-r--r-- 1 pi pi 1983 Jul 5 2023 sliders.h
-rw-r--r-- 1 pi pi 28900 Feb 3 07:21 sliders.o
-rw-r--r-- 1 pi pi 11569 Jul 5 2023 soapy_discovery.c
-rw-r--r-- 1 pi pi 852 Jul 5 2023 soapy_discovery.h
-rw-r--r-- 1 pi pi 18555 Jul 5 2023 soapy_protocol.c
-rw-r--r-- 1 pi pi 2242 Jul 5 2023 soapy_protocol.h
-rw-r--r-- 1 pi pi 13277 Jul 5 2023 stemlab_discovery.c
-rw-r--r-- 1 pi pi 945 Jul 5 2023 stemlab_discovery.h
-rw-r--r-- 1 pi pi 4197 Jul 5 2023 store.c
-rw-r--r-- 1 pi pi 1243 Jul 5 2023 store.h
-rw-r--r-- 1 pi pi 3431 Jul 5 2023 store_menu.c
-rw-r--r-- 1 pi pi 822 Jul 5 2023 store_menu.h
-rw-r--r-- 1 pi pi 3968 Feb 3 07:21 store_menu.o
-rw-r--r-- 1 pi pi 3412 Feb 3 07:21 store.o
drwxr-xr-x 2 pi pi 4096 Jul 5 2023 STUFF
-rw-r--r-- 1 pi pi 11716 Jul 5 2023 switch_menu.c
-rw-r--r-- 1 pi pi 896 Jul 5 2023 switch_menu.h
-rw-r--r-- 1 pi pi 7788 Feb 3 07:21 switch_menu.o
-rw-r--r-- 1 pi pi 7351 Jul 5 2023 toolbar.c
-rw-r--r-- 1 pi pi 1938 Jul 5 2023 toolbar.h
-rw-r--r-- 1 pi pi 3736 Jul 5 2023 toolbar_menu.c
-rw-r--r-- 1 pi pi 38 Jul 5 2023 toolbar_menu.h
-rw-r--r-- 1 pi pi 3808 Feb 3 07:21 toolbar_menu.o
-rw-r--r-- 1 pi pi 5772 Feb 3 07:21 toolbar.o
-rw-r--r-- 1 pi pi 56775 Dec 1 14:37 transmitter.c
-rw-r--r-- 1 pi pi 3769 Jul 5 2023 transmitter.h
-rw-r--r-- 1 pi pi 28444 Feb 3 07:21 transmitter.o
-rw-r--r-- 1 pi pi 19237 Dec 1 14:37 tx_menu.c
-rw-r--r-- 1 pi pi 787 Jul 5 2023 tx_menu.h
-rw-r--r-- 1 pi pi 15996 Feb 3 07:21 tx_menu.o
-rw-r--r-- 1 pi pi 15373 Dec 1 14:37 tx_panadapter.c
-rw-r--r-- 1 pi pi 923 Jul 5 2023 tx_panadapter.h
-rw-r--r-- 1 pi pi 10096 Feb 3 07:21 tx_panadapter.o
-rw-r--r-- 1 pi pi 974 Jul 5 2023 version.c
-rw-r--r-- 1 pi pi 886 Jul 5 2023 version.h
-rw-r--r-- 1 pi pi 928 Feb 3 07:21 version.o
-rw-r--r-- 1 pi pi 52343 Dec 1 14:37 vfo.c
-rw-r--r-- 1 pi pi 3297 Jul 5 2023 vfo.h
-rw-r--r-- 1 pi pi 10207 Dec 1 14:37 vfo_menu.c
-rw-r--r-- 1 pi pi 810 Jul 5 2023 vfo_menu.h
-rw-r--r-- 1 pi pi 10012 Feb 3 07:21 vfo_menu.o
-rw-r--r-- 1 pi pi 30416 Feb 3 07:21 vfo.o
-rw-r--r-- 1 pi pi 2591 Jul 5 2023 vox.c
-rw-r--r-- 1 pi pi 866 Jul 5 2023 vox.h
-rw-r--r-- 1 pi pi 6319 Jul 5 2023 vox_menu.c
-rw-r--r-- 1 pi pi 871 Jul 5 2023 vox_menu.h
-rw-r--r-- 1 pi pi 7428 Feb 3 07:21 vox_menu.o
-rw-r--r-- 1 pi pi 1864 Feb 3 07:21 vox.o
-rw-r--r-- 1 pi pi 12357 Jul 5 2023 waterfall.c
-rw-r--r-- 1 pi pi 919 Jul 5 2023 waterfall.h
-rw-r--r-- 1 pi pi 5328 Feb 3 07:21 waterfall.o
-rw-r--r-- 1 pi pi 29596 Jul 5 2023 wdspWisdom00
-rw-r--r-- 1 pi pi 7866 Jul 5 2023 xvtr_menu.c
-rw-r--r-- 1 pi pi 796 Jul 5 2023 xvtr_menu.h
-rw-r--r-- 1 pi pi 7212 Feb 3 07:21 xvtr_menu.o
-rw-r--r-- 1 pi pi 10346 Jul 5 2023 zoompan.c
-rw-r--r-- 1 pi pi 1079 Jul 5 2023 zoompan.h
-rw-r--r-- 1 pi pi 9480 Feb 3 07:21 zoompan.o
laurencebarker
Posts: 305
Joined: Mon Nov 11, 2019 7:39 pm

Re: G2 Updated files and simplified update procedure

Post by laurencebarker »

I have modified the G2 update script, incorporating KD4YAL's improvements - thank you. It also checks for libraries that need to be installed.


cd ~/github/Saturn/scripts
./update-G2.sh
Laurence Barker G8NJJ
kd4yal
Posts: 5
Joined: Tue Apr 09, 2024 11:17 am

Re: G2 Updated files and simplified update procedure

Post by kd4yal »

Here is a second revision of my G2 update script, The Bash script is designed to streamline the update and build processes for the "G2" project by providing a menu-driven interface. Key features include:

Menu-Driven Interface: Utilizes whiptail to present users with a text-based menu, allowing selection of various update and build tasks.

Modular Functions: Defines specific functions for tasks such as updating system libraries, pulling the latest code from the Git repository, building applications, installing device rules, copying desktop icons, verifying FPGA BIT files, and building the pihpsdr application.

Error Handling: Incorporates a check_status function to provide feedback on the success or failure of each operation, enhancing debugging and user awareness.

Git Integration: Includes functionality to update the Git repository and retrieve the current commit hash, ensuring the latest code is in use.

Build Automation: Automates the build processes for both p2app and desktop applications, reducing manual intervention.

System Configuration: Offers options to install udev rules and copy desktop icons, facilitating system setup and configuration.

Comprehensive Updates: Provides an option to perform all tasks sequentially, enabling a complete system update with minimal user input.

This script enhances efficiency by automating routine tasks and offering a user-friendly interface for managing the project's update and build processes. Could use a little more work but seems to be a good framework.



Enjoy 73 Jerry KD4YAL
Attachments
update-G2-menu.sh.txt
(6.97 KiB) Downloaded 346 times
KC2QMA
Posts: 137
Joined: Mon Jul 13, 2020 11:13 pm

Re: G2 Updated files and simplified update procedure

Post by KC2QMA »

Now were finally getting to a "Simplified Update Procedure"

Thank You Jerry KD4YAL for your work on the install script !

When you buy a new car at the dealer, they don't also expect the customer to also be a auto mechanic ;)
kd4yal
Posts: 5
Joined: Tue Apr 09, 2024 11:17 am

Re: G2 Updated files and simplified update procedure

Post by kd4yal »

Hi John (KC2QMA),
Keep in mind other manufacturers aren't opening their software to the world.
I don't mind putting in a little time to help improve the product. This is the
idea behind open-source software.

The end result, you will have a hot rod instead of a factory car like everyone else.


Jerry, KD4YAL
K0PJ/9
Posts: 15
Joined: Tue Jun 04, 2024 10:42 pm

Re: G2 P2APP Updated files and simplified update procedure

Post by K0PJ/9 »

Hello,

Has anyone successfully updated P2APP a G2 Ultra with an 8 inch display?

My terminal comes up: pi@raspberrypi:~ $

Attempting to change to the root directory as a YouTube video suggests, cd ~ prior to the github update script does not work.

Thanks,
Greg
Trucker
Posts: 444
Joined: Wed Nov 03, 2021 5:16 pm

Re: G2 Updated files and simplified update procedure

Post by Trucker »

That is the correct directory to run the update scripts from. If you are like me, you probably have a typing error causing your problems.
James
WD5GWY
Trucker
Posts: 444
Joined: Wed Nov 03, 2021 5:16 pm

Re: G2 Updated files and simplified update procedure

Post by Trucker »

kd4yal wrote:Here is a second revision of my G2 update script, The Bash script is designed to streamline the update and build processes for the "G2" project by providing a menu-driven interface. Key features include:

Menu-Driven Interface: Utilizes whiptail to present users with a text-based menu, allowing selection of various update and build tasks.

Modular Functions: Defines specific functions for tasks such as updating system libraries, pulling the latest code from the Git repository, building applications, installing device rules, copying desktop icons, verifying FPGA BIT files, and building the pihpsdr application.

Error Handling: Incorporates a check_status function to provide feedback on the success or failure of each operation, enhancing debugging and user awareness.

Git Integration: Includes functionality to update the Git repository and retrieve the current commit hash, ensuring the latest code is in use.

Build Automation: Automates the build processes for both p2app and desktop applications, reducing manual intervention.

System Configuration: Offers options to install udev rules and copy desktop icons, facilitating system setup and configuration.

Comprehensive Updates: Provides an option to perform all tasks sequentially, enabling a complete system update with minimal user input.

This script enhances efficiency by automating routine tasks and offering a user-friendly interface for managing the project's update and build processes. Could use a little more work but seems to be a good framework.



Enjoy 73 Jerry KD4YAL
Jerry,
Thank you for sharing this script. Being a Linux newbie I am not sure how to go about setting it up correctly. If you could offer a few hints on how to setup and use your Bash script I for one, would be grateful.
I am sure it isn't that difficult, but I hesitate trying just anything and messing up a working system. ( I have read some things on using a Bash script online, but I am not certain if the procedure is correct)
Any guidance you can offer would be appreciated.
James
WD5GWY
Jdsbose
Posts: 11
Joined: Sun Apr 09, 2017 5:11 pm

Re: G2 Updated files and simplified update procedure

Post by Jdsbose »

I received my G2 Ultra this week, it was working fine. The issue was it didn’t have the latest pihpsdr already loaded which I find ridiculous. Then if you download the so called manual from the manufacturer web site it isn’t the latest one. I have no experience with Linux whatsoever, but I begin the update process for pihpsdr. If you follow the directions in the so called manual you are screwed. Luckily doing some research i found the correct manual on the correct GitHub page for the latest version 2.5, which again should have already been installed. If you own a G2 ultra please read the latest manual before you start anything. You will find out that you have 2 pihpsdr folders in different places, one is a version from 2022 that as far as I can tell has no business being on there to begin with but that’s the one all the sources tells you to upgrade from,unless you have the latest manual and read to the end to find out that the version your using is under the GitHub folder. That makes the update process very different and in the latest manual it wasn’t that clear either. Anyway I start the update process and get a error message about having to merge files or stash files before i can proceed, i have to stop google what that means and how to do it. I find what I believe is the correct way to merge them but it just made things worse. Instead of dealing with trying to fix it, I thought my best option was to just download the latest version directly as a new install. I have to rename or move the current pihpsdr folder to be able to do this, which again took more time to google to find out how to do it. Finally was able to download the file, but halfway thru it locked up and i had to start over. This time it loaded, was able to open and run pihpsdr, oh by the way you do not want to select start automatically if you have the G2 ultra, there is no way be able to access that menu again to change it which I found out. I had to find the file command and go in and edit it to stop it which again took time. The reason for this as I found out later is to be able to access the drop down menus to select the correct settings to run the G2 ultra. Back to my adventure, of course when i did start pihpsdr none of the front buttons or knobs on the radio would work. At least i could use the mouse to change things, now comes the interesting stuff. I switch to the p2app to run thetis on my PC, and it says it can run because it needs an update. Wow, so I begin the process of figuring out how to update that which again took more time, I’m probably over 4 hours into this so far. By this time I’m getting a little more understanding on how to use the command prompts and to make a long story a tad shorter, I was finally able to get the p2app update done only then to find out I now have to upgrade the FPGA firmware. I finally got that done and by this point Ive noticed that even on the forums the instructions are not always very clear or precise and a lot of times not correct unless you know that some of the commands that are given are showing on different lines when it should all be on one. To my knowledge after all the things Ive read, no where does it tell you the need to update all those programs after you update pihpsdr. I started at 6pm and finally had it all running again a little after 1am. It’s my honest opinion that all that is complete BS.
Ive owned a 100, 200d, 8000, 7000 and now the G2. I’m probably a little more persistent than most people and wasn’t stopping until I got it figured out but there is no reason for it to be this convoluted. Good luck if you buy one, cause you’re on your own basically.
Trucker
Posts: 444
Joined: Wed Nov 03, 2021 5:16 pm

Re: G2 Updated files and simplified update procedure

Post by Trucker »

I understand your pain. The best thing I can suggest is to look carefully at what the latest version of PiHPSDR have to offer before deciding to do an update. The old saying " if it's not broke, don't fix it" applies with the G2 radios. The first thing I tell anyone with a new G2 is to get it working with what is already installed in the radio. There may be a good reason that the factory doesn't install the latest version of the software in the radio when they ship them.
James
WD5GWY
User avatar
w-u-2-o
Posts: 5941
Joined: Fri Mar 10, 2017 1:47 pm

Re: G2 Updated files and simplified update procedure

Post by w-u-2-o »

Jdsbose wrote: Sun Jun 29, 2025 7:03 pm I received my G2 Ultra this week, it was working fine.

{Long rant deleted ;) }

I’m probably a little more persistent than most people and wasn’t stopping until I got it figured out but there is no reason for it to be this convoluted. Good luck if you buy one, cause you’re on your own basically.
While I agree with you 1000% that there is no reason for it to be that convoluted, you are certainly not on your own. It's possible that, had you posted some questions and requested some help on the forum here a bit earlier in your journey, it might have gone a somewhat easier. Nevertheless, well done on getting it all sorted on your own, particularly as you wrote that you are not familiar with Linux.

At any rate, I have to agree that it would be a lot better if:

1. The products left the factory with the latest and greatest on them. If they don't, this is on Apache.

2. The documentation was better. Alas, all documentation is produced by volunteers in the open source community, not Apache, so they are what they are.

3. Update procedures were supported by scripts or, even better, by the software itself. Alas and again, all software, firmware and middleware is produced by volunteers in the open source community, not Apache.

4. There was an image file that could simply wipe the entire SD card and put anyone at the latest and greatest configuration.

I continue to be surprised that nobody in the community has produced a slick and easy set of scripts to update a G2. I don't have one, so it's not something I could do, but if I did have a G2 I would have developed such scripts on my own as a matter of convenience and then shared them here on the forum.

If you are looking to brush up on your Linux skills, there is a handy guide to what topics you might study here: viewtopic.php?t=4724

Bottom line: when you bought from Apache all you paid for was hardware. They do you a little favor by putting some software on there, but all the software, firmware, middleware and documentation comes from open source developers, not Apache.
Jdsbose
Posts: 11
Joined: Sun Apr 09, 2017 5:11 pm

Re: G2 Updated files and simplified update procedure

Post by Jdsbose »

The remark that your all alone could have been worded better. I really appreciate all the work done here on the forums to help guys like me. The reason I didn’t ask on the forums basically is I’m not that patient, that’s on me. Once I started the process I was bound and determined to get it done.
User avatar
w-u-2-o
Posts: 5941
Joined: Fri Mar 10, 2017 1:47 pm

Re: G2 Updated files and simplified update procedure

Post by w-u-2-o »

No worries! Just keep those cards and letters coming! :D
Jdsbose
Posts: 11
Joined: Sun Apr 09, 2017 5:11 pm

Re: G2 Updated files and simplified update procedure

Post by Jdsbose »

Now for a positive note, I really like pihpsdr, I think it works great. I was a tad skeptical until I started using it but so far it’s been fine, I actually like the receive audio out of it better than thetis in its standard settings.
laurencebarker
Posts: 305
Joined: Mon Nov 11, 2019 7:39 pm

Re: G2 Updated files and simplified update procedure

Post by laurencebarker »

There are some scripts that do some of this, and the next version of the manual will describe them. Unfortunately the newest "bookworm" release of the pi operating system distro has changed a lot of things, and for example the mechanism to autostart programs at power on is totally different. so the documentation and the scripts need to be updated; and now need to be version sensitive.

Jerry KD4YAL wrote a script that updates much of the necessary software (./home/pi/github/Saturn/scripts/update-G2.sh) and very recently published a new version. However it doesn't update piHPSDR. It does take a backup, so if the process fails you can revert.

Richie MW0LDE wrote a couple of python "helper" apps in his repository at https://github.com/ramdor/G2Tools. I know Abhi wants a clone of that in future factory images.

The install procedure for piHPSDR was totally changed a year or so ago, and no the manual hasn't caught up with that. Why the factory image has two copies of piHPSDR I have no idea.

And yes, a set of image files that can be copied to an SD card would make this all a lot easier. I have suggested it before, but I can try again.
Laurence Barker G8NJJ
Post Reply

Return to “G2 Operating System & Applications”