aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* feat(demo): web worker supportUri Shaked2021-02-142-80/+9
| | | | rewrite TaskScheduler to use `MessageChannel` instead of `window.postMessage`, to make the code portable into a Web Worker.
* 0.14.10Uri Shaked2021-02-032-2/+2
|
* docs: add description/keywords to package.jsonUri Shaked2021-01-311-0/+13
|
* docs: add license / typescript shields to READMEUri Shaked2021-01-312-2/+4
| | | | also update copyright years
* fix: typo in parameter nameUri Shaked2021-01-023-6/+6
| | | | | freqMHz → freqHz in SPI, TWI, and USART: they all expect the frequency in hertz, not mega-hertz.
* docs(readme): link to EEPROM exampleUri Shaked2021-01-021-0/+1
|
* 0.14.9Uri Shaked2020-12-292-2/+2
|
* fix(timer): delay() is inaccurate #81Uri Shaked2020-12-292-21/+26
| | | | fix #81
* 0.14.8Uri Shaked2020-12-272-2/+2
|
* fix(timer): Output Compare in PWM modes #78Uri Shaked2020-12-276-67/+353
| | | | close #78
* 0.14.7Uri Shaked2020-12-262-2/+2
|
* fix(timer): Overflow interrupt fires twice #80Uri Shaked2020-12-262-7/+45
| | | | fix #80
* 0.14.6Uri Shaked2020-12-252-2/+2
|
* fix(timer): Output Compare sometimes misses Compare Match #79Uri Shaked2020-12-252-6/+45
| | | | fix #79
* 0.14.5Uri Shaked2020-12-212-2/+2
|
* fix(timer): Output Compare issue #74Uri Shaked2020-12-212-10/+28
| | | | | | output compare doesn't work when the OCR register (OCRnA/OCRnB) equals to 0 fix #74
* docs(README): add "Which chips can be simulated"Uri Shaked2020-12-201-2/+13
|
* 0.14.4Uri Shaked2020-12-202-2/+2
|
* fix(timer): TOV flag does not update correctly #75Uri Shaked2020-12-202-20/+56
| | | | fix #75
* 0.14.3Uri Shaked2020-12-202-2/+2
|
* fix(timer): OCR values should be buffered #76Uri Shaked2020-12-202-11/+125
| | | | fix #76
* docs: capitalizationUri Shaked2020-12-121-2/+2
| | | mega -> MEGA
* 0.14.2Uri Shaked2020-12-122-2/+2
|
* 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
|