mirror of
https://github.com/andreili/katapult.git
synced 2025-08-24 03:44:06 +02:00
Move application_check_valid() in bootentry.c to armcm_boot.c and make the check specific to the ARM cortex-m. On these ARM machines it is easier to validate the application stack address. Also rename jump_to_application() to application_jump(). Also rename flash_read_block() to application_read_flash() and move to armcm_boot.c . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
11 lines
199 B
C
11 lines
199 B
C
#ifndef __STM32_FLASH_H
|
|
#define __STM32_FLASH_H
|
|
|
|
#include <stdint.h>
|
|
|
|
uint32_t flash_get_page_size(void);
|
|
void flash_complete(void);
|
|
void flash_write_page(uint32_t page_address, void *data);
|
|
|
|
#endif
|