Repository navigation
OIL 41, chapters Memory and Time, hardware and interrupts - #133
Merged
Merged
Conversation
The simulator's --for reads its seconds with integers, where strtod() went through the last double of the repository (H-7); tests at the edges pin what it takes, as before. The three texts whose address the host code takes are declared extern in their header and defined once (M-4). The block of Matrix says what RAM it takes on the Uno: 43 bytes with bit banging, 39 with SPI, besides its buffer (M-6). The library holds the chapters' other rules. Its sizes do not change.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nothing changes for a sketch. The reference now says what a
Matrixtakes of the Uno's RAM: 43 bytes with bit banging and 39 with SPI, besides its buffer of eight bytes per module, so 75 and 71 for a chain of four. Every example has the same flash and RAM as on main.The review of the two chapters of the coding style on memory and on time, hardware and interrupts, in OIL item 41, their rules that review checks. The library holds them: it does not block, takes its pins as parameters, names its registers, has no interrupt routine, leaves the bitwise operators to one class, has neither exceptions nor RTTI, and what it writes itself lies in a folder of its own with its tests. Changed:
double: the simulator's--forread its seconds throughstrtod(), the lastdoublein the repository; it reads them with integers now, the same values as before, which new tests at the edges pin: a millisecond, a fraction without its whole seconds, a fraction past the third digit, and the most milliseconds there are.Matrixin RAM, measured with avr-gcc for the Uno, stands in its block.Checked:
make checkpasses: lint, clang-tidy, every host and AVR test, coverage at 100 % of lines, branches and conditions.