--bootloader

This commit is contained in:
Mysteo91
2023-07-03 15:20:00 +03:00
parent f50f2d687e
commit 9efe6f22ab
11 changed files with 212 additions and 148 deletions

View File

@@ -38,7 +38,16 @@
/** \brief NULL pointer value. */
#define BLT_NULL ((void *)0)
typedef enum {
CRC_OK = 0,
CRC_NOT_FOUND_IN_MAIN_FLASH,
CRC_ERROR
}err_crc_t;
typedef enum {
FLASH_AREA_MAINPROG = 0,
FLASH_AREA_FULLPROG,
}flash_area_enum_t;
/****************************************************************************************
* Type definitions
****************************************************************************************/