Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .doc/ContextSet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions .github/workflows/AWS_MQTT-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ jobs:
# Build the executable
- name: Build executable
run: |
cbuild Demo.csolution.yml --packs --context .Debug+AVH --rebuild
cbuild Demo.csolution.yml --packs --context .Debug+Simulator --rebuild

# Execute the demo
- name: Execute AWS_MQTT demo
run: |
FVP_Corstone_SSE-300 \
-a ./out/Demo/AVH/Debug/Demo.axf \
-a ./out/Demo/Simulator/Debug/Demo.axf \
-f ./Board/AVH_MPS3_Corstone-300/fvp_config.txt \
--simlimit 120 --stat -Q 10 > ./out/Demo/AWS_MQTT_Demo.log
cat ./out/Demo/AWS_MQTT_Demo.log
Expand Down
13 changes: 11 additions & 2 deletions Demo.csolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,22 @@ solution:
optimize: balanced

target-types:
# This target is a AVH-FVP simulation model that does not require hardware
- type: AVH
# This target is an AVH-FVP simulation model that does not require hardware
- type: Simulator
board: ARM::V2M-MPS3-SSE-300-FVP
variables:
- Board-Layer: $SolutionDir()$/Board/AVH_MPS3_Corstone-300/Board.clayer.yml
- Shield-Layer: ""
- Socket-Layer: $SolutionDir()$/Socket/VSocket/Socket.clayer.yml
target-set:
- set:
images:
- project-context: Demo.Debug
debugger:
name: Arm-FVP
model: FVP_Corstone_SSE-300
config-file: Board/AVH_MPS3_Corstone-300/fvp_config.txt
args: -Q 10
# Add a target hardware to use the example on physical hardware
# - type: MyBoard
# board: <board name>
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ successfully run the demo application.

## Requirements

- [AWS Account](https://aws.amazon.com/free) to connect a [*AWS IoT Thing*](https://docs.aws.amazon.com/iot/latest/developerguide/iot-moisture-create-thing.html).
- [AWS Account](https://aws.amazon.com/free) to connect an [*AWS IoT Thing*](https://docs.aws.amazon.com/iot/latest/developerguide/iot-moisture-create-thing.html).
- A CMSIS-Toolbox enabled toolchain such as [Keil Studio for VS Code](https://www.keil.arm.com/). The [MDK Community Edition](https://www.keil.arm.com/keil-mdk/#mdk-v6-editions) provides all tools required for evaluation.

## Project Structure
Expand Down Expand Up @@ -41,16 +41,16 @@ To run the demo application [*configure the AWS IoT Thing*](https://docs.aws.ama
- `democonfigCLIENT_CERTIFICATE_PEM`: Client Certificate
- `democonfigCLIENT_PRIVATE_KEY_PEM`: Client Private Key

## Run on AVH FVP Simulation Model
## Run on AVH-FVP Simulation Model

Once the *AWS IoT Thing* is configured it can be build and run on AVH FVP simulation models.
Once the *AWS IoT Thing* is configured it can be build and run on AVH-FVP simulation models.

```bash
cbuild Demo.csolution.yml --context .Debug+AVH --packs
FVP_Corstone_SSE-300 -f Board/AVH_MPS3_Corstone-300/fvp_config.txt out/Demo/AVH/Debug/Demo.axf -Q 10
cbuild Demo.csolution.yml --context .Debug+Simulator --packs
FVP_Corstone_SSE-300 -f Board/AVH_MPS3_Corstone-300/fvp_config.txt out/Demo/Simulator/Debug/Demo.axf -Q 10
```

The execution on AVH FVP simulation models should create this output:
The execution on AVH-FVP simulation models should create this output:

```txt
[...] ---------STARTING DEMO---------
Expand Down Expand Up @@ -117,7 +117,7 @@ Depending on the selected hardware, the file [`Demo.csolution.yml`](Demo.csoluti
- pack: ARM::CMSIS-Driver@2.10.0 # Add CMSIS-Driver for WiFi Shields

target-types:
- type: AVH
- type: Simulator
board: ARM::V2M-MPS3-SSE-300-FVP
:

Expand All @@ -139,7 +139,7 @@ This completes the setup and the file [`Demo.csolution.yml`](Demo.csolution.yml)

```yml
target-types:
- type: AVH
- type: Simulator
board: ARM::V2M-MPS3-SSE-300-FVP
:
- type: MyBoard
Expand Down