-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: extend pre-commit checks, fix failing checks
- Loading branch information
Showing
125 changed files
with
2,628 additions
and
2,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
DEFAULT: | ||
# These formatting options will be used by default. | ||
options: "--style=otbs --attach-namespaces --attach-classes --indent=spaces=4 --convert-tabs --align-pointer=name --align-reference=name --keep-one-line-statements --pad-header --pad-oper" | ||
|
||
proto-c: | ||
check: false | ||
include: | ||
- "/network_provisioning/proto-c/" | ||
|
||
thirdparty: | ||
check: false | ||
include: | ||
- "/iqmath/" | ||
- "/qrcode/qrcodegen.*" | ||
- "/esp_jpeg/tjpgd/" | ||
- "/jsmn/include/jsmn.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
DEFAULT: | ||
perform_check: yes # should the check be performed? | ||
# Sections setting this to 'no' don't need to include any other options as they are ignored | ||
# When a file is using a section with the option set to 'no', no checks are performed. | ||
|
||
# what licenses (or license expressions) are allowed for files in this section | ||
# when setting this option in a section, you need to list all the allowed licenses | ||
allowed_licenses: | ||
- Apache-2.0 | ||
license_for_new_files: Apache-2.0 # license to be used when inserting a new copyright notice | ||
new_notice_c: | # notice for new C, CPP, H, HPP and LD files | ||
/* | ||
* SPDX-FileCopyrightText: {years} Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: {license} | ||
*/ | ||
new_notice_python: | # notice for new python files | ||
# SPDX-FileCopyrightText: {years} Espressif Systems (Shanghai) CO LTD | ||
# SPDX-License-Identifier: {license} | ||
# comment lines matching: | ||
# SPDX-FileCopyrightText: year[-year] Espressif Systems | ||
# or | ||
# SPDX-FileContributor: year[-year] Espressif Systems | ||
# are replaced with this template prefixed with the correct comment notation (# or // or *) and SPDX- notation | ||
espressif_copyright: '{years} Espressif Systems (Shanghai) CO LTD' | ||
|
||
# this section sets the default license for examples and unit tests of components | ||
examples_and_tests: | ||
include: | ||
- '*/examples/**' | ||
- '*/test*/**' | ||
allowed_licenses: | ||
- Apache-2.0 | ||
- Unlicense | ||
- CC0-1.0 | ||
license_for_new_files: Unlicense OR CC0-1.0 | ||
|
||
thirdparty: | ||
perform_check: no | ||
include: | ||
- 'iqmath/**' | ||
- 'esp_jpeg/tjpgd/**' | ||
- 'nghttp/port/**' | ||
- 'jsmn/include/jsmn.h' | ||
- 'qrcode/qrcodegen.*' | ||
- 'coap/port/include/**' | ||
- 'libpng/pnglibconf.h' | ||
|
||
catch2: | ||
allowed_licenses: | ||
- BSL-1.0 | ||
- Apache-2.0 | ||
- Unlicense | ||
- CC0-1.0 | ||
license_for_new_files: BSL-1.0 | ||
include: | ||
- 'catch2/**' | ||
|
||
generated: | ||
perform_check: no | ||
include: | ||
- 'network_provisioning/python/*' | ||
- 'network_provisioning/proto-c/*' | ||
- 'esp_jpeg/test/test_logo*' | ||
- 'expat/port/include/expat_config.h' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake) | |
set(COMPONENTS main) | ||
|
||
project(catch2-console) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake) | |
set(COMPONENTS main) | ||
|
||
project(catch2-test) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
version: "0.6.0~1" | ||
description: "CBOR: Concise Binary Object Representation Library" | ||
url: https://github.com/espressif/idf-extra-components/tree/master/cbor | ||
dependencies: | ||
idf: ">=4.3" | ||
version: "0.6.0~1" | ||
description: "CBOR: Concise Binary Object Representation Library" | ||
url: https://github.com/espressif/idf-extra-components/tree/master/cbor | ||
dependencies: | ||
idf: ">=4.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#include "../../tinycbor/src/cbor.h" | ||
#include "../../tinycbor/src/cborjson.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,6 @@ | |
|
||
#include "sdkconfig.h" | ||
|
||
|
||
#if CONFIG_IDF_TARGET_ESP32 | ||
#define CACHE_WAYS 2 | ||
#define CACHE_LINE_SIZE 32 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CONFIG_EXAMPLE_CONNECT_WIFI=n | ||
CONFIG_EXAMPLE_CONNECT_ETHERNET=y | ||
CONFIG_EXAMPLE_CONNECT_ETHERNET=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.