初始提交:ESP-Scope 网页示波器固件(ESP32-S3)
Some checks failed
Release Firmware / build (boards/default.h, 9, 2, esp32, esp32) (push) Failing after 30m22s
Release Firmware / build (boards/xiao_esp32c6.h, 0, 8, xiao-esp32c6, esp32c6) (push) Failing after 1m35s
Release Firmware / release (push) Has been skipped

基于 vtalpaert/esp-scope 编译
- 采样率 1Hz-83kHz
- ADC1_CH0 (GPIO 1) 输入
- WiFi AP + Web UI
- 内置 PWM 测试信号 (GPIO 4)
- 单通道,0-3.3V 输入范围
This commit is contained in:
en
2026-07-02 23:42:08 +08:00
parent 41d6d68ff3
commit 1293fe9c44
170 changed files with 23275 additions and 21 deletions

View File

@@ -0,0 +1,75 @@
JSON Patch Tests
================
These are test cases for implementations of [IETF JSON Patch (RFC6902)](http://tools.ietf.org/html/rfc6902).
Some implementations can be found at [jsonpatch.com](http://jsonpatch.com).
Test Format
-----------
Each test file is a JSON document that contains an array of test records. A
test record is an object with the following members:
- doc: The JSON document to test against
- patch: The patch(es) to apply
- expected: The expected resulting document, OR
- error: A string describing an expected error
- comment: A string describing the test
- disabled: True if the test should be skipped
All fields except 'doc' and 'patch' are optional. Test records consisting only
of a comment are also OK.
Files
-----
- tests.json: the main test file
- spec_tests.json: tests from the RFC6902 spec
Writing Tests
-------------
All tests should have a descriptive comment. Tests should be as
simple as possible - just what's required to test a specific piece of
behavior. If you want to test interacting behaviors, create tests for
each behavior as well as the interaction.
If an 'error' member is specified, the error text should describe the
error the implementation should raise - *not* what's being tested.
Implementation error strings will vary, but the suggested error should
be easily matched to the implementation error string. Try to avoid
creating error tests that might pass because an incorrect error was
reported.
Please feel free to contribute!
Credits
-------
The seed test set was adapted from Byron Ruth's
[jsonpatch-js](https://github.com/bruth/jsonpatch-js/blob/master/test.js) and
extended by [Mike McCabe](https://github.com/mikemccabe).
License
-------
Copyright 2014 The Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.