aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* perf(cpu): speed up event systemUri Shaked2020-12-122-18/+59
| | | | ditch `array.sort()` and instead manually keep the array sorted when we insert a new item.
* test(cpu): fix implicit any errorUri Shaked2020-12-121-3/+5
|
* fix(cpu): event system issueUri Shaked2020-12-122-2/+63
| | | | | | | `updateClockEvent()` and `clearClockEvent()` would sometimes mess up the list of events. This could cause unexpected behavior when you have multiple timers running. Also added regression tests for these methods.
* chore(demo): upgrade monaco editor to 0.21.2Uri Shaked2020-12-122-2/+2
|
* 0.14.1Uri Shaked2020-12-122-2/+2
|
* fix(timer): Incorrect count when stopping a timerUri Shaked2020-12-122-18/+41
| | | | fix #72
* 0.14.0Uri Shaked2020-12-092-2/+2
|
* Merge pull request #71 from wokwi/interrupt-refactorUri Shaked2020-12-0914-291/+482
|\ | | | | refactor: central interrupt handling #38
| * perf!: centeral timekeepingUri Shaked2020-12-0913-225/+222
| | | | | | | | | | | | | | | | | | This should improve performance, especially when running simulations with multiple peripherals. For instance, the demo project now runs at ~322%, up from ~185% in AVR8js 0.13.1. BREAKING CHANGE: `tick()` methods were removed from individual peripherals. You now need to call `cpu.tick()` instead.
| * refactor: central interrupt handling #38Uri Shaked2020-12-0913-92/+286
|/
* test(cpu): improve test nameUri Shaked2020-12-091-1/+1
|
* 0.13.1Uri Shaked2020-11-272-2/+2
|
* fix(usart): respect the given baud rate #16Uri Shaked2020-11-272-54/+150
| | | | close #16
* chore(deps): upgrade deasyncUri Shaked2020-11-271-3/+3
| | | | this makes the demo project build successfully on Node 14
* 0.13.0Uri Shaked2020-11-252-2/+2
|
* feat(clock): Clock Prescale (CLKPR) support #68Uri Shaked2020-11-253-0/+185
| | | | close #68
* 0.12.0Uri Shaked2020-11-142-2/+2
|
* feat: Support for simulating ATtinyx5 (e.g. ATtiny85) timers #64Uri Shaked2020-11-142-12/+60
| | | | close #64
* 0.11.5Uri Shaked2020-11-142-2/+2
|
* fix: AVRTimerConfig interface not exported #65Uri Shaked2020-11-142-2/+8
| | | | close #65
* docs: add link to ATtiny85 simulation exampleUri Shaked2020-11-121-0/+1
|
* 0.11.4Uri Shaked2020-10-072-2/+2
|
* test(gpio): extract constantsUri Shaked2020-10-071-26/+30
|
* fix(gpio): Changing pinMode from `INPUT` to `INPUT_PULLUP` doesn't trigger ↵Uri Shaked2020-10-072-4/+13
| | | | | | listeners close #62
* 0.11.3Uri Shaked2020-09-302-2/+2
|
* fix(cpu): incorrect address for RAMPZ / EINDUri Shaked2020-09-302-8/+8
| | | | | | We used their I/O space address intead of their data space address. close #61
* 0.11.2Uri Shaked2020-09-032-2/+2
|
* perf(timer): speed up interrupt handlingUri Shaked2020-09-021-1/+4
|
* perf(timer): improve timer speedUri Shaked2020-09-022-11/+17
| | | | cache the value of the clock divider
* 0.11.1Uri Shaked2020-09-022-2/+2
|
* fix(interrupt): broken on ATmega2560Uri Shaked2020-09-022-1/+23
| | | | close #58
* fix(instruction): EICALL is brokenUri Shaked2020-09-022-1/+3
| | | | close #59
* 0.11.0Uri Shaked2020-08-222-2/+2
|
* style(spi): remove redundant eslint commentsUri Shaked2020-08-221-2/+0
|
* feat(spi): implement SPI master #33Uri Shaked2020-08-224-1/+368
| | | | close #33
* test(eeprom): remove useless lineUri Shaked2020-08-221-1/+0
|
* ci: setup codeql analysisUri Shaked2020-08-181-0/+54
| | | https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning
* 0.10.2Uri Shaked2020-08-012-2/+2
|
* fix(timer): keeps counting even when stopped #41Uri Shaked2020-08-012-36/+51
|
* test(timer): use TestProgramRunnerUri Shaked2020-08-013-135/+128
|
* chore(deps): npm audit fixUri Shaked2020-08-011-21/+63
|
* test: disable demo project testsUri Shaked2020-08-013-7/+16
| | | | otherwise, node 10 is broken on CI. see jsdom/jsdom#2961 for details.
* chore(deps): bump elliptic from 6.5.1 to 6.5.3 (#57)dependabot[bot]2020-08-011-3/+3
| | | | | | | | | Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.1 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.1...v6.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* test: fix broken test on node 10.xUri Shaked2020-07-162-0/+5
|
* fix(demo): fix eslint warningUri Shaked2020-07-161-1/+1
|
* chore(deps): jest 26.xUri Shaked2020-07-162-1074/+1128
|
* 0.10.1Uri Shaked2020-07-162-2/+2
|
* fix(eeprom): EEPROM write fails after first attemptUri Shaked2020-07-162-1/+33
| | | | close #54
* 0.10.0Uri Shaked2020-07-162-2/+2
|
* feat(eeprom): implement EEPROM peripheralUri Shaked2020-07-166-42/+408
| | | | close #15