c3d / DMCP5_SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

== WARNING

Work on DMCP5 is in progress. There is no separate distribution of DMCP5.
Use DM32 combo firmware and "Setup->System->Reset to DMCP menu".



== Prerequisites

GNU ARM toolchain can be downloaded from
  https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads.
We are currently using Version 7-2018-q2-update Linux 64-bit.

Make is usually available in some base development package, but you
can install it directly, e.g. for debian like systems
  sudo apt-get install make

Basic shell utilities (usually present in system):
  bash, dd, sed, tac, printf, find, etc.

Some usually available aux utilities (could require separate installation):
  crc32, sha1sum



== Build

Add ARM toolchain bin/ directory to PATH.
(e.g. ~/arm/gcc-arm-none-eabi-7-2018-q2-update/bin)

Run make to build the program.

Generated program 
  build/TESTPGM.pg5

Contents of QSPI
  build/TESTPGM_qspi.bin



== DMCP5_SDK repository

The latest version of DMCP5_SDK is available at
  https://github.com/swissmicros/DMCP5_SDK



== Customization

=== Program name

To change program name edit following two places:

----
Makefile:4:TARGET = TESTPGM
src/main.h:4:#define PROGRAM_NAME    "TESTPGM"
----

=== Makefile

It should generally enough to add your source files and libraries
to Makefile under "# Custom section".


About

License:Other


Languages

Language:C 88.7%Language:Makefile 6.8%Language:Shell 2.5%Language:Assembly 2.0%