mirror of https://github.com/wolfSSL/wolfBoot.git
14 lines
308 B
C
14 lines
308 B
C
#ifndef H_HAL_
|
|
#define H_HAL_
|
|
|
|
|
|
#include <inttypes.h>
|
|
void hal_init(void);
|
|
int hal_flash_write(uint32_t address, const uint8_t *data, int len);
|
|
int hal_flash_erase(uint32_t address, int len);
|
|
void hal_flash_unlock(void);
|
|
void hal_flash_lock(void);
|
|
void hal_prepare_boot(void);
|
|
|
|
#endif /* H_HAL_FLASH_ */
|