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: 261
Joined: Wed Apr 05, 2017 11:31 pm

SDKdemo

Post by Michael »

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

Re: SDKdemo

Post by rprosperi »

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! :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, DM41X: β00071 & 00656, DM10L: 071/100
rprosperi
Posts: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: SDKdemo

Post by rprosperi »

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
Site Admin
Posts: 261
Joined: Wed Apr 05, 2017 11:31 pm

Re: SDKdemo

Post by Michael »

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

Re: SDKdemo

Post by rprosperi »

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
User avatar
akaTB
Posts: 794
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: SDKdemo

Post by akaTB »

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 :twisted: Casted in gold
rprosperi
Posts: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: SDKdemo

Post by rprosperi »

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

Re: SDKdemo

Post by Vitasam »

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 8332 times
SDKdemo_2.png
SDKdemo_2.png (1.2 KiB) Viewed 8332 times
Post Reply