katapult/src/stm32/flash.h
Kevin O'Connor 7287670002 flash: Move page handling from flashcmd.c to flash.c
Allow the low-level board code to handle each flash page.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-16 19:21:51 -04:00

10 lines
167 B
C

#ifndef __STM32_FLASH_H
#define __STM32_FLASH_H
#include <stdint.h>
int flash_write_block(uint32_t block_address, uint32_t *data);
int flash_complete(void);
#endif