Search found 61 matches

by Vitasam
Fri Jun 15, 2018 4:52 pm
Forum: Developer Forum
Topic: DMCP_SDK API
Replies: 0
Views: 118

DMCP_SDK API

Hello, is dmcp.h an official API of DMCP_SDK? If so it will be really good to have something more comprehensive (in formats of header file comments or Doxygen generated). Looking in to HelloWorld code: lcd_clear_buf(); lcd_writeClr(t24); lcd_putsR(t24, "TEST PROGRAM"); lcd_putsAt(t24, 4, "Hello Worl...
by Vitasam
Fri Jun 15, 2018 4:42 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

here it is (all TESTPGM.* files) .pgm files are different in size: $ diff -s build_linux/TESTPGM.pgm build_win/TESTPGM.pgm Binary files build_linux/TESTPGM.pgm and build_win/TESTPGM.pgm differ $ ls -l build_win/TESTPGM.pgm build_linux/TESTPGM.pgm -rw-rw-r-- 1 vitali vitali 1916 kesä 15 19:34 build_...
by Vitasam
Fri Jun 15, 2018 3:00 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

... Ok good! Did you try the .pgm file in real DM42? In my case the hash check was failed .. not yet (I'm too cautious). Did you compare the binaries from Linux vs. Windows? Nope. And I don't have windows binary anymore (they are on other Windows PC). If you drop it (e.g. as attached zip) I can com...
by Vitasam
Fri Jun 15, 2018 1:43 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

Thomas_ER wrote:
Fri Jun 15, 2018 1:19 pm
I got it
Ok good! Did you try the .pgm file in real DM42? In my case the hash check was failed
by Vitasam
Fri Jun 15, 2018 12:04 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

Hi Vitasam, ... Hi Thomas, in which Windows terminal you are running make? Cygwin or something similar? There is a shell message /usr/bin/sh: bin/check_qspi_crc: No such file or directory I did test it just in Windows terminal ( cmd ) I did it also in Windows terminal cmd, no Cygwin. Now i moved th...
by Vitasam
Fri Jun 15, 2018 11:12 am
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

Hi Vitasam, many thanks for your very helpful tipps! I've successful installed MinGW and GNU Arm Embedded Toolchain, copied the github (via ZIP file, don't have Git installed), in this try to C:\MinGW\, created the bat file. 'make -v' is also fine. Trying 'make' resulted in an error regarding bin/c...
by Vitasam
Fri Jun 15, 2018 6:59 am
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

Did someone build this "Hello World" (and/or the complete package) in an Windows (7) environment, and could give some advice? What would be a useful working environment? Many thanks in advance! Hi Thomas, frankly speaking, SW development for embedded systems with GNU tools is much easier under Linu...
by Vitasam
Thu Jun 14, 2018 8:56 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

What if you add -std=c99 or -std=c11 ? But what is a policy of DM42 SDK - are we C99 compliant? With following options: CFLAGS += -std=c99 CFLAGS += -pedantic-errors DMCP_SDK$ make arm-none-eabi-gcc -c -mthumb -march=armv7e-m -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__p...
by Vitasam
Thu Jun 14, 2018 7:43 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 20
Views: 748

Re: DMCP_SDK Hello World

Build with -pedantic-error compiler option: DMCP_SDK$ make arm-none-eabi-gcc -c -mthumb -march=armv7e-m -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -Idmcp -Isrc -Wall -fdata-sections -ffunction-sections -Wno-misleading-indentation -ped...
by Vitasam
Thu Jun 14, 2018 12:46 pm
Forum: DM42
Topic: DM42 License Statement
Replies: 85
Views: 8571

Re: DM42 License Statement

Michael wrote:
Thu Jun 14, 2018 12:28 pm
Here is a simple 'Hello World!' demo application
https://github.com/swissmicros/DMCP_SDK

A simple RPN demo calculator application will follow.
Great!!

Tested it in my DM42
P.S. Perhaps Makefile should be fixed in a same way as in DM42PGM project