Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into reduce-binding-mana…
Browse files Browse the repository at this point in the history
…ger-size
  • Loading branch information
gjc13 committed Feb 7, 2022
2 parents d3e13e2 + 0f7be8b commit 020f7f1
Show file tree
Hide file tree
Showing 1,012 changed files with 196,283 additions and 117,962 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Same for files in zap-generated folders
**/zap-generated/** linguist-generated
# And some specific generated files
src/controller/python/chip/clusters/CHIPClusters.cpp linguist-generated
src/controller/python/chip/clusters/CHIPClusters.py linguist-generated
src/controller/python/chip/clusters/Objects.py linguist-generated
src/darwin/Framework/CHIPTests/CHIPClustersTests.m linguist-generated
41 changes: 38 additions & 3 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ ATW
ATWC
AudioOutput
auth
autocompletion
autoconnect
autocrlf
autogenerated
Expand Down Expand Up @@ -146,6 +147,7 @@ CCMP
CCS
CCSTUDIO
CCXML
CDVersionNumber
ced
cfg
CFLAGS
Expand Down Expand Up @@ -223,10 +225,11 @@ connstring
conntype
const
ContentApp
ContentAppPlatform
ContentApp's
ContentAppPlatform
ContentLaunch
ContentLauncher
continuousHinting
contrib
controllee
conv
Expand Down Expand Up @@ -258,6 +261,7 @@ CYW
DAC
DAP
DataFrame
DataModelRevision
dataset
datasets
dbf
Expand All @@ -267,10 +271,12 @@ DBUILD
dbus
dcc
DCHIP
DCL
DCMAKE
DCONFIG
debianutils
DEDEDEDE
deepnote
DelayedActionTime
demangle
deployable
Expand All @@ -291,6 +297,7 @@ DeviceLayer
DeviceNetworkProvisioningDelegate
DeviceNetworkProvisioningDelegateImpl
DevicePairingDelegate
deviceSoftwareVersionModel
DevKitC
DevKitM
df
Expand Down Expand Up @@ -331,6 +338,7 @@ DOVERLAY
downcasting
Doxygen
dpkg
dropdown
dryrun
DS
duplicative
Expand Down Expand Up @@ -478,6 +486,7 @@ href
HTTPS
HW
iaszone
ibb
ICA
ICMP
IDF
Expand Down Expand Up @@ -518,6 +527,9 @@ ipp
iptables
iputils
IPv
ipykernel
ipynb
IPython
ISCAN
itemName
iterable
Expand All @@ -532,6 +544,9 @@ jre
js
json
JTAG
jupyter
Jupyter
jupyterlab
KA
Kconfig
KeypadInput
Expand All @@ -540,6 +555,7 @@ kNodeIdNotSpecified
knownissues
KVS
LabelList
launchable
LAUNCHXL
ldflags
LEDs
Expand Down Expand Up @@ -581,6 +597,7 @@ LockingState
loopback
LowPower
LPC
LSP
LTE
LTS
LwIP
Expand All @@ -605,6 +622,7 @@ MatterLock
matterSdkSourceBuild
matterSourceBuildAbiFilters
matterUTestLib
maxApplicableSoftwareVersion
MaxInterval
MaxIntervalCeilingSeconds
MaxRtrAdvInterval
Expand Down Expand Up @@ -640,6 +658,7 @@ microcontroller
microcontrollers
MicroSD
middleware
minApplicableSoftwareVersion
Minicom
MinInterval
MinIntervalFloorSeconds
Expand Down Expand Up @@ -729,6 +748,7 @@ optionsOverride
orgs
OTA
OTADownloader
otaImageList
OTAImageProcessorDriver
OTAImageProcessorInterface
OTAProvider
Expand All @@ -740,6 +760,7 @@ OTARequestor
OTARequestorDriver
OTARequestorSerialPort
otasoftwareupdaterequestor
otaURL
OTBR
otcli
PAA
Expand All @@ -756,6 +777,7 @@ Passcode
PBKDF
pbuf
pbufs
pbxproj
PCA
pcaps
PDFs
Expand Down Expand Up @@ -784,7 +806,6 @@ pre
preprocessor
Presetup
prj
providerNodeId
ProductID
ProductLabel
ProductName
Expand All @@ -793,6 +814,7 @@ proto
protobuf
protos
Prover
providerNodeId
PRs
PSCAN
PSK
Expand Down Expand Up @@ -832,6 +854,7 @@ ReadConfigValue
readelf
readfds
README
readthedocs
Reag
rebase
recommand
Expand All @@ -845,6 +868,8 @@ Rendez
RendezvousInformation
RendezvousParameters
RendezVousTest
repl
REPL
repo
req
Requestor
Expand Down Expand Up @@ -876,6 +901,7 @@ RunMain
runtime
rw
RXD
sandboxed
sbin
scalability
scalable
Expand All @@ -886,8 +912,8 @@ ScriptBinding
SDC
SDHC
SDK
sdkconfig
SDK's
sdkconfig
SDKs
SDKTARGETSYSROOT
sdl
Expand All @@ -908,6 +934,7 @@ SetUpPINCode
SetupQRCode
sexualized
SHA
showDocumentation
shubhamdp
SIGINT
SiLabs
Expand All @@ -929,7 +956,9 @@ softmmu
SoftwareDiagnostics
SoftwareVersion
SoftwareVersionString
softwareVersionValid
SPI
spiflash
spinel
src
SRP
Expand All @@ -940,6 +969,7 @@ StartScan
stderr
stdout
sterm
storagepath
str
strcpy
su
Expand Down Expand Up @@ -1067,11 +1097,13 @@ venv
Verifier
Verifiers
VID
virtualenv
visualstudio
vlatest
VLEDs
vnc
vous
VPN
VSC
VSCode
WakeOnLan
Expand Down Expand Up @@ -1101,6 +1133,8 @@ xaver
xbef
xcd
Xcode
xcodeproj
xcworkspace
xd
xdeadbeefcafe
xds
Expand All @@ -1124,6 +1158,7 @@ YNJV
Yocto
yoctoproject
YourFolder
yWsC
zapt
zaptool
ZCL
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/doxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,59 @@ name: Doxygen

on:
push:
paths:
- '**.do[xc]'
- '**.c[cs]?'
- '**.cxx'
- '**.cpp'
- '**.c++'
- '**.ii'
- '**.ixx'
- '**.ipp'
- '**.i++'
- '**.inl'
- '**.[hH]'
- '**.hh'
- '**.HH'
- '**.hxx'
- '**.hpp'
- '**.h++'
- '**.mm'
- '**.txt'
- '**.[ido]dl'
- '**.java'
- '**.d'
- '**.php[45]?'
- '**.inc'
- '**.phtml'
- '**.[mM]'
pull_request:
paths:
- '**.do[xc]'
- '**.c[cs]?'
- '**.cxx'
- '**.cpp'
- '**.c++'
- '**.ii'
- '**.ixx'
- '**.ipp'
- '**.i++'
- '**.inl'
- '**.[hH]'
- '**.hh'
- '**.HH'
- '**.hxx'
- '**.hpp'
- '**.h++'
- '**.mm'
- '**.txt'
- '**.[ido]dl'
- '**.java'
- '**.d'
- '**.php[45]?'
- '**.inc'
- '**.phtml'
- '**.[mM]'
workflow_dispatch:

concurrency:
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/examples-cyw30739.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Build example CYW30739 Lighting App
timeout-minutes: 10
- name: Build example CYW30739 Apps
timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--target cyw30739-cyw930739m2evb_01-light \
--target-glob 'cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor}' \
build \
--copy-artifacts-to out/artifacts \
"
Expand All @@ -73,12 +73,20 @@ jobs:
cyw30739 cyw930739m2evb_01 light \
out/artifacts/cyw30739-cyw930739m2evb_01-light/chip-cyw30739-lighting-example.elf \
/tmp/bloat_reports/
- name: Build example CYW30739 Lock App
timeout-minutes: 10
- name: Get lock size stats
timeout-minutes: 5
run: |
scripts/examples/gn_build_example.sh examples/lock-app/cyw30739 out/lock_app
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py cyw30739 CYW30739 lock-app \
out/lock_app/chip-cyw30739-lock-example.elf /tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 lock \
out/artifacts/cyw30739-cyw930739m2evb_01-lock/chip-cyw30739-lock-example.elf \
/tmp/bloat_reports/
- name: Get ota-requestor size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 ota-requestor \
out/artifacts/cyw30739-cyw930739m2evb_01-ota-requestor/chip-cyw30739-ota-requestor-example.elf \
/tmp/bloat_reports/
- name: Uploading Size Reports
uses: actions/upload-artifact@v2
if: ${{ !env.ACT }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ jobs:
# to fail (exit nonzero) on match. And we wasnt to exclude this file,
# to avoid our grep regexp matching itself.
- name: Check for incorrect error use in VerifyOrExit
if: always()
run: |
git grep -n "VerifyOrExit(.*, [A-Za-z]*_ERROR" -- './*' ':(exclude).github/workflows/lint.yml' && exit 1 || exit 0
# Comments like '{{! ... }}' should be used in zap files
- name: Do not allow TODO in generated files
if: always()
run: |
git grep -n 'TODO:' -- ./zzz_generated './*/zap-generated/*' && exit 1 || exit 0
- name: Check for disallowed include files
if: always()
run: scripts/tools/check_includes.sh
Loading

0 comments on commit 020f7f1

Please sign in to comment.