18 lines
389 B
C
18 lines
389 B
C
#ifndef IAP_H
|
|
#define IAP_H
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
#include "main.h"
|
|
/* Exported types ------------------------------------------------------------*/
|
|
|
|
#define IAP_START_SECTOR 16
|
|
|
|
void systemReboot(void);
|
|
int iapPacketHandler(const uint8_t *packet);
|
|
void blockInBootloader(int block);
|
|
void iapThreadInit(void);
|
|
|
|
|
|
#endif // IAP_H
|