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.
Post Reply
Michael
Site Admin
Posts: 227
Joined: Wed Apr 05, 2017 9:31 pm

SDKdemo

Post by Michael » Wed Jul 04, 2018 10:44 pm

SDK demo project - simple scientific RPN calculator
https://github.com/swissmicros/SDKdemo

rprosperi
Posts: 365
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: SDKdemo

Post by rprosperi » Thu Jul 05, 2018 12:31 am

Michael wrote:
Wed Jul 04, 2018 10:44 pm
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! :D

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

rprosperi
Posts: 365
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: SDKdemo

Post by rprosperi » Thu Jul 05, 2018 3:12 am

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

Michael
Site Admin
Posts: 227
Joined: Wed Apr 05, 2017 9:31 pm

Re: SDKdemo

Post by Michael » Thu Jul 05, 2018 5:23 am


rprosperi
Posts: 365
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: SDKdemo

Post by rprosperi » Thu Jul 05, 2018 4:06 pm

Michael wrote:
Thu Jul 05, 2018 5: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

User avatar
akaTB
Posts: 192
Joined: Tue May 02, 2017 11:56 am

Re: SDKdemo

Post by akaTB » Thu Jul 05, 2018 7:25 pm

rprosperi wrote:
Thu Jul 05, 2018 4: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

-+×÷ ↔ left is right and right is wrong

rprosperi
Posts: 365
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: SDKdemo

Post by rprosperi » Thu Jul 05, 2018 11:16 pm

akaTB wrote:
Thu Jul 05, 2018 7:25 pm
rprosperi wrote:
Thu Jul 05, 2018 4: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

User avatar
Vitasam
Posts: 200
Joined: Thu Jun 01, 2017 9:51 am
Location: Finland
Contact:

Re: SDKdemo

Post by Vitasam » Tue Sep 18, 2018 8:13 pm

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 )
bin/add_pgm_chsum build/SDKdemo_flash.bin build/SDKdemo.pgm
SHA1: d3407dcd0fd84821a6046d6eb16a5181b14ba695
arm-none-eabi-size build/SDKdemo.elf
   text	   data	    bss	    dec	    hex	filename
1753336	   1896	   2092	1757324	 1ad08c	build/SDKdemo.elf
Now I also do have two RPN calculators in my DM42 :)
SDKdemo_1.png
SDKdemo_1.png (967 Bytes) Viewed 68 times
SDKdemo_2.png
SDKdemo_2.png (1.2 KiB) Viewed 68 times
Elektronika MK-61, Elektronika MK-52, HP15c LE, DM42 SN#16 FW 3.9.1

Post Reply