aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(timer): Timer value should not increment on the same cycle as TCNTn writeUri Shaked2020-04-272-2/+48
| | | | close #36
* test(timer): add more 16-bit timer testsUri Shaked2020-04-122-13/+56
| | | | also fix some issues found by @gfeun and the tests
* feat(timer): implement 16-bit timersUri Shaked2020-04-122-24/+148
| | | | e.g. Timer/Counter1 on ATmega328
* feat(instruction): 22-bit PC support #31Uri Shaked2020-04-094-20/+120
| | | | adapt CALL, ICALL, RCALL, RET, and RETI for MCUs with 22-bit PC
* feat(instruction): implement EICALL, EIJMP #31Uri Shaked2020-04-092-0/+38
|
* feat(instruction): implement ELPM #31Uri Shaked2020-04-082-0/+71
|
* fix: GPIO port listeners not invoked when writing to DDR registersUri Shaked2020-04-022-3/+17
| | | | close #28
* test(instruction): use assembly in testsUri Shaked2020-04-021-89/+91
| | | | | | | | | | | | Refactored the tests to use AVR assembly instead of hardcoded bytecode. This change should make the tests much easier to read and maintain. Before: loadProgram('659a'); Now: loadProgram('SBI 0x0c, 5');
* refactor: added peripherals and cpu feature folderslironh2020-03-2215-25/+25
|
* style(cpu): relocate some stray commentsUri Shaked2020-03-181-4/+4
|
* Move first comment inside functiongfeun2020-03-181-1/+1
|
* Optimize opcode checkgfeun2020-03-181-372/+186
|
* feat(twi): proper interrupt support #10Uri Shaked2020-02-032-5/+20
|
* test(twi): add master TWI receive test #10Uri Shaked2020-02-031-1/+175
|
* test(twi): refactor assembly code to be shorterUri Shaked2020-02-031-16/+11
|
* test(twi): assembly code to test master transmit #10Uri Shaked2020-01-312-3/+199
|
* fix(assembler): BRBC/BRBS forward labels failUri Shaked2020-01-312-2/+10
|
* test(instruction): fix incorrect opcode in testsUri Shaked2020-01-301-1/+1
|
* test(assembler): add unit testsUri Shaked2020-01-302-52/+379
| | | | fix some bugs found during unit tests
* feat: add a simple AVR assembler for use in testsUri Shaked2020-01-302-0/+983
|
* feat(twi): partial TWI master implementation #10Uri Shaked2020-01-303-0/+211
|
* fix(gpio): pinState() value incorrect in GPIO listenersUri Shaked2020-01-112-1/+16
| | | | fix #9
* feat(gpio): add pinState() methodUri Shaked2020-01-083-4/+69
| | | | close #8
* refactor: tslint → eslintUri Shaked2019-12-075-10/+13
|
* feat(usart): add onLineTransmit callbackUri Shaked2019-12-072-0/+56
|
* test(usart): more USART testsUri Shaked2019-12-072-1/+57
|
* feat: add benchmarking codeUri Shaked2019-12-011-15/+15
|
* feat: initial implementation of USARTUri Shaked2019-12-013-0/+180
| | | | #6
* fix: Wrong prescaler for Timer2Uri Shaked2019-11-302-6/+44
| | | | fix #5
* feat: Output Compare for TimersUri Shaked2019-11-302-6/+185
| | | | close #4
* feat: add more GPIO portsUri Shaked2019-11-302-1/+57
| | | | close #3
* fix: SP not initialized on resetUri Shaked2019-11-274-2/+28
| | | | close #2
* feat: GPIO peripheral implementationUri Shaked2019-11-254-2/+126
| | | | Add new AVRIOPort class, implements GPIO output logic
* feat: initial timer implementationUri Shaked2019-11-213-0/+232
| | | | | | | 8-bit timers basic functionality + tests: 1. basic counting + prescaler 2. timer overflow 3. timer overflow interrupt
* doc: add comment to interrupt.tsUri Shaked2019-11-211-0/+8
|
* feat: implement avrInterrupt()Uri Shaked2019-11-213-0/+30
| | | | used to invoke hardware interrupt
* test: SWAP, STSUri Shaked2019-11-201-1/+19
|
* fix: SREG issues in ADC, CPC, SBC, SBCIUri Shaked2019-11-202-10/+52
| | | | also added regression test cases
* feat: implement most instructionsUri Shaked2019-11-202-113/+455
|
* feat: LPM, LSR, MOV, MOVW, MUL, MULS, MULSU, NEGUri Shaked2019-11-202-19/+195
| | | | + tests
* feat: LAC, LAS, LAT, LDS instructions + testsUri Shaked2019-11-202-4/+66
|
* feat: more instructionsUri Shaked2019-11-202-15/+140
| | | | | implement ADC, ADD, ADIW, AND, ANDI, ASR, BCLR, BLD, BRBC, BRBS, test some of them
* feat: CALL, INC, RET, RETI, ROR instructionsUri Shaked2019-11-192-14/+106
|
* doc: avr8js → AVR8jsUri Shaked2019-11-192-2/+18
|
* feat: LDY/LDZ/LDDY/LDDZ instructions + testsUri Shaked2019-11-192-22/+142
|
* feat: STY/STZ/STDY/STDZ instructions + testsUri Shaked2019-11-192-12/+123
|
* feat: implement LDX instructionsUri Shaked2019-11-192-9/+50
|
* test: sort instructions by nameUri Shaked2019-11-191-19/+19
|
* doc: add opcode next to each instructionUri Shaked2019-11-191-95/+95
|
* feat: implement STXUri Shaked2019-11-192-4/+29
|
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.