From 7dbb0dbf81d740ffa1461cab4a2d87974b091719 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Sun, 4 Dec 2016 02:47:47 -0500 Subject: Update tools based on newest tests. --- tools/avr_codegen/test.c | 6 +++--- tools/avr_codegen/test.elf | Bin 6908 -> 6832 bytes tools/avr_codegen/test.hex | 9 ++++----- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'tools/avr_codegen') diff --git a/tools/avr_codegen/test.c b/tools/avr_codegen/test.c index 45f6962..ad01747 100644 --- a/tools/avr_codegen/test.c +++ b/tools/avr_codegen/test.c @@ -56,21 +56,21 @@ int main( ) marker--; PORTB = 0; } while( marker ); - _delay_us(8); + _delay_us(80); marker = 10; do{ PORTB = _BV(4); marker--; PORTB = 0; } while( marker ); - _delay_us(16); +/* _delay_us(16); marker = 20; do{ PORTB = _BV(4); marker--; PORTB = 0; } while( marker ); - +*/ // t b6 b5 b4 b3 b2 b1 b0 t b13 b12 b11 b10 b9 b8 b7 // 1 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 // 8 5 0 8 diff --git a/tools/avr_codegen/test.elf b/tools/avr_codegen/test.elf index c5bc028..458f910 100755 Binary files a/tools/avr_codegen/test.elf and b/tools/avr_codegen/test.elf differ diff --git a/tools/avr_codegen/test.hex b/tools/avr_codegen/test.hex index 8b3bb1a..7c9a4cb 100644 --- a/tools/avr_codegen/test.hex +++ b/tools/avr_codegen/test.hex @@ -1,12 +1,11 @@ :100000000EC015C014C013C012C011C010C00FC064 :100010000EC00DC00CC00BC00AC009C008C011241E -:100020001FBECFE5D2E0DEBFCDBF1AD03FC0E8CFC4 +:100020001FBECFE5D2E0DEBFCDBF1AD037C0E8CFCC :100030000F931F9300E010E0980106171707280799 :10004000390759F0EFECF7E03197F1F700C0000005 :100050000F5F1F4F2F4F3F4FF0CF1F910F9108950C :10006000F89480E886BD16BC80E681BF80E187BB3E -:100070009AE088BB18BA9150E1F795E19A95F1F7AB -:1000800000009AE088BB18BA9150E1F7EAE2EA95DD -:10009000F1F700C094E188BB18BA9150E1F7EFE1A5 -:1000A000FEE43197F1F700C00000E2CFF894FFCFF3 +:1000700090E18AE098BB18BA8150E1F785ED8A9546 +:10008000F1F700008AE098BB18BA8150E1F7EFE180 +:10009000FEE43197F1F700C00000EBCFF894FFCFFA :00000001FF -- cgit v1.2.3