mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
Support building a "flashing application" that one may run from an existing bootloader. This flashing application will then flash the main CanBoot binary to the start of flash. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
13 lines
297 B
C
13 lines
297 B
C
#ifndef __DEPLOYER_H
|
|
#define __DEPLOYER_H
|
|
|
|
#include <stdint.h> // uint8_t
|
|
|
|
int deployer_is_active(void);
|
|
|
|
// Code in out/canboot_payload.c generated by scripts/buildbinary.py
|
|
extern const uint8_t deployer_canboot_binary[];
|
|
extern const uint32_t deployer_canboot_binary_size;
|
|
|
|
#endif // deployer.h
|