aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-12feat(timer): implement 16-bit timersUri Shaked2-24/+148
e.g. Timer/Counter1 on ATmega328
2020-04-09feat(instruction): 22-bit PC support #31Uri Shaked4-20/+120
adapt CALL, ICALL, RCALL, RET, and RETI for MCUs with 22-bit PC
2020-04-09feat(instruction): implement EICALL, EIJMP #31Uri Shaked2-0/+38
2020-04-08feat(instruction): implement ELPM #31Uri Shaked2-0/+71
2020-04-02fix: GPIO port listeners not invoked when writing to DDR registersUri Shaked2-3/+17
close #28
2020-04-02test(instruction): use assembly in testsUri Shaked1-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');
2020-03-22refactor: added peripherals and cpu feature folderslironh15-25/+25
2020-03-18style(cpu): relocate some stray commentsUri Shaked1-4/+4
2020-03-18Move first comment inside functiongfeun1-1/+1
2020-03-18Optimize opcode checkgfeun1-372/+186
2020-02-03feat(twi): proper interrupt support #10Uri Shaked2-5/+20
2020-02-03test(twi): add master TWI receive test #10Uri Shaked1-1/+175
2020-02-03test(twi): refactor assembly code to be shorterUri Shaked1-16/+11
2020-01-31test(twi): assembly code to test master transmit #10Uri Shaked2-3/+199
2020-01-31fix(assembler): BRBC/BRBS forward labels failUri Shaked2-2/+10
2020-01-30test(instruction): fix incorrect opcode in testsUri Shaked1-1/+1
2020-01-30test(assembler): add unit testsUri Shaked2-52/+379
fix some bugs found during unit tests
2020-01-30feat: add a simple AVR assembler for use in testsUri Shaked2-0/+983
2020-01-30feat(twi): partial TWI master implementation #10Uri Shaked3-0/+211
2020-01-11fix(gpio): pinState() value incorrect in GPIO listenersUri Shaked2-1/+16
fix #9
2020-01-08feat(gpio): add pinState() methodUri Shaked3-4/+69
close #8
2019-12-07refactor: tslint → eslintUri Shaked5-10/+13
2019-12-07feat(usart): add onLineTransmit callbackUri Shaked2-0/+56
2019-12-07test(usart): more USART testsUri Shaked2-1/+57
2019-12-01feat: add benchmarking codeUri Shaked1-15/+15
2019-12-01feat: initial implementation of USARTUri Shaked3-0/+180
#6
2019-11-30fix: Wrong prescaler for Timer2Uri Shaked2-6/+44
fix #5
2019-11-30feat: Output Compare for TimersUri Shaked2-6/+185
close #4
2019-11-30feat: add more GPIO portsUri Shaked2-1/+57
close #3
2019-11-27fix: SP not initialized on resetUri Shaked4-2/+28
close #2
2019-11-25feat: GPIO peripheral implementationUri Shaked4-2/+126
Add new AVRIOPort class, implements GPIO output logic
2019-11-21feat: initial timer implementationUri Shaked3-0/+232
8-bit timers basic functionality + tests: 1. basic counting + prescaler 2. timer overflow 3. timer overflow interrupt
2019-11-21doc: add comment to interrupt.tsUri Shaked1-0/+8
2019-11-21feat: implement avrInterrupt()Uri Shaked3-0/+30
used to invoke hardware interrupt
2019-11-20test: SWAP, STSUri Shaked1-1/+19
2019-11-20fix: SREG issues in ADC, CPC, SBC, SBCIUri Shaked2-10/+52
also added regression test cases
2019-11-20feat: implement most instructionsUri Shaked2-113/+455
2019-11-20feat: LPM, LSR, MOV, MOVW, MUL, MULS, MULSU, NEGUri Shaked2-19/+195
+ tests
2019-11-20feat: LAC, LAS, LAT, LDS instructions + testsUri Shaked2-4/+66
2019-11-20feat: more instructionsUri Shaked2-15/+140
implement ADC, ADD, ADIW, AND, ANDI, ASR, BCLR, BLD, BRBC, BRBS, test some of them
2019-11-19feat: CALL, INC, RET, RETI, ROR instructionsUri Shaked2-14/+106
2019-11-19doc: avr8js → AVR8jsUri Shaked2-2/+18
2019-11-19feat: LDY/LDZ/LDDY/LDDZ instructions + testsUri Shaked2-22/+142
2019-11-19feat: STY/STZ/STDY/STDZ instructions + testsUri Shaked2-12/+123
2019-11-19feat: implement LDX instructionsUri Shaked2-9/+50
2019-11-19test: sort instructions by nameUri Shaked1-19/+19
2019-11-19doc: add opcode next to each instructionUri Shaked1-95/+95
2019-11-19feat: implement STXUri Shaked2-4/+29
2019-11-19doc: add some commentsUri Shaked2-0/+15
2019-11-19feat: implement some AVR instructions + testsUri Shaked6-8/+626