Building a .pgm on Windows

This is where developers can exchange ideas and ask questions relevant to the DM42 firmware.

Please note that Swiss Micros staff are unable to provide answers here as a general rule. This is intended as a community-driven forum.
Post Reply
User avatar
Over_score
Posts: 160
Joined: Fri May 05, 2017 9:37 pm
Location: France

Building a .pgm on Windows

Post by Over_score »

To Michael & David

I am able to compile on Linux a .pgm for the DM42.
Now, I'm trying to build a .pgm file on Windows. I'm almost there. I'm missing two programs: add_pgm_chsum and check_qspi_crc.
So here's my request.
Would it be possible for you to provide us with a Windows version of the add_pgm_chsum and check_qspi_crc programs? Or may be the sources, I'm able to compile and may be adapt them.

Thanks
Martin
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: Building a .pgm on Windows

Post by Walter »

I'd recommend to send them an email. In my experience so far they are reacting pretty fast on emails but don't "constantly monitor this forum" (as David wrote once).
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
User avatar
ijabbott
Posts: 253
Joined: Fri Dec 15, 2017 2:34 pm
Location: GB-MAN

Re: Building a .pgm on Windows

Post by ijabbott »

It would require reimplementing the functionality of the shell scripts in C or something. An alternative may to build in an MSYS2 or Cygwin Bash shell environment.
User avatar
Over_score
Posts: 160
Joined: Fri May 05, 2017 9:37 pm
Location: France

Re: Building a .pgm on Windows

Post by Over_score »

We have a MSYS2 environment for the Windows development. But these 2 programs don't want to work or may be I' m doing something wrong. Re-implementing the functionality is an idea I had but I need to know very precisely what they are doing.
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
User avatar
Over_score
Posts: 160
Joined: Fri May 05, 2017 9:37 pm
Location: France

Re: Building a .pgm on Windows

Post by Over_score »

Oh shit! I didn't see that these programs were bash scripts! :shock:
So may be I can do something.
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
Dani R.
Posts: 349
Joined: Fri May 05, 2017 10:23 pm

Re: Building a .pgm on Windows

Post by Dani R. »

You're in a mingw64 shell? I had other problems until I could create a PGM, but checksum gives me no problem.
C47(DM42) SN:00032 WP43 SN:00016
https://47calc.com
User avatar
Over_score
Posts: 160
Joined: Fri May 05, 2017 9:37 pm
Location: France

Re: Building a .pgm on Windows

Post by Over_score »

I finally got it to work :D
I had a strange problem with the file qspi_crc.h combined with a %PATH% problem on my virtualbox Windows virtual machine!

A special thank you to ijabbott for giving me the clue I was missing.
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
Post Reply