Commit Graph

13 Commits

Author SHA1 Message Date
b253baf838 optimize functions
- split BlockLoad() into recvBuffer(), writeFlashPage() and writeEEpromPage()
- split BlockRead() into readFlashPage() and readEEpromPage()
- make eraseFlash() a inline too
- remove global variables
- fix byte/word addressing
- use typedef for buffer index (results in uint8_t on most cpus)
2006-05-20 00:06:27 +02:00
b29674a1f2 use stdint types
- use blocklocal variables
2006-05-20 00:04:32 +02:00
570d07d3a0 remove interrupt vectors
- wrong register used (MCUCR instead of GICR)
- interrupts are not enabled (reset/cli)
- discard section "vectors" when linking
- based on binutils 2.16.1 ldscripts
2006-05-19 23:58:50 +02:00
c897637dc2 cleanup uart stuff
- use new per-cpu headers
- remove interrupt handling from uart functions
- correct baudrate calculation
- introduce UART_DOUBLESPEED to use fast mode
- introduce UART_SECOND to use 2nd uart on mega128
- move uart functions to main.c, delete uart.[ch]
- rename XTAL to F_CPU (avrlibc style)
- move some defines from Makefile to main.c
2006-05-19 22:19:18 +02:00
cb5d02f4ba cleanup cpu selection
- splitting chipdef.h, one header per cpu
- use integer define for BOOTSIZE
- calc correct bootloader address
2006-05-19 21:52:42 +02:00
51182dbccb cleanup main.c
- codingstyle
- move functions to top (readable asm-listing)
- pull lowlevel.c into main.c
2006-05-19 21:52:00 +02:00
ba471f01de cleanup
- dos2unix
- remove trailing spaces
2006-05-19 21:00:23 +02:00
919606b3ab Version 0.75 2006-05-01 19:20:40 +02:00
722e6d5d68 Version 0.74 2006-05-01 19:19:59 +02:00
f2c227f428 Version 0.7 (20050226) 2006-05-01 19:15:27 +02:00
f32c7e3131 Version 0.5 (20040407) 2006-05-01 19:13:32 +02:00
85f5e95b07 Version 0.4 (20040406) 2006-05-01 19:12:13 +02:00
744684bb88 Version 0.2 (20040324) 2006-05-01 19:10:39 +02:00