## SDKdemo

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.
Michael
Posts: 246
Joined: Wed Apr 05, 2017 11:31 pm

### SDKdemo

SDK demo project - simple scientific RPN calculator
https://github.com/swissmicros/SDKdemo
rprosperi
Posts: 1135
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

### Re: SDKdemo

Michael wrote:
Thu Jul 05, 2018 12:44 am
SDK demo project - simple scientific RPN calculator
https://github.com/swissmicros/SDKdemo
Thanks for the new toys Michael and David. It's so rare (and appreciated) to receive a non-trivial demo program, and this one even includes built-in help!

And as for DMCP 3.8.... guess I need to look in the downloads area...

Edit: You don't disappoint...
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
rprosperi
Posts: 1135
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

### Re: SDKdemo

DMCP 3.8 installed and DM42 3.7.1 loads and runs just fine.

Once someone with the full dev. tools stack installed downloads and builds the demo app, could you please upload it here? It appears there is no demoapp.pgm file in the .zip. No doubt, building it was left as an exercise for the curious reader, but I don't have the 2 days it almost certainly would take to set up the tools on Windows.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Michael
Posts: 246
Joined: Wed Apr 05, 2017 11:31 pm

### Re: SDKdemo

rprosperi
Posts: 1135
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

### Re: SDKdemo

Michael wrote:
Thu Jul 05, 2018 7:23 am
Get a pre-built PGM binary:
https://github.com/swissmicros/SDKdemo/ ... DKdemo.pgm
Thanks Michael.

Installs and loads as expected, so now I have 2 calculators in my DM42 h/w and I can easily swap back and forth. For folks that are checking it out, remember to also copy the html help file (in the SDK .zip) to the HELP folder on the machine. F1 brings up the help content.

Very effective for demonstrating the impact of being able to run multiple calculators. It would be very interesting to be able to have both DM42 and WP43S programs installed at the same time, using an overlay when using the 'other' program, but that would require the WP43S key layout to retain the existing ON key location - food for thought Walter?
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
akaTB
Posts: 623
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

### Re: SDKdemo

rprosperi wrote:
Thu Jul 05, 2018 6:06 pm
but that would require the WP43S key layout to retain the existing ON key location - food for thought Walter?
Wasn't every key reassignable?
Greetings,
Massimo
ajcaton
-+×÷ left is right and right is wrong Casted in gold
rprosperi
Posts: 1135
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

### Re: SDKdemo

akaTB wrote:
Thu Jul 05, 2018 9:25 pm
rprosperi wrote:
Thu Jul 05, 2018 6:06 pm
but that would require the WP43S key layout to retain the existing ON key location - food for thought Walter?
Wasn't every key reassignable?
Yes, it's technically possible to, but I was referring to retaining the same physical keys currently in use on the DM42 h/w, but my comment was not correct anyhow, it's actually the SHIFT key (not the ON key) that would need to remain the same, since it's yellow. However thinking about it more, this likely cannot work at all since the WP43S design uses 2 different shift planes (yellow and blue IIRC). Yeah... bad suggestion all around, though it's good to know that it will be easily possible to do testing with current h/w, even if a new version of h/w is needed to deploy true WP43S units (which Michael will prefer anyhow )
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Vitasam
Posts: 242
Joined: Thu Jun 01, 2017 11:51 am
Location: Finland
Contact:

### Re: SDKdemo

Finally I was able to build SDKdemo in my linux laptop:

Code: Select all

...
bin/check_qspi_crc SDKdemo src/qspi_crc.h || ( make clean && false )
1753336	   1896	   2092	1757324	 1ad08c	build/SDKdemo.elf