-
Notifications
You must be signed in to change notification settings - Fork 19
/
ChangeLog
187 lines (171 loc) · 8.33 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#FwLib : HML_FwLib_STC89
#Description : ChangeLog of HML_FwLib_STC89
#E-mail : mcu(at)zhishant-iot.tk
#Organization: ZHISHAN-IoT(https://zhishan-iot.tk)
#Page : https://hw.zhishant-iot.tk/page/hml/detail/fwlib_stc89.html
>Version : v0.0.0(beta)
Alias :
Date : 2018-03-21
Note : The first version of HML_FwLib_STC89!
>Version : v0.0.0
Alias :
Date : 2018-03-28
Note : The first stable version of HML_FwLib_STC89!
>Version : v0.0.1
Alias : V0R1
Date : 2018-05-28
Note : (1)fix a bug about code order in <uart.c>
(2)fix a bug of function TIM_setValue in <tim.c>
(3)rewrite <mem.h>, fix a fatal bug!
(4)rewrite /usr/Makefile
(5)correct spelling mistakes in <uart.c>
(6)fix fatal bug about interrupt priority
>Version : v1.0.0
Alias :
Date : 2018-09-17
Note : (1)rename [user] directory as [usr]
(2)update /usr/Makefile
(3)rename EXTI_MOD as EXTI_mode in <exti.h>, and modify name of related enum value
(4)rename INTR_PIOR as INTR_priority in <exti.h>, and modify name of related enum value
(5)rename UART_MODE as UART_mode in <uart.h>, and modify name of related enum value
(6)rename ISP_CMMD as ISP_command in <isp.h>, and modify name of related enum value
(7)rename ISP_beginAddress as ISP_ADDR_START in <isp.h>
(8)rename ISP_endAddress as ISP_ADDR_END <isp.h>
(9)rename function MEM_cmd_Ale as MEM_cmd_ale in <mem.h>
(10)rename WDT_Prescale as WDT_prescale in <wdt.h>, and modify name of related enum value
(11)fix fatal bug in <uart.c>, this bug can cause user can't use TIM2 as baud rate generator
(12)rename [sample] directory as [example]
(13)the conditional compilation mechanism is introduced into the source code(select expected compile part <macro.h>)
(14)add new data type "byte" in <macro.h>
(15)modify data type of member variable of "baudrate" in struct UART_configTypeDef(unsigned int -> uint32_t)
>Version : v1.0.1
Alias : V1R1
Date : 2018-10-08
Note : (1)rename function void ISP_writeByte(unsigned int addr,unsigned char dat) as
void ISP_writeByte(unsigned int addr,byte dat) in isp.h
(2)rename function unsigned int TIM2_calculateValue(unsigned int time) as unsigned int TIM2_calculateValue(unsigned int t)
in tim2.h
(3)rename tim, member of UART_configTypeDef, as baudGenerator in uart.h
(4)modify function void UART_sendByte(unsigned char dat) as void UART_sendByte(byte dat) in uart.h
(5)rename function unsigned int UART_getTimerInitValue(uint32_t baud,PERIPH_TIM tim) as unsigned int unsigned
int UART_getBaudGeneratorInitValue(uint32_t baud,PERIPH_TIM tim) in uart.h
(6)modify function void GPIO_configPortValue(PERIPH_GPIO gpio,unsigned char val) as
void GPIO_configPortValue(PERIPH_GPIO gpio,byte val) in gpio.h
>Version : v1.0.2
Alias :
Date : 2018-11-05
Note : (1)rename macro MCU_MODEL as _MCU_MODEL_ in macro.h
(2)rename macro __PDATA as __PBYTE in mem.h
(3)rename file doc/license.txt as LICENSE
(4)improve header information of example source files
(5)add .gitkeep file into obj directory, because Git doesn't permit user committing a empty directory.
(6)add interrupt vector for extern interrupt 2(EXTI-2) and extern interrupt 3(EXTI-3) in stc89.h
>Version : v1.0.3
Alias : V1R2
Date : 2019-02-04
Note : (1)fix bug of function GPIO_getBitValue
(2)optimize note of source code file
(3)update Makefile to v0.1.2
(4)modify errormap.txt
(5)fix bug of example/exti/exti-toggleIo.c
(6)optimize function EXTI_setPriority
(7)optimize function RST_reset
(8)fix bug of function UART_getBaudGeneratorInitValue, optimize function of UART_switchTim
(9)fix bug of function ISP_writeByte
(10)optimize function ISP_eraseByte
(11)rename member of enumeration type TIM_function, TIM2_function and RST_bootarea
(12)fix fatal bug in function TIM_INT_setPriority
>Version : v1.0.4
Alias :
Date : 2019-03-03
Note : (1)fix header file include bug in util.c
(2)optimize maxTick into macro definition TIM2_MAXTICK in tim2.h
(3)fix bug of function UART_INT_setPriority in uart.c
(4)provide bit operation function
(5)add new example exti-interruptPriority.c
>Version : v1.0.5
Alias :
Date : 2019-04-09
Note : (1)adjust coding style of example files
(2)optimize bit operation function
(3)rename log.txt as ChangeLog
(4)add AUTHORS file
(5)fix bug about CONFB in bit.h
>Version : v1.1.0
Alias :
Date : 2019-08-03
Note : (1)update example file of ISP
(2)delete abolished header file intrasm.h
(3)move file LICENSE to root path of project
(4)update Makefile
- update Makefile to v0.2.1: refactor all code, optimize effect of print; improve speed of clean operation;
fix problem that user can't set job server during execute rebuild operation;
support incremental compilation; support compiling custom source file;
- update Makefile to v0.2.2: fix bug of rebuild function
- update Makefile to v0.2.3: fix fatal bug of custom source file
- update Makefile to v0.2.4: fix fatal bug about build error when pass a absolute path or relative path
(5)rename function WDT_clear as WDT_feed
(6)add version.h for HML version information
(7)rename enumeration INTR_priority as UTIL_interruptPriority and move it to util.h
(8)move stc89.h to inc/hw
>Version : v1.1.1
Alias :
Date : 2019-08-28
Note : (1)rename all examples
(2)fix bugs in examples because of changes from HML interface(GPIO_configBitValue)
(3)support new MCU model
- STC89C53RC
- STC89LE53RC
- STC89C516RD+
- STC89LE516RD+
(4)optimize HML compile selection check and add macro HAVE_ISP
>Version : v1.1.2
Alias :
Date : 2019-10-27
Note : (1)add warning information output when meet redundant source files under conditional compilation
(2)correct wrong formula for tim2 initial value
(3)add new function
- TIM2_getCaptureValue
- TIM2_isExternalEvent
- TIM2_setReloadValue
- TIM2_BAUD_cmd
(4)rename function TIM2_INT_T2EX_cmd as TIM2_T2EX_cmd
>Version : v1.2.0
Alias : V1R3
Date : 2020-01-29
Note : (1)add types.h including definitions of data types
(2)fix bug that timer-2 cannot run in baud rate generator mode
(3)update Makefile to v0.2.6
- support <library> target, user can get usage via <make help>
- optimize <make version> function
update Makefile to v0.3.0
- support MCU(mandatory), CLKFRE, CODE and XRAM variable for MCU configuration
- optimize build information print
(4)optimize sleep function
(5)refactor version.h
(6)optimize macro for module compile selection
>Version : v1.2.1
Alias :
Date : 2020-04-05
Note : (1)support 6T mode
(2)add macro __HML_NAME_STRING__ for version mark
(3)add function UART_getByte and UART_sendHex
(4)update Makefile to v0.3.1
- optimize the way to obtain config parameters, add Makefile.config
- change code comment style
- support CONF, VERBOSE variable for MCU configuration
(5)add exmaple zCLI
>Version : v1.3.0
Alias :
Date : 2021-01-27
Note : (1)optimize writing
(2)fix fatal bug!!! refactor function ISP_eraseByte and rename it as ISP_eraseSector
(3)add macro definition 'ISP_WAITTIME' to select wait time of cpu after trigger of isp
>Version : v1.3.1
Alias :
Date : 2021-03-21
Note : (1)add issue templates
(2)fix bug in example of tim2 (see issue #3)
(3)fix ISP_WAITTIME error due to terrible datasheet
(4)fix bug in example tim_toggleIo.c (see issue #4)
(5)fix formula error of function TIM_calculateValue and TIM2_calculateValue