unable to complie RB2 Juice FW on Pi5

66 views
Skip to first unread message

VU2IIA Mahesh

unread,
Nov 19, 2025, 10:10:13 AM (5 days ago) Nov 19
to Radioberry
Hi All,
I am trying to use by RB2 + Juice board on Pi5. I am not able to compile FW.  Please refer to screen dump for more details.
If any one has detailed instructions on how to setup RB2+Juice board on Pi5, it will help me a lot.
Any help is very much appreciated.
Thanks in advance
mahesh-vu2iia
20251119_20h29m38s_grim.png

Samuel Lourenço

unread,
Nov 19, 2025, 11:59:31 AM (5 days ago) Nov 19
to VU2IIA Mahesh, Radioberry
Sometimes I wonder if someone really tests the code before deployment. I would say that the pointer to int is incorrectly declared as such.

Kind regards, Samuel Lourenço

--
You received this message because you are subscribed to the Google Groups "Radioberry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radioberry+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/radioberry/a67eea18-de56-494f-bf5c-2e0958192585n%40googlegroups.com.

Yado-san

unread,
Nov 20, 2025, 7:04:48 AM (4 days ago) Nov 20
to Radioberry
Hi Group,

As I'd never failed to compile Juice before.
But I wondered if it might be causing errors on the latest OS, Trixie? so upon recompiling, the same error appeared.

As I'm an amateur with software, I couldn't understand why. So I asked AI (Copilot/Microsoft Edge), attaching the log.

- The reason it gives a warning on Bookworm (Debian 12) but an error on Trixie (Debian 13)
  is apparently mainly due to the GCC version upgrade and changes to the build flags.

- The suggested improvements are:
 Use `DWORD` or perform an explicit cast.

So, I attached the C file and requested a fix.
In no time at all, AI generated the improvement code, and both compilation and execution were successful. :)
Amazing, it acts as a programming teacher!

< Radioberry2-juice / pihpsdr_2RX(192k) >
RPi5_RB2_juice_251120.png
Yado-san, jg1twp

Negativ Zero

unread,
Nov 20, 2025, 7:14:17 AM (4 days ago) Nov 20
to Yado-san, Radioberry
Sorry,i am relativ new,but can you explain to me how connect cw taster,after 56 years as licence hamradio operator,cant imagine to have radio without cw.This is my big issue.Yes,yesterday i replace FPGA with brand new,and without AI..impossible task.
Best regards!
Željko-9A3RU





--
You received this message because you are subscribed to the Google Groups "Radioberry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radioberry+...@googlegroups.com.

Paulh002

unread,
Nov 20, 2025, 7:15:27 AM (4 days ago) Nov 20
to Yado-san, Radioberry
The issue is caused by the new GCC becoming more strict with casting pointers.
I had the same issue with the pi5 driver. It is easy to fix.
If you fix it request a pull request so everybody can enjoy it.

73,
Paul

--
You received this message because you are subscribed to the Google Groups "Radioberry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radioberry+...@googlegroups.com.

pa3gsb

unread,
Nov 20, 2025, 8:35:03 AM (4 days ago) Nov 20
to Radioberry
I updated the repo.

Hope it is now working for you; i am using DWORD now so the platform decides if it is a unsigned long or unsigned int ... 

Tnx for reporting.

Enjoy
PA3GSB
Op donderdag 20 november 2025 om 13:15:27 UTC+1 schreef paul.hol...@gmail.com:

Samuel Lourenço

unread,
Nov 20, 2025, 9:06:25 AM (4 days ago) Nov 20
to pa3gsb, Radioberry
Suggestion: you can use an #if directive to check which version of gcc is being used on compile time and declare accordingly. Therefore you can maintain compatibility across different versions.

Eg.:
#if GCC_VERSION >= 4.2
    // declare as A
#else
    // declare as B

Kind regards, Samuel Lourenço

Yado-san

unread,
Nov 21, 2025, 7:17:55 AM (3 days ago) Nov 21
to Radioberry
Hi Željko,
>> how connect cw taster ?

As considering how to connect a Morse key to  the RB2 as a standalone radio, I think there are three ways below.

1) Connect a straight key or external keyer (open collector) to the KEY terminal.
2) Use the pihpsdr-builtin keyer, connecting a paddle to DOT/DASH or a straight key to DASH.
3) Connect a MIDI keyer or CAT keyer to the Raspberry Pi's USB connector.

< Connection >
RB2_Key.png

I am using the paddle connection described in 2) for CW with the pihpsdr.
-> The pihpsdr(DL1YCF) was compiled with GPIO=ON, AUDIO=ALSA.

RB2_pihpsdr_Key1.png

These are the results from testing in my environment.( pihpsdr)

Keyer 1)KEY 2)DOT/DASH 3)MIDI-key
CW Setting Good Good Good
SideTone NG(delay) Good Good

- When using the KEY terminal, an external keyer with sidetone seems to be required.
- When using DASH as a straight key, the sidetone also works well with no large delay.

< CW Setting, pihpsdr >
RB2_pihpsdr_cwSetting.png

hope help,
Yado-san, jg1twp
2025年11月20日木曜日 23:06:25 UTC+9 Samuel Lourenço:
Reply all
Reply to author
Forward
0 new messages