Skip to content

Commit

Permalink
Move to QPG6105 platform (#12992)
Browse files Browse the repository at this point in the history
* Replace QPG6100 by the new QPG6105

* Remove commented code

* Adjusting chip name in builder scripts

* Adjusting chip name in builder scripts - map naming

* Correct formatting
  • Loading branch information
lucicop authored and pull[bot] committed Jan 28, 2022
1 parent ac8303a commit b191b89
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 30 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/examples-qpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,30 @@ jobs:
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Build example QPG6100 Lock App
- name: Build example QPG6105 Lock App
timeout-minutes: 5
run: |
scripts/examples/gn_build_example.sh examples/lock-app/qpg out/lock_app_debug qpg_target_ic=\"qpg6100\"
scripts/examples/gn_build_example.sh examples/lock-app/qpg out/lock_app_debug qpg_target_ic=\"qpg6105\"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
qpg qpg6100+debug lock-app \
out/lock_app_debug/chip-qpg6100-lock-example.out \
qpg qpg6105+debug lock-app \
out/lock_app_debug/chip-qpg6105-lock-example.out \
/tmp/bloat_reports/
- name: Build example QPG6100 Lighting App
- name: Build example QPG6105 Lighting App
timeout-minutes: 5
run: |
scripts/examples/gn_build_example.sh examples/lighting-app/qpg out/lighting_app_debug qpg_target_ic=\"qpg6100\"
scripts/examples/gn_build_example.sh examples/lighting-app/qpg out/lighting_app_debug qpg_target_ic=\"qpg6105\"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
qpg qpg6100+debug lighting-app \
out/lighting_app_debug/chip-qpg6100-lighting-example.out \
qpg qpg6105+debug lighting-app \
out/lighting_app_debug/chip-qpg6105-lighting-example.out \
/tmp/bloat_reports/
- name: Build example QPG6100 persistent-storage
- name: Build example QPG6105 persistent-storage
timeout-minutes: 5
run: |
scripts/examples/gn_build_example.sh examples/persistent-storage/qpg out/persistent-storage_app_debug \
qpg_target_ic=\"qpg6100\"
qpg_target_ic=\"qpg6105\"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
qpg qpg6100+debug persistent-storage-app \
out/persistent-storage_app_debug/chip-qpg6100-persistent_storage-example.out \
qpg qpg6105+debug persistent-storage-app \
out/persistent-storage_app_debug/chip-qpg6105-persistent_storage-example.out \
/tmp/bloat_reports/
- name: Build Matter SDK library
timeout-minutes: 5
Expand Down
6 changes: 3 additions & 3 deletions examples/lighting-app/qpg/APPLICATION.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Matter QPG6100 Lighting Example Application
# Matter QPG6105 Lighting Example Application

## Lighting-app

A lighting example application showing the use of
[Matter](https://github.com/project-chip/connectedhomeip) on the Qorvo QPG6100
[Matter](https://github.com/project-chip/connectedhomeip) on the Qorvo QPG6105
can be found in the
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/examples/lighting-app/APPLICATION.md).

## Qorvo SDK

More detailed information on the Qorvo SDK can be found in the
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/qpg6100/doc/README.md).
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/qpg6105/doc/README.md).

## More information

Expand Down
6 changes: 3 additions & 3 deletions examples/lock-app/qpg/APPLICATION.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Matter QPG6100 Lock Example Application
# Matter QPG6105 Lock Example Application

## Lock-app

A lock example application showing the use of
[Matter](https://github.com/project-chip/connectedhomeip) on the Qorvo QPG6100
[Matter](https://github.com/project-chip/connectedhomeip) on the Qorvo QPG6105
can be found in the
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/examples/lock-app/APPLICATION.md).

## Qorvo SDK

More detailed information on the Qorvo SDK can be found in the
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/qpg6100/doc/README.md).
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/qpg6105/doc/README.md).

## More information

Expand Down
4 changes: 2 additions & 2 deletions examples/persistent-storage/qpg/APPLICATION.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CHIP QPG6100 Persistent Storage Application
# CHIP QPG6105 Persistent Storage Application

An example application showing the use of key value storage API on the Qorvo
QPG6100.
QPG6105.

More detailed information to be included in
[SDK Documentation](../../platform/qpg/README.md).
Expand Down
4 changes: 2 additions & 2 deletions examples/platform/qpg/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Matter QPG6100 SDK
# Matter QPG6105 SDK

## Qorvo SDK

More detailed information on the Qorvo SDK can be found in the
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/qpg6100/doc/README.md).
[Qorvo Matter Documentation repository](https://github.com/Qorvo/qpg-connectedhomeip/blob/master/qpg6105/doc/README.md).

## More information

Expand Down
5 changes: 2 additions & 3 deletions scripts/build/builders/qpg.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def __init__(self, root, runner):
def build_outputs(self):
return {
'chip-qpg-lock-example.out':
os.path.join(self.output_dir, 'chip-qpg6100-lock-example.out'),
os.path.join(self.output_dir, 'chip-qpg6105-lock-example.out'),
'chip-qpg-lock-example.out.map':
os.path.join(self.output_dir,
'chip-qpg6100-lock-example.out.map'),
os.path.join(self.output_dir, 'chip-qpg6105-lock-example.out.map'),
}
2 changes: 1 addition & 1 deletion src/platform/qpg/qpgConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace Internal {

CHIP_ERROR QPGConfig::Init()
{
qvCHIP_Nvm_Init();
qvCHIP_KvsInit();

return CHIP_NO_ERROR;
}
Expand Down
3 changes: 2 additions & 1 deletion third_party/openthread/platforms/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import("//build_overrides/qpg_sdk.gni")
import("${qpg_sdk_build_root}/qpg_sdk.gni")

# QPGxxxx settings and OT glue code
openthread_qpg_family = "${qpg_target_ic}"
openthread_qpg_family = "qpg6100" # pointing to qpg6100 for now, until ot-qorvo
# is updated with qpg6105 files
openthread_qpg_root = "${chip_root}/third_party/openthread/ot-qorvo"

config("openthread_qpg_config") {
Expand Down
2 changes: 1 addition & 1 deletion third_party/qpg_sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ group("qpg_sdk") {
config("qpg_freertos_config") {
include_dirs = [
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/config",
"${chip_root}/third_party/qpg_sdk/repo/qpg6100/comps/lwip",
"${chip_root}/third_party/qpg_sdk/repo/${qpg_target_ic}/comps/lwip",
"${freertos_root}/repo/portable/GCC/ARM_CM3",
]
}
Expand Down
2 changes: 1 addition & 1 deletion third_party/qpg_sdk/qpg_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ declare_args() {
qpg_sdk_root = "${chip_root}/third_party/qpg_sdk/repo"

# Target IC for QPG SDK
qpg_target_ic = "qpg6100"
qpg_target_ic = "qpg6105"
}

assert(qpg_sdk_root != "", "qpg_sdk_root must be specified")
Expand Down
2 changes: 1 addition & 1 deletion third_party/qpg_sdk/repo
Submodule repo updated from 874261 to edb134

0 comments on commit b191b89

Please sign in to comment.