Skip to content

Releases: MCU-ZHISHAN-IoT/HML_FwLib_STC89

V1R3

30 Jan 05:26
Compare
Choose a tag to compare

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 target library 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

05 Feb 14:22
Compare
Choose a tag to compare

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 and RST_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

V1R1

05 Feb 08:12
Compare
Choose a tag to compare

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 as EXTI_mode in exti.h
    • modify function void GPIO_configPortValue(PERIPH_GPIO gpio,unsigned char val) as void GPIO_configPortValue(PERIPH_GPIO gpio,byte val) in gpio.h
    • rename INTR_PIOR as INTR_priority in exti.h
    • rename ISP_CMMD as ISP_command in isp.h
    • rename ISP_beginAddress as ISP_ADDR_START in isp.h
    • rename ISP_endAddress as ISP_ADDR_END in isp.h
    • rename function void ISP_writeByte(unsigned int addr,unsigned char dat) as void ISP_writeByte(unsigned int addr,byte dat) in isp.h
    • rename function MEM_cmd_Ale as MEM_cmd_ale in mem.h
    • rename tim, member of UART_configTypeDef, as baudGenerator in uart.h
    • rename UART_MODE as UART_mode in uart.h
    • modify function void UART_sendByte(unsigned char dat) as void UART_sendByte(byte dat) in uart.h
    • rename function unsigned int UART_getTimerInitValue(uint32_t baud,PERIPH_TIM tim) as unsigned int UART_getBaudGeneratorInitValue(uint32_t baud,PERIPH_TIM tim) in uart.h
  • 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

V0R1

05 Feb 09:03
Compare
Choose a tag to compare

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
  • 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