Page 1 of 1

SDKdemo

Posted: Thu Jul 05, 2018 12:44 am
by Michael
SDK demo project - simple scientific RPN calculator
https://github.com/swissmicros/SDKdemo

Re: SDKdemo

Posted: Thu Jul 05, 2018 2:31 am
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...

Re: SDKdemo

Posted: Thu Jul 05, 2018 5:12 am
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.

Re: SDKdemo

Posted: Thu Jul 05, 2018 7:23 am
by Michael

Re: SDKdemo

Posted: Thu Jul 05, 2018 6:06 pm
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?

Re: SDKdemo

Posted: Thu Jul 05, 2018 9:25 pm
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?

Re: SDKdemo

Posted: Fri Jul 06, 2018 1:16 am
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 ;) )

Re: SDKdemo

Posted: Tue Sep 18, 2018 10:13 pm
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 8384 times
SDKdemo_2.png
SDKdemo_2.png (1.2 KiB) Viewed 8384 times