Releases: MCU-ZHISHAN-IoT/HML_FwLib_STC89
Releases · MCU-ZHISHAN-IoT/HML_FwLib_STC89
V1R3
Basic Info
Date: 2020-01-29
Page: HML_FwLib_STC89 - HML - ZHISHAN-IoT
Release-version: V1R3
Require-complier: SDCC v3.6.0 or later version
Change
- Code optimize
- change location of all header files in order to avoid potential conflict, remove abolished file intrasm.h
- refactor all examples
- optimize code of TIM2 module
- refactor function
sleep
in util.c and make it be more effective and precise - update Makefile to v0.3.0, refactor all code. It supports to specify MCU model, XRAM size, CODE area size and MCU work frequency now! Besides, user can do parallel build works via
-j
option of make and use targetlibrary
to generate library file only.
- Code style improvement
- use new code comment template
- add header file hml/types.h in order to rule and unify all data types
- rename all config macro
- Docs
- update README.md
- add file AUTHORS, VERSION
- refactor style of errormap.txt
- rename log.txt as ChangeLog
V1R2
Basic Info
Date: 2019-02-04
Page: HML_FwLib_STC89 - HML - ZHISHAN-IoT
Release-version: V1R2
Require-complier: SDCC v3.6.0 or later version
Feature
- Bug fixing
- add .gitkeep file into obj directory, because Git doesn't permit user committing a empty directory
- fix bug of function
GPIO_getBitValue
in gpio.c - fix bug of example/exti/exti-toggleIo.c
- fix bug of function
UART_getBaudGeneratorInitValue
in uart.c - fix bug of function
ISP_writeByte
in isp.c - fix fatal bug in function
TIM_INT_setPriority
in tim.c
- Code style improvement
- add interrupt vector for extern interrupt 2(EXTI-2) and extern interrupt 3(EXTI-3) in stc89.h
- rename macro
MCU_MODEL
as_MCU_MODEL_
in macro.h - rename macro
__PDATA
as__PBYTE
in mem.h - rename member of enumeration type
TIM_function
,TIM2_function
andRST_bootarea
- improve header information of example source files
- optimize function
EXTI_setPriority
in exti.c - optimize function
ISP_eraseByte
in isp.c - optimize function
RST_reset
in rst.c - optimize function of
UART_switchTim
in uart.c
- Modify errormap.txt
- Rename file doc/license.txt as LICENSE
- Update Makefile to v0.1.2
What's working
- GPIO
- extern interrupt
- extern/internal bus (Intel-8080) transceiver
- ISP & on-chip memory
- timer
- UART
- watchdog
Developer
- 💝Director: Weilun Fong - wlf@zhishan-iot.tk
- Developer: Jiabin Hsu - zsiothsu@zhishan-iot.tk
- Testing: Amy Chung - zhongliguo@zhishant-iot.tk
V1R1
Basic Info
Date: 2018-10-08
Page: HML_FwLib_STC89 - HML - ZHISHAN-IoT
Release-version: V1R1
Require-complier: SDCC v3.6.0 or later version
Feature
- Bug fixing
- fix a fatal bug in uart.c, this bug can cause user can't use TIM2 as baud rate generator
- modify data type of member variable of "baudrate" in structure
UART_configTypeDef
(unsigned int
->uint32_t
)
- Code style improvement
- rename
EXTI_MOD
asEXTI_mode
in exti.h - modify function
void GPIO_configPortValue(PERIPH_GPIO gpio,unsigned char val)
asvoid GPIO_configPortValue(PERIPH_GPIO gpio,byte val)
in gpio.h - rename
INTR_PIOR
asINTR_priority
in exti.h - rename
ISP_CMMD
asISP_command
in isp.h - rename
ISP_beginAddress
asISP_ADDR_START
in isp.h - rename
ISP_endAddress
asISP_ADDR_END
in isp.h - rename function
void ISP_writeByte(unsigned int addr,unsigned char dat)
asvoid ISP_writeByte(unsigned int addr,byte dat)
in isp.h - rename function
MEM_cmd_Ale
asMEM_cmd_ale
in mem.h - rename tim, member of
UART_configTypeDef
, asbaudGenerator
in uart.h - rename
UART_MODE
asUART_mode
in uart.h - modify function
void UART_sendByte(unsigned char dat)
asvoid UART_sendByte(byte dat)
in uart.h - rename function
unsigned int UART_getTimerInitValue(uint32_t baud,PERIPH_TIM tim)
asunsigned int UART_getBaudGeneratorInitValue(uint32_t baud,PERIPH_TIM tim)
in uart.h
- rename
- File structure adjustment
- rename sample directory as example
- rename user directory as usr
- Add new data type
byte
in macro.h - Update Makefile
What's working
- GPIO
- extern interrupt
- extern/internal bus (Intel-8080) transceiver
- ISP & on-chip memory
- timer
- UART
- watchdog
Developer
- 💝Director: Weilun Fong - wlf@zhishan-iot.tk
- Developer: Jiabin Hsu - zsiothsu@zhishan-iot.tk
- Testing: Amy Chung - zhongliguo@zhishant-iot.tk
V0R1
Basic Info
Date: 2018-05-28
Page: HML_FwLib_STC89 - HML - ZHISHAN-IoT
Release-version: V0R1
Require-complier: SDCC v3.6.0 or later version
Feature
- The first release version of HML_FwLib_STC89!
- Bug fixing
- rewrite
mem.h
, fix a fatal bug! - fix fatal bug about interrupt priority
- fix a bug of function
TIM_setValue
in tim.c - fix a bug about code order in uart.c
- rewrite
- Fully support all on-chip resource of STC89 series MCU
What's working
- GPIO
- extern interrupt
- extern/internal bus (Intel-8080) transceiver
- ISP & on-chip memory
- timer
- UART
- watchdog
Developer
- 💝Director: Weilun Fong - wlf@zhishan-iot.tk
- Developer: Jiabin Hsu - zsiothsu@zhishan-iot.tk
- Testing: Amy Chung - zhongliguo@zhishant-iot.tk