Search found 94 matches

by Vitasam
Thu Jun 14, 2018 8:56 pm
Forum: Developer Forum
Topic: DMCP_SDK Hello World
Replies: 42
Views: 6358

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: 42
Views: 6358

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: 86
Views: 21744

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
by Vitasam
Wed Jun 13, 2018 5:13 pm
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

Thomas Okken wrote:
Wed Jun 13, 2018 11:57 am
It is possible for DM42 users to customize and build their own firmware now...
Is there any doc about OS/HAL API? (not to mention a simple reference "Hello World" application for building an own firmware)
by Vitasam
Wed Jun 06, 2018 1:16 pm
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

dlachieze wrote:
Wed Jun 06, 2018 12:41 pm
Good! Which ARM Toolchain have you used for your build?
Actually the same GCC ARM toolchain I'm using for my "slow-moving" Stm32Basic hobby project on STM32F103C8T6 "blue pill" board:

Code: Select all

sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi gdb-arm-none-eabi
by Vitasam
Wed Jun 06, 2018 1:13 pm
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

FireBird wrote:
Wed Jun 06, 2018 12:44 pm
Maybe we should create a separate HowTo thread?
+1 !
by Vitasam
Wed Jun 06, 2018 12:31 pm
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

Sorry, false alarm - soft menu works, I did not press SHIFT before.
by Vitasam
Wed Jun 06, 2018 11:13 am
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

Ok, I have managed to build and flash 3.7.1 by using DMCP_flash_3.7.bin and my own .pgm binary.
Few findings (if it not something with my build/flashing):
  • FonSz soft-menu does not have any effect
  • Volume soft-menu does not have any effect
by Vitasam
Wed Jun 06, 2018 4:56 am
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

Sorry, but just one more clarification: The /build folder contains only .pgm file: ../DM42PGM/build$ ls -l|grep DM42 ... 3641052 kesä 6 07:48 DM42PGM.elf ... 662048 kesä 6 07:48 DM42PGM_flash.bin ... 1862270 kesä 6 07:48 DM42PGM_flash.hex ... 893906 kesä 6 07:48 DM42PGM.map ... 662068 kesä 6 07:48 D...
by Vitasam
Tue Jun 05, 2018 6:16 am
Forum: DM42
Topic: DM42 License Statement
Replies: 86
Views: 21744

Re: DM42 License Statement

I have a question about flashing the firwmware: Update procedure 1. Active USB disk in the setup menu 2. Copy both DMCP_flash_X.Y.bin and the .pgm file from the PC/MAC to the FAT partition of the DM42 /build folder contains following files: 662048 Jun 5 05:55 DM42PGM_flash.bin 662068 Jun 5 05:55 DM4...