2
2
# DISCLAIMER
3
3
4
4
This work is absolutely ** not related** to cypress in any way.
5
+ I am not to be liable for direct, indirect or consequential damages of your devices.
5
6
6
7
## Introduction
7
8
@@ -13,7 +14,7 @@ It has only been successfully tested with a CY8CKIT-049 42xx kit.
13
14
The prerequisites are the following:
14
15
- ` gengetopt `
15
16
- ` make `
16
- - ` wine ` (to run cyelftool when using makefile)
17
+ - ` wine ` (to run ` cyelftool ` when using makefile)
17
18
- An arm toolchain (arm-none-eabi-)
18
19
19
20
In order to build and install these utilities:
@@ -51,7 +52,7 @@ To build it, the `make` command should be sufficient.
51
52
52
53
Thanks from https://github.com/gv1/hex2cyacd , the format is well explained and it was possible to write a C tool.
53
54
ihex2cyacd is a an utility to create cyacd files from ihex files.
54
- In order to use it, the simplest way is to use it
55
+ Using the Makefile.cypress will hide the usage.
55
56
56
57
### Usage
57
58
@@ -70,6 +71,7 @@ In order to use it, the simplest way is to use it
70
71
71
72
A Makefile.cypress file is available in the repository in order to easily compile cydsn projects.
72
73
Two variable are required to be set which are PSOC_CREATOR_DIR and PROJECT_DIR.
74
+ Additionnally, An ARM toolchain is necessary. Code Sourcery ones are sufficient.
73
75
The easiest way to use it is to create a Makefile with the following content
74
76
75
77
```
@@ -79,6 +81,7 @@ PROJECT_DIR := Path_to_project.cydsn
79
81
include Makefile.cypress
80
82
81
83
```
84
+ ` cyelftool ` is still used though wine (not reversed yet).
82
85
83
86
Then type ` make ` to compile the application.
84
87
Note that some old generated files may be outdated and can't compile.
@@ -92,4 +95,4 @@ The final cyacd file can be flashed using `cyhostboot`.
92
95
## Notes
93
96
94
97
The ` cyelftool ` cypress utility has not yet been reversed.
95
- However thanks to wine, this utility can be used and
98
+ However thanks to wine, this utility can be used under Linux.
0 commit comments