1 | #ifndef BOOTLOADER_H_
|
2 | #define BOOTLOADER_H_
|
3 | |
4 | #include <avr/io.h> |
5 | #include <avr/boot.h> |
6 | |
7 | //void (*start)( void ) = 0x0000;
|
8 | |
9 | |
10 | void init_bootloader(); |
11 | void program_page(uint32_t page, uint8_t *buf); |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | #endif
|
|
|
Bootloader.h
|
|