aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix(cpu): don't clear RAM on reset #107Uri Shaked2022-04-301-1/+0
| | | | wokwi/wokwi-features#282
* Merge pull request #124 from wokwi/dependabot/npm_and_yarn/minimist-1.2.6Uri Shaked2022-04-121-6/+6
|\ | | | | chore(deps): bump minimist from 1.2.5 to 1.2.6
| * chore(deps): bump minimist from 1.2.5 to 1.2.6dependabot[bot]2022-04-111-6/+6
|/ | | | | | | | | | | | | Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* 0.18.10Uri Shaked2022-03-222-3/+3
|
* fix(timer): Phase Correct mode overruns #119Uri Shaked2022-03-222-2/+67
|
* 0.18.9Uri Shaked2022-02-212-3/+3
|
* fix(timer): OCRH masking #117Uri Shaked2022-02-212-3/+29
|
* Merge pull request #116 from Dudeplayz/masterUri Shaked2022-02-081-33/+157
|\ | | | | Improve instruction.spec.ts
| * style(instruction.spec): add comments for missing instruction tests and ↵Dudeplayz2022-02-071-33/+103
| | | | | | | | reorder tests according to the AVR datasheet
| * test(instruction): add ADD, SUB and WDR unit testsDudeplayz2022-02-071-0/+54
|/
* test(watchdog): more robust testsUri Shaked2022-02-071-0/+2
| | | | add assertions, fix #115
* 0.18.8Uri Shaked2022-01-202-3/+3
|
* perf(cpu): speed up interruptsUri Shaked2022-01-201-11/+28
| | | | | | code which makes heavy use of interrupts considerably slows down the simulator. E.g. that transmit programs large amount of data over SPI. See wokwi/wokwi-features#280 for an example.
* 0.18.7Uri Shaked2021-12-132-3/+3
|
* fix(twi): fails on repeated start conditionUri Shaked2021-12-131-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reproduction: https://wokwi.com/arduino/projects/306115576172905024 minimal reproduction code: ```cpp #include <Wire.h> void setup() { Serial.begin(115200); Wire.begin(); Wire.beginTransmission(0x68); Wire.write( 0x3B); Wire.endTransmission( false); // <---- Fails after this auto n = Wire.requestFrom(0x68, 6); if (n == 6) { int16_t AcX = Wire.read() << 8 | Wire.read(); // 0x3B (ACCEL_XOUT_H) & 0x3C (ACCEL_XOUT_L) int16_t AcY = Wire.read() << 8 | Wire.read(); // 0x3D (ACCEL_YOUT_H) & 0x3E (ACCEL_YOUT_L) int16_t AcZ = Wire.read() << 8 | Wire.read(); // 0x3F (ACCEL_ZOUT_H) & 0x40 (ACCEL_ZOUT_L) Serial.print( "AcX = "); Serial.print( AcX); Serial.print( " | AcY = "); Serial.print( AcY); Serial.print( " | AcZ = "); Serial.print( AcZ); Serial.println(); } else { Serial.println( "--------- ERROR ---------"); } } void loop() {} ```
* 0.18.6Uri Shaked2021-10-302-3/+3
|
* feat(spi): add `onByte` callbackUri Shaked2021-10-302-19/+44
| | | | | | a more versatile alternative to the `onTransfer` callback. Depracate `onTransfer()`.
* 0.18.5Uri Shaked2021-10-292-3/+3
|
* fix(timer): setting TCNT doesn't update OCRA #111Uri Shaked2021-10-292-0/+44
|
* 0.18.4Uri Shaked2021-10-242-3/+3
|
* fix(eeprom): EEPROM interrupt not firing #110Uri Shaked2021-10-243-5/+35
| | | | fix #110
* 0.18.3Uri Shaked2021-10-232-3/+3
|
* fix(spi): setting SPIE doesn't fire pending interruptUri Shaked2021-10-222-0/+25
|
* chore: add node 16 to CI test matrixUri Shaked2021-10-212-1/+2
|
* fix: broken build on node < 16Uri Shaked2021-10-211-12847/+10746
|
* chore: upgrade package.json to version 2Uri Shaked2021-10-211-21/+17996
| | | | https://github.blog/2021-02-02-npm-7-is-now-generally-available/#changes-to-the-lockfile
* 0.18.2Uri Shaked2021-10-072-2/+2
|
* feat(timer): Force Output Compare (FOC) bitsUri Shaked2021-10-072-5/+98
|
* chore(deps): bump tmpl from 1.0.4 to 1.0.5dependabot[bot]2021-09-211-3/+3
| | | | | | | | | | | | | Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* 0.18.1Uri Shaked2021-09-142-2/+2
|
* feat(timer): 3rd output compare (OCRnC) #96Uri Shaked2021-09-142-13/+170
|
* 0.18.0Uri Shaked2021-09-102-2/+2
|
* refactor: remove the ICPU interfaceUri Shaked2021-09-107-41/+26
| | | | Removing the interface simplifies the code
* feat(adc): ADC peripheral #13Uri Shaked2021-09-103-0/+405
|
* feat(watchdog): implement watchdog timer #106Uri Shaked2021-09-105-1/+357
|
* 0.17.1Uri Shaked2021-09-072-2/+2
|
* fix(gpio): CBI/SBI handling in writes to PIN register #103Uri Shaked2021-09-074-8/+50
| | | | fix #103
* 0.17.0Uri Shaked2021-08-152-2/+2
|
* feat(timer): external timer support #97Uri Shaked2021-08-155-95/+171
| | | | | | also refactor timer/GPIO interaction to be more generic. close #97
* chore(deps): prettier 2.3.2Uri Shaked2021-08-155-40/+23
| | | | also reformat all the code with the new version
* 0.16.6Uri Shaked2021-08-132-2/+2
|
* fix(gpio): timer outputs not reflected in PIN register #102Uri Shaked2021-08-132-8/+22
| | | | fix #102
* Merge pull request #100 from wokwi/dependabot/npm_and_yarn/path-parse-1.0.7Uri Shaked2021-08-111-3/+3
|\ | | | | chore(deps): bump path-parse from 1.0.6 to 1.0.7
| * chore(deps): bump path-parse from 1.0.6 to 1.0.7dependabot[bot]2021-08-111-3/+3
|/ | | | | | | | | | | | | Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* 0.16.5Uri Shaked2021-08-092-2/+2
|
* fix(gpio): PWM may leaves pins in high stateUri Shaked2021-08-091-0/+1
| | | | Disabling PWM when a GPIO pin is high will cause the pin to get stuck in high state.
* style(spi): remove redundant whitespace from commentsUri Shaked2021-08-071-2/+2
|
* 0.16.4Uri Shaked2021-07-172-2/+2
|
* feat(usart): add `immediate` parameter to writeByte()Uri Shaked2021-07-171-8/+12
| | | | The value will be available immediately to the user program instead of waiting one symbol time before making it available.
* 0.16.3Uri Shaked2021-07-162-2/+2
|