Commit mthomas changes to GCC and port those changes to IAR
[avr_bc100.git] / ChangeLog
1 2008-06-26 Kevin Rosenberg <kevin@rosenberg.net>
2         * BaseTinyFirmwave/IAR: Port Martin's changes from 2008-06-12 to IAR
3
4 2008-06-12 Martin Thomas <mthomas@rhrk.uni-kl.de>
5         Modifications to test AVR458 (LiIon). Tests done with
6         Varta EasyPack #66590 711 099: the BC100 at least enters
7         the charging-state now. Charging itself not fully monitored
8         so far. No tests done with NiMH (AVR463).
9
10         * BaseTinyFirmware/GCC/battery.c
11           - NTCLookUp(): type of adcs_rawNTC_tmp to uint16_t
12           - BatteryDataRefresh() avoid unneeded EEPROM writes
13         * BaseTinyFirmware/GCC/statefunc.h
14           - added BATCONN to set number of connectors to scan
15             (1=Battery A only, 2=Battery A and B)
16         * BaseTinyFirmware/GCC/structs.h
17           - Batteries_struct: option do disable bitfield (default: use bitfield)
18         * BaseTinyFirmware/GCC/statefunc.c
19           - sleep(): split if ( ... && ... ) into two ifs for easier debugging
20         * BaseTinyFirmware/GCC/LIIONspecs.h
21           - added comment with technical information on used battery
22             from Varta PoliFlex handbook and battery's datasheet
23         * Project settings:
24           - added -DEASYPACK550 in custom options [all files]
25           - NOT added: settings mentioned in entry "2008-04-21"
26             since they cause wrong code with avr-gcc 4.1.2/avr-binutils 2.17
27             (interrupt-vector not linked)
28         * BaseTinyFirmware/GCC/battery.h
29           - added DEF_BAT_*-values for the test-battery which
30             are enabled if EASYPACK550 is defined, RID not used,
31             #warning to indicate fixed settings (= 6 warnings on rebuild)
32           - NO warranty for these settings but even if something
33             goes wrong in firmware or BC100-hardware the battery
34             protects itself with it's  internal circuits.
35         * BaseMegaFirmware/GCC/bc100_slave.c
36           - bc100_slave_test(): added battery-data readout
37
38 2008-04-21 Kevin Rosenberg <kevin@rosenberg.net>
39         * BaseTinyFirmware/GCC/*/Makefile: Add GCC optimizations from
40         Eric Weddington
41
42 2008-04-07 Kevin Rosenberg <kevin@rosenberg.net>
43         * BaseTinyFirmware/IAR: Port Martin's changes from 2008-04-03
44         to IAR
45
46 2008-04-03 Martin Thomas <mthomas@rhrk.uni-kl.de>
47         * BaseMegaFirmware/GCC: Experimental Master Code for the ATmega644
48         with basic "drivers" for
49                 - keys incl. power-off with debounceing
50                 - 74HC595 low-level "software-SPI"
51                 - LEDs though 74HC595
52                 - Power-off and Slave-Reset control though 74HC595
53                 - hardware SPI for comm. with slave
54                 - simple test-function for communication with slave
55         * BaseTinyFirmware/GCC/statefunc.c:
56                 - prevent unneeded writes to eeprom if init fails
57                 - prevent slave from entering sleep-mode standby if
58                 "MASTER_INT" is low (so SPI communication with master is
59                 possible even during the "8-second watchdog delay")
60
61 2008-03-30 Kevin Rosenberg <kevin@rosenberg.net>
62         * BaseTinyFirmware/GCC Makefile's improved with more listing
63         output as well as added -Wl,-gc-sections option which stops
64         crashes using linker relaxation [thanks to Eric Weddington]
65
66 2008-03-28 Kevin Rosenberg <kevin@rosenberg.net>
67         * BaseTinyFirmware/GCC/avr463/Makefile: Added -Wl,-relax to linker
68         flags. On my system this crashes avr-ld.exe, but others have
69         reported a large reduction in firmware size with this option. I
70         added this option for others to try.  *
71         BaseTinyFirmware/GCC/avr458/Makefile: Added missing file
72
73 2008-03-14 Martin Thomas <mthomas@rhrk.uni-kl.de>
74         Improvements to BaseTinyFirmware:
75         * added "volatile" to structure object and array declarations for
76         objects sed in main-thread and ISRs. I'm not sure about the
77         current state of implicitly "guaranteed" accesses in (avr-)gcc but
78         it should be a "better safe than sorry" extension.
79         * enveloped access to timer-values in timer.c to make them
80         "atomic" since they are unsigned long
81         * "atomic" access to signed int and unsigned int members of ADCS
82         * it maybe better to have one place to globally enable
83         interrupts ("sei").  Done in "initialize" now and not several
84         times in the driver init-functions.
85         * changed some space to tab as in the original code
86         * added header files to the AVR-Studio project workspace
87         * added -lm to the linker-options in the AVR Studio gcc-plugin,
88         not important for the basic application but might be good if
89         someone uses the code as a base for own developments
90
91 2008-03-12 Kevin Rosenberg <kevin@rosenberg.net>
92         * Initial GCC port performed and compiles without error
93         * Warning: Not yet tested on BC100 hardware!