DOC_psoc-host-application.pdf (drc02)
This project includes the following subproject(s):
Subproject | Type | Hosted at |
---|---|---|
PSoC-Bootloader-Host | executeable | ../psoc-bootloader-host-application.git |
Root of the PSoC Host Application project (check 'root' CMakeLists.txt)
├──Bootloader-Tool (psoc-bootloader-tool) [git submodule]
│ ├───include
│ ├───src
| └───CMakeLists.txt
├───C-API (libpsoc-drc02)
│ ├───include
│ ├───src
| └───CMakeLists.txt
├───UI-Tool (psoc-ui-tool)
│ ├───include
│ ├───src
| └───CMakeLists.txt
├───Tests (psoc-tests)
│ ├───include
│ ├───src
| └───CMakeLists.txt
├───Examples
│ ├───include
│ ├───src
| └───CMakeLists.txt
├─README.md
└─CMakeLists.txt
- build directory should be out of source tree (when using Eclipse IDE)
- create build directory
devel@deb10:/work$ mkdir build_psoc_host
- assume the project source code (see above) is locate within directory psoc-host-application
- run cmake to create Makefiles
devel@deb10:/work/build_psoc_host$ cmake -D CMAKE_TOOLCHAIN_FILE=../psoc-host-application/arm-linux-gnueabihf-toolchain.CMakeCross.txt CMakeLists.txt ../psoc-host-application/
- build binaries
devel@deb10:/work/build_psoc_host$ make
- create Debian packages
devel@deb10:/work/build_psoc_host$ cpack
- create Eclipse project files/settings
devel@Stretch:/work/build_psoc_host$ cmake -D CMAKE_TOOLCHAIN_FILE=../psoc-host-application/arm-linux-gnueabihf-toolchain.CMakeCross.txt CMakeLists.txt -G "Eclipse CDT4 - Unix Makefiles" ../psoc-host-application/