-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME
58 lines (32 loc) · 1.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
== 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.pgm
Contents of QSPI
build/TESTPGM_qspi.bin
== DMCP_SDK repository
The latest version of DMCP_SDK is available at
https://github.com/swissmicros/DMCP_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".