Commit aa7c021e authored by Roman Okhrimenko's avatar Roman Okhrimenko Committed by David Brown
Browse files

Update user documentation in cypress folder

parent 23ca10af
Loading
Loading
Loading
Loading
+2 −2
Changes for boot/cypress/BlinkyApp/Readme.md: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,9 +2,9 @@

**Description:**

Implements simple Blinky LED CM4 application to demonstrate MCUBoot Application and CypressBootloader operation in terms of BOOT and UPGRADE process.
Implements simple Blinky LED CM4 application to demonstrate MCUBoot Application operation in terms of BOOT and UPGRADE process.

It is started by MCUBoot Application or CypressBootloader which is running on CM0p.
It is started by MCUBoot Application which is running on CM0p.

Functionality:

+4 −0
Changes for boot/cypress/MCUBootApp/README.md: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -151,5 +151,9 @@ Also IDE may be used:

*Msys2* - to use systems PATH navigate to msys2 folder, open `msys2_shell.cmd`, uncomment set `MSYS2_PATH_TYPE=inherit`, restart MSYS2 shell.

*Cygwin* - add following to build command `CURDIR=pwd | cygpath --mixed -f -` so that build command looks like that:

        make app APP_NAME=MCUBootApp PLATFORM=PSOC_062_2M CURDIR=`pwd | cygpath --mixed -f -`

This will iherit system's PATH so should find `python3.7` installed in regular way as well as imgtool and its dependencies.
+3 −10
Changes for boot/cypress/README.md: 3 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -6,8 +6,6 @@ Given solution demonstrates operation of MCUBoot on Cypress' PSoC6 device.

There are four applications implemented:
* MCUBootApp - PSoC6 MCUBoot-based bootloading application;
* CypressBootloader - PSoC6 MCUBoot-based Cypress' Secure Boot application;
* SecureBlinkyApp - simple PSoC6 blinking LED application which is a target of BOOT/UPGRADE, running on CM0p and playing a role of SPE;
* BlinkyApp - simple PSoC6 blinking LED application which is a target of BOOT/UPGRADE;

The default flash map for MCUBootApp implemented is next:
@@ -26,7 +24,6 @@ MCUBootApp checks image integrity with SHA256, image authenticity with EC256 dig
There is a set assets required:

* MCUBooot Library (root repository)
* PSoC6 BSP Library
* PSoC6 Peripheral Drivers Library (PDL)
* mbedTLS Cryptographic Library

@@ -45,20 +42,16 @@ Submodules can also be updated and initialized separately:

**Building Solution**

This folder contains make files infrastructure for building both MCUBoot Bootloader, CypressBootloader and sample SecureBlinkyApp and BlinkyApp applications used for Bootloader demo functionality.
Root directory for build is **boot/cypress.**

Instructions on how to build and upload Bootloader and sample image are located in `Readme.md` files in corresponding folders.
This folder contains make files infrastructure for building both MCUBoot Bootloader and sample BlinkyApp application used for Bootloader demo functionality.

Root directory for build is **boot/cypress.**
Instructions on how to build and upload MCUBootApp bootloader application and sample user applocation are located in `Readme.md` files in corresponding folders.

**Currently supported platforms:**

* PSOC_062_2M - for MCUBoot, BlinkyApp;

* PSOC_064_2M, PSOC_064_1M, PSOC_064_512K - for CypressBootloader, SecureBlinkyApp;

* PSOC_062_2M, PSOC_064_2M, PSOC_064_1M, PSOC_064_512K - for BlinkyApp;

**Build environment troubleshooting:**

Following CLI / IDE are supported for project build: