You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updating comments and documents
* Function rename for spelling fix
* Updating the CI config
* Updated changelog
* Revert copied arduino files
* Moving all setting to codespell config
* Move setting from CI to config for codespell
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-9
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
### Added
10
10
- Allow use of watchdog timer in application code (though it doesn't do anything)
11
11
- Show output from successful compile
12
-
-`--min-free-space=N` command-line argument to fail if free space is below requred value
12
+
-`--min-free-space=N` command-line argument to fail if free space is below required value
13
13
- Add `_BV()` macro.
14
14
- Support for `dtostrf()`
15
+
- Added a CI workflow to check for spelling errors
15
16
16
17
### Changed
17
18
- We now compile a shared library to be used for each test.
@@ -39,7 +40,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
39
40
- Better indications of which example sketch is being compiled as part of testing
40
41
41
42
### Changed
42
-
- Topmost installtion instructions now suggest `gem install arduino_ci` instead of using a `Gemfile`. Reasons for using a `Gemfile` are listed and discussed separately further down the README.
43
+
- Topmost installation instructions now suggest `gem install arduino_ci` instead of using a `Gemfile`. Reasons for using a `Gemfile` are listed and discussed separately further down the README.
43
44
- Stream::readStreamUntil() no longer returns delimiter
44
45
45
46
### Removed
@@ -100,7 +101,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
100
101
## [1.0.0] - 2020-11-29
101
102
### Added
102
103
- Special handling of attempts to run the `arduino_ci.rb` CI script against the ruby library instead of an actual Arduino project
103
-
- Explicit checks for attemping to test `arduino_ci` itself as if it were a library, resolving a minor annoyance to this developer.
104
+
- Explicit checks for attempting to test `arduino_ci` itself as if it were a library, resolving a minor annoyance to this developer.
104
105
- Code coverage tooling
105
106
- Explicit check and warning for library directory names that do not match our guess of what the library should/would be called
106
107
- Symlink tests for `Host`
@@ -207,7 +208,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
207
208
## [0.1.21] - 2019-02-07
208
209
### Added
209
210
- Proper `ostream operator <<` for `nullptr`
210
-
- Proper comparison operations fro`nullptr`
211
+
- Proper comparison operations for`nullptr`
211
212
212
213
### Changed
213
214
-`Compare.h` heavily refactored to use a smallish macro
@@ -235,7 +236,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
235
236
236
237
### Fixed
237
238
- Assertions on `nullptr`
238
-
- The defintion of `nullptr`
239
+
- The definition of `nullptr`
239
240
240
241
241
242
## [0.1.18] - 2019-01-29
@@ -298,7 +299,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
298
299
- Checking for (empty) set of platforms to build now precedes the check for examples to build; this avoids assuming that all libraries will have an example and dumping the file set when none are found
299
300
300
301
### Fixed
301
-
- Spaces in the names of project directores no longer cause unit test binaries to fail execution
302
+
- Spaces in the names of project directories no longer cause unit test binaries to fail execution
302
303
- Configuration file overrides with `nil`s (or empty arrays) now properly override their base configuration
303
304
304
305
@@ -429,15 +430,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
429
430
### Fixed
430
431
- Replaced pipes with `Open3.capture3` to avoid deadlocks when commands have too much output
431
432
-`ci_config.rb` now returns empty arrays (instead of nil) for undefined config keys
432
-
-`pgmspace.h`explictly includes `<string.h>`
433
+
-`pgmspace.h`explicitly includes `<string.h>`
433
434
-`__FlashStringHelper` should now be properly mocked for compilation
434
435
-`WString.h` bool operator now works and is simpler
435
436
436
437
437
438
## [0.1.5] - 2018-03-05
438
439
### Added
439
440
- Yaml files can have either `.yml` or `.yaml` extensions
440
-
- Yaml files support select/reject critera for paths of unit tests for targeted testing
441
+
- Yaml files support select/reject criteria for paths of unit tests for targeted testing
441
442
- Pins now track history and can report it in Ascii (big- or little-endian) for digital sequences
442
443
- Pins now accept an array (or string) of input bits for providing pin values across multiple reads
443
444
- FlashStringHelper (and related macros) compilation mocks
@@ -490,7 +491,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
490
491
### Fixed
491
492
- All test files were reporting "not ok" in TAP output. Now they are OK iff all asserts pass.
492
493
- Directories with a C++ extension in their name could cause problems. Now they are ignored.
493
-
-`CppLibrary` had trouble with symlinks. It shoudn't anymore.
494
+
-`CppLibrary` had trouble with symlinks. It shouldn't anymore.
494
495
-`CppLibrary` had trouble with vendor bundles. It might in the future, but I have a better fix ready to go if it's an issue.
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ This project has the following dependencies:
33
33
34
34
*`ruby` 2.5 or higher
35
35
* A compiler like `g++` (on OSX, `clang` works; on Cygwin, use the `mingw-gcc-c++` package)
36
-
*`python` (if using a board architecutre that requires it, e.g. ESP32, ESP8266; see [this issue](https://github.com/Arduino-CI/arduino_ci/issues/235#issuecomment-739629243)). Consider `pyserial` as well.
36
+
*`python` (if using a board architecture that requires it, e.g. ESP32, ESP8266; see [this issue](https://github.com/Arduino-CI/arduino_ci/issues/235#issuecomment-739629243)). Consider `pyserial` as well.
37
37
38
38
In that environment, you can install by running `gem install arduino_ci`. To update to a latest version, use `gem update arduino_ci`.
39
39
@@ -51,7 +51,7 @@ Arduino expects all libraries to be in a specific `Arduino/libraries` directory
51
51
52
52
### Changes to Your Repository
53
53
54
-
Unit testing binaries created by `arduino_ci` should not be commited to the codebase. To avoid that, add the following to your `.gitignore`:
54
+
Unit testing binaries created by `arduino_ci` should not be committed to the codebase. To avoid that, add the following to your `.gitignore`:
Copy file name to clipboardExpand all lines: REFERENCE.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
All tests are run via the same command: `bundle exec arduino_ci.rb`.
4
4
5
-
This script is responsible for detecting and runing all unit tests, on every combination of Arduino platform and C++ compiler. This is followed by attempting to detect and build every example on every "default" Arduino platform.
5
+
This script is responsible for detecting and running all unit tests, on every combination of Arduino platform and C++ compiler. This is followed by attempting to detect and build every example on every "default" Arduino platform.
6
6
7
7
As a prerequisite, all Arduino "default" platforms are installed if they are not already available.
8
8
@@ -398,7 +398,7 @@ unittest(pin_read_history)
398
398
bool bigEndian = true;
399
399
state->digitalPin[1].fromAscii("Yo", bigEndian);
400
400
401
-
// digitial history as serial data, big-endian
401
+
// digital history as serial data, big-endian
402
402
bool expectedBits[16] = {
403
403
0, 1, 0, 1, 1, 0, 0, 1, // Y
404
404
0, 1, 1, 0, 1, 1, 1, 1 // o
@@ -515,7 +515,7 @@ For additional complexity, there are some cases where you want to use a pin as a
This directory contains projects that are intended solely for testing the various features of this gem -- to test the testing framework itself. The RSpec tests refer specifically to these projects, and as a result _some are explicity designed to fail_.
4
+
This directory contains projects that are intended solely for testing the various features of this gem -- to test the testing framework itself. The RSpec tests refer specifically to these projects, and as a result _some are explicitly designed to fail_.
5
5
6
6
> **If you are a first-time `arduino_ci` user an are looking for an example to copy from, see [the `Arduino-CI/Blink` repository](https://github.com/Arduino-CI/Blink) instead.**
7
7
8
-
* "TestSomething" contains a minimial library, but tests for all the C++ compilation feature-mocks of arduino_ci.
9
-
* "DoSomething" is a simple test of the testing framework (arduino_ci) itself to verfy that passes and failures are properly identified and reported. Because of this, it includes test files that are expected to fail -- they are prefixed with "bad-".
8
+
* "TestSomething" contains a minimal library, but tests for all the C++ compilation feature-mocks of arduino_ci.
9
+
* "DoSomething" is a simple test of the testing framework (arduino_ci) itself to verify that passes and failures are properly identified and reported. Because of this, it includes test files that are expected to fail -- they are prefixed with "bad-".
10
10
* "OnePointOhDummy" is a non-functional library meant to test file inclusion logic on libraries conforming to the "1.0" specification
11
-
* "OnePointFiveMalformed" is a non-functional library meant to test file inclusion logic on libraries that attempt to conform to the ["1.5" specfication](https://arduino.github.io/arduino-cli/latest/library-specification/) but fail to include a `src` directory
12
-
* "OnePointFiveDummy" is a non-functional library meant to test file inclusion logic on libraries conforming to the ["1.5" specfication](https://arduino.github.io/arduino-cli/latest/library-specification/)
11
+
* "OnePointFiveMalformed" is a non-functional library meant to test file inclusion logic on libraries that attempt to conform to the ["1.5" specification](https://arduino.github.io/arduino-cli/latest/library-specification/) but fail to include a `src` directory
12
+
* "OnePointFiveDummy" is a non-functional library meant to test file inclusion logic on libraries conforming to the ["1.5" specification](https://arduino.github.io/arduino-cli/latest/library-specification/)
13
13
* "DependOnSomething" is a non-functional library meant to test file inclusion logic with dependencies
14
14
* "ExcludeSomething" is a non-functional library meant to test directory exclusion logic
The parent directory is for files that must stand in for their Arduino counterparts -- any `SomeFile` that might be requested as `#include <SomeFile.h>`.
2
2
3
-
This directory is specificially for support files required by those other files. That's because we don't want to create collisions on filenames for common data structures like Queue.
3
+
This directory is specifically for support files required by those other files. That's because we don't want to create collisions on filenames for common data structures like Queue.
4
4
5
5
If there end up being class-level conflicts, it is this developer's stated intention to rename our classes such that `class Float` becomes `class FloatyMcFloatFace`.
0 commit comments