dc31-addon-addon-badge-firm.../bootloader_hk32f030m_uart_xmodem/driver/Debug/systick_delay.h
true a47cfa7fa5 Initial bootloader implementation
Took a publicly available XMODEM bootloader and made it work on HK32F.

Known issues:
- Erase is super slow on this MCU. The upload routine erases all flash before loading, which means the first packet seems to hang. This also erases possibly persistent data stored in unused pages on flash.
2023-06-25 01:41:36 -07:00

11 lines
170 B
C

#ifndef __SYSTICK_H
#define __SYSTICK_H
#include "hk32f030m.h"
void SysTick_Init(void);
void SysTick_DelayUs(uint32_t nus);
void SysTick_DelayMs(uint16_t nms);
#endif